yashsingh1/xdaforums huggingface dataset:
[Nook Color Android Development] pmgnet:
Ok, thanks... This is maybe where things are failing first for me with the first notable issues?

after 'breakfast encore'; cd device/bn/encore; ls ;

I don't have any install-files.sh. I have unzip-files.sh though.

below is what I get from 'breakfast encore'. Any idea why I'm not getting the 'install-files.sh' ? Maybe I have something wrong in one of my config files?

~/android/system $ breakfast encore
including vendor/cm/vendorsetup.sh
Trying dependencies-only mode on a non-existing device tree?

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.2
TARGET_PRODUCT=cm_encore
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.2.0-23-generic-x86_64-with-LinuxMint-13-maya
HOST_BUILD_TYPE=release
BUILD_ID=JZO54K
OUT_DIR=/media/AndroidBuild/android/system/out
============================================

I thought I should post my android/system/.repo/ folder contents and the manifest.xml just in case.

drwxr-xr-x 2 4096 Jan 13 20:46 backups
drwxr-xr-x 2 4096 Jan 9 22:26 local_manifests
drwxr-xr-x 3 4096 Jan 9 22:10 manifests
drwxr-xr-x 9 4096 Jan 8 20:46 manifests.git
lrwxrwxrwx 1 21 Jan 9 23:17 manifest.xml -> manifests/default.xml
-rw-r--r-- 1 6777 Nov 5 2012 project.list
drwxr-xr-x 41 4096 Jan 8 21:28 projects
drwxr-xr-x 7 4096 Jan 9 22:53 repo

mainfest.xml --> http://pastebin.com/mbqTktsx
[Nook Color Android Development] newellj79:
Wow, I didn't realize it had built. Thank you! I had already taken the urecram and urecimg from the link posted on this page and pushed them to /boot. It boots to the new recovery fine but I haven't flashed yet. This won't work? I should go back and mkdir thru adb shell like u posted?
[Nook Color Android Development] polymath257:
Do you have, perhaps, extract-files.sh? You can use that to extract from a usb-connected device.
[Nook Color Android Development] newellj79:
Whoops
[Nook Color Android Development] pmgnet:
I do! and will try!
[Nook Color Android Development] polymath257:
You should be fine. There are a couple of ways of installing recovery. As long as the recovery is compatible, you should be good to go.

---------- Post added at 09:04 PM ---------- Previous post was at 09:03 PM ----------

I use the gapps from this link

http://xdaforums.com/showthread.php?t=2397942

If you do an emmc install, you should probably use the mini modular version for space reasons.
[Nook Color Android Development] newellj79:
So i finally installed the rom i compiled along with these recomended gapps. everything is working great including wifi, except when i try to open google play and add my existing account it says cant connect to google servers. any ideas pleasE?
[Nook Color Android Development] bowguy:
Delete your google account in settings -> accounts Then add it back.
[Nook Color Android Development] newellj79:
That's the thing, I can't add it because it doesn't connect to Google servers.
[Nook Color Android Development] bowguy:
Odd. I had the same error before and that is what fixed it. Did you try to add the account or just assume it wouldn't work because Play Store couldn't connect?
[Nook Color Android Development] newellj79:
That is what it says when I try to add a Google account too. What happens didnu use. I used the pa mini modular.
[Nook Color Android Development] bowguy:
I used the ones from dhacker - both art enabled and not
[Nook Color Android Development] unibroker:
Still trying to figure out why

/encore_cm11_defconfig

is missing from my arm directory. That directory holds

/encore_cm10.1_defconfig

added last Saturday evening (I haven't built CM10.1 for months). It has to have screwed up while misapplying drmarble's suggested cherrypicks. All I want is to see how effective ART is! Then I'll shrink back into the shadows.
[Nook Color Android Development] gravitysandwich:
I would try checking md5's and clean flashing (remember to wipe system data blah blah blah) and if that doesn't work search xda for different gapps. I used the official cm11 gapps. I didn't really add an account (yet) so I wouldn't know. This is just what I would do.
[Nook Color Android Development] newellj79:
Well I tried to restore my cm7 backup with the new recovery. It didn't work and now my tablet is stuck at cyanboot menu, and won't even boot back into recovery. Once I get that figured out i will try to flash cm11 with the gapps straight from cm and see if that makes a difference.
[Nook Color Android Development] drmarble:
ART observations

I have tried out art (disabling boot animation) and it works. I use the 1119 gapps. I don't notice any major changes is functionality. It is still very slow. The quadrant scores do go up but there is no change in antutu. I do get google sound search for google play has stopped but I don't know the exact cause.

The biggest problem is the time it takes to optimize apps. I expected it on the first boot, 30 minutes. What I didn't expect was it to take 40 minutes after flashing a new rom. If there are major changes then it rebuilds the whole cache and it takes 40 minutes to boot up with 134 apps. If I didn't reflash alot, this wouldn't be a problem. But, I do build and flash alot (that's why I'm on cm-11.0). I'm switching back to dalvik. Any increased speed isn't worth the boot time. Once I get a stable cm-11.0 build I'll try art again.

As a side note. I may be moving this to bedside duties. I might go back to cm-7.2. Is Mirage still the recommended version? Or maybe I'll just use cm-10.2 for the better button support. I'll just be listening to internet radio and podcasts, maybe an occasional videlo. Thanks for any advice.
[Nook Color Android Development] unibroker:
Mirage was always my fallback ROM when I was looking for stability and responsiveness.
[Nook Color Android Development] gravitysandwich:
Alright. Here's a link to a thread by leapinar to help you create a cwm sd bootable recovery.

http://xdaforums.com/showthread.php?t=1621301

Oh and it would be awesome if he made the new cwm 6.0.45 recovery boot off an SD card. Make my life a bit easier when restoring a nook
[Nook Color Android Development] newellj79:
Thank you so much! I'm in a real jam!

PS... Thanks a million! I now have a working recovery again!
[Nook Color Android Development] Little-Boy-Lost:
Firstly thank you all for your time and effort in making this available for such a device. It makes it the perfect device to learn everything on.

Using all your hints and tips in this thread I've managed to build CM11 using all the source and patches posted here.

I've got one strange issue, the launcher loads with no icons and only one page. When I look at the default XML (or what I think the default XML is) I see that there should be more than one page with various icons and widgets on. Mine is just blank with the app drawer icon at the bottom. I can add icons and then after that it will allow me to add another page but on first boot after factory reset there's just a single blank page.

I synced source this morning before I started so I think I'm up to date. Is this a bug or am I doing something wrong?

Any advice gratefully received

Thanks

LBL
[Nook Color Android Development] unibroker:
Have you flashed the appropriate gapps? For widgets long press anywhere on the Home screen.
[Nook Color Android Development] Little-Boy-Lost:
As far as I can see I had flashed gapps that had worked for others. I remove google home. But even I don't flash gapps at all I still end up with a blank launcher. Like I mentioned, I can put widgets and icons on the screen without a problem. It's just totally blank with only one page when I first start up after a factory reset.

Anybody got any further ideas?
[Nook Color Android Development] newellj79:
For what its worth the gapps package I was using must have been the culprit for not being able to connect to Google servers. That was mini modular PA. After flashing the gapps from the cm website everything was a go!
[Nook Color Android Development] Little-Boy-Lost:
Little update on my issue, I discovered that if you change the default icon layout via the XML files, as you add icons it messes up. So default icon layout works, add a few icons and it starts to go wrong...
[Nook Color Android Development] polymath257:
OK, I've done a few builds and would like to now go to the next step. For example, some of the other tablets (including the Nook HD+) have CM versions that allow multiple user accounts. is this possible with the NC? What needs to be done to make this happen? Which code do I need to pull?
[Nook Color Android Development] steven676:
Getting the basics to work is really simple -- it's a one-line change (I forget the details, they're floating around here) to build.prop (device/bn/encore/system.prop if you're building from source).

Getting the feature to work in a manner that's compliant with the Android Compatibility Definition Document is considerably more difficult, because the CDD requires that multiuser devices have private per-user primary external storage areas. That would require repartitioning to move to a new-style layout with emulated external storage or implementing per-user encryption on the external storage. Given that fact, and the hardware limitations on encore, multiuser isn't a high priority for me at the moment.
[Nook Color Android Development] polymath257:
Thanks. For my purposes, I don't require the security between users to that degree. I did a google search and found that the fw.max_users

variable is the relevant one. Looks like I will be playing with this a bit.
[Nook Color Android Development] drmarble:
fix for wifi MAC address and reconnection after sleep

I have not been able to see the MAC address with cm-11.0. It doesn't bother me but I understand that some folks have trouble with firewalls and secure networks. By using the ti wpa_supplicant we are able to get it. This also allows me to automatically reconnect to wifi after sleeping. I had to toggle wifi to get it to reconnect before.

edit this isn't needed. The repo has been merged into the standard manifest.

[You will need to copy the repository:

https://github.com/CyanogenMod/android_external_wpa_supplicant_8_ti/tree/cm-11.0

into the directory:

external_wpa_supplicant_8_ti

I should be able to give details on just how to do this but I think my git cloning method is not the cleanest. I'm still a git amateur. You could also add it to roomservice.xml. Or get the zip file and expand it in that directory. You just need those files in there.]

All you have to do is edit BoardConfig.mk and change:

WPA_SUPPLICANT_VERSION := VER_0_8_X

to:

WPA_SUPPLICANT_VERSION := VER_0_8_X_TI

and add the line:

BOARD_WIFI_SKIP_CAPABILITIES := true

This is all included in my patch file:

https://gist.github.com/drmarble/8468021
[Nook Color Android Development] polymath257:
When I added the line to my roomservice.xml, the repo sync complained of a duplicate from the manifest.xml. Can I assume that the files in external/wpa_supplicant_8_ti are correct alreadya nd that I only need the changes to the BoardConfig.mk?

---------- Post added at 06:48 AM ---------- Previous post was at 06:44 AM ----------

Just an update to my exploration of this.

The fw.max_users variable allows multiple users, but doesn't have any framework widgets to actually allow switching users (except for

the initial set-up of a new user). This post has a few recommendations. I will probably be exploring this more this weekend.

http://xdaforums.com/showthread.php?t=1999383
[Nook Color Android Development] newellj79:
After a few days of use I really like cm11 on encore. That said the web browsing experience sucks. Very slow. Does anybody have remedy tips? Thanks again to all the devs for this and for teaching me how to build it myself!
[Nook Color Android Development] drmarble:
The wpa_supplicant_8_ti repo has been added to the official manifest so you don't have to do anything to add it. It got added last night.

All you have to do is apply the patch to your device/bn/encore directory or edit your Boardconfig.mk file.

Good luck.
[Nook Color Android Development] unibroker:
The Chrome browser has always been intolerably slow for me which is why I stick with the stock browser that comes with gapps.
[Nook Color Android Development] hwong96:
Enabling Multiuser on Nook Color

:good:

Check out my post in the CM10.1 stable thread on how to make the multiuser switches stick on reboots.:)
[Nook Color Android Development] polymath257:
Thanks. I was being an idiot. Anyone else have problems when working with more than one device? Anyway, I got it to work the way I need it to, after a simple addition to build.prop

In case anyone else cares, the procedure is as follows:

Get a shell (terminal emulator, adb shell, whatever)

Then do

$ su

# mount -o rw,remount /system

(this mounts the system directory as read-write)

# cd /system

# echo fw.max_users=4>>build.prop

(this says that the maximum number of users is 4--change as desired)

# mount -o ro,remount /system

(this puts system back to read-only mode.

Now, do a reboot and add users as desired (under settings>users). THIS DOES NOT GIVE SECURITY BETWEEN USERS!
[Nook Color Android Development] hwong96:
I added verbage for adding security for each user's storage and limiting superuser to owner only or owner managed in my CM10.1 post. Each user can use an encryption app and encrypt their folder on external SD. I use SSE encryption app- free and no ads.
[Nook Color Android Development] meteorrock:
Guys, Do you have a completed manifest for our encore with the latest bug fixes? I got this error on building. I am still learning on how to patch my manifests with this device. <steven676> do you have one? Thanks. Anyone? Breakfast encore failed on me.

meteorrock@ubuntu:~/android/system$ source build/envsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/goldfish/vendorsetup.sh
including device/generic/mips/vendorsetup.sh
including device/generic/x86/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/bash_completion/git.bash
including vendor/cm/bash_completion/repo.bash
meteorrock@ubuntu:~/android/system$ breakfast encore -j4
including vendor/cm/vendorsetup.sh
ls: cannot access device/*/encore/cm.mk: No such file or directory
build/core/product_config.mk:233: *** Can not locate config makefile for product "cm_encore". Stop.
Device encore not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_bn_encore
Default revision: cm-11.0
Checking branch info
Default revision cm-11.0 not found in android_device_bn_encore. Bailing.
Branches found:
cm-10.1
cm-10.1-staging
cm-10.2
gb-release-7.2
gingerbread
gingerbread-release
jellybean
cm-10.2-M1
cm-10.1.3-RC2
cm-10.1.3-RC1
cm-10.1.3.1
cm-10.1.3.0
cm-10.1.3
cm-10.1.2
cm-10.1.1
cm-10.1.0-RC5
cm-10.1.0-RC4
cm-10.1.0-RC3
cm-10.1.0-RC2
cm-10.1.0-RC1
cm-10.1.0
cm-7.1.0
cm-7.0.3
cm-7.0.2.1
cm-7.0.1
cm-7.0.0
Use the ROOMSERVICE_BRANCHES environment variable to specify a list of fallback branches.
ls: cannot access device/*/encore/cm.mk: No such file or directory
build/core/product_config.mk:233: *** Can not locate config makefile for product "cm_encore". Stop.

** Don't have a product spec for: 'cm_encore'
** Do you have the right repo manifest?

~~~~~~~~~~~~~~~~~~~~~~

Here is my work down in cyanogenmods nook color forums on what I am doing if you are interested. http://forum.cyanogenmod.com/topic/86145-cm-11-kitkat-code-now-availible-for-the-nook-color/

Repo version v1.12.7 is current
[Nook Color Android Development] hwong96:
When you type adb devices in Ubuntu terminal do you see your device? Output should look like this

hubert@hubert-Qosmio-F55:~$ adb devices

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

List of devices attached

2010730143412008	offline

hubert@hubert-Qosmio-F55:~$ adb devices

List of devices attached

2010730143412008	offline

hubert@hubert-Qosmio-F55:~$ adb devices

List of devices attached

2010730143412008	device

hubert@hubert-Qosmio-F55:~$
[Nook Color Android Development] meteorrock:
Thanks. I thought you were to interface with the nook color later during the . build/envsetup.sh" process. Let me interface with it first and rerun breakfast.
[Nook Color Android Development] hwong96:
If you still encounter the same error, try repo sync again. Are you using roomservice.xml? Which repo-NookieDevs or steven676?
[Nook Color Android Development] meteorrock:
Yeah, repo sync completed at 100 percent here. I will try to pull from <steven676> repo instead of the encore branch. I forgot that step too, they probably do not have this build at the >-- head of the encore branch yet. I will add the url to the repo init -u right? Let me try again.

I am no...e head of the encore branch? Correct? Thanks.
[Nook Color Android Development] unibroker:
This fattire post, even though for the Nexus 7, should be helpful http://xdaforums.com/showpost.php?p=47172898&postcount=1574. BTW, I used the repo init line you mention in your post and my builds have been successful with the proper references to Steven676 repo made in roomservice.
[Nook Color Android Development] polymath257:
Before you do the repo sync, put the roomservice.xml into .repo/local_manifests. Here are two possibilities:

NookieDevs:

<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<project name="NookieDevs/android_device_bn_encore" path="device/bn/encore" remote="github" revision="cm-11.0" />

<project name="CyanogenMod/android_kernel_bn_encore" path="kernel/bn/encore" remote="github" revision="encore-omap3-3.0.y" />

</manifest>

stephen676:

<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<project name="steven676/android_device_bn_encore" path="device/bn/encore" remote="github" revision="cm-11.0" />

<project name="steven676/ti-omap-encore-kernel3" path="kernel/bn/encore" remote="github" revision="encore-omap3-3.0.y" />

<project name="steven676/android_hardware_ti_omap3" path="hardware/ti/omap3" remote="github" revision="cm-11.0" />

</manifest>

Then, after the

repo sync

do

source build/envsetup.sh

from the base directory (android/system in the usual tutorials) and the

breakfast encore

command should work and construct the device/bn/encore directory. Then, verify that adb can connect to your attached

nook and run

./extract-files.sh

from that directory to get the proprietary files. This command uses adb to extract the files, so if adb fails, so will the extraction.

Finally, go back to the base directory and do

brunch encore

to build.

---------- Post added at 01:04 PM ---------- Previous post was at 01:01 PM ----------
[Nook Color Android Development] meteorrock:
Thanks everyone for your help. I understand now. Let me take another look at that roomservice.xml in the .repo. :D
[Nook Color Android Development] polymath257:
So, I was able to get multiple accounts to work. Useful when I want to use the Nook app for both me and my wife :)

I noticed that the second user cannot initiate a bluetooth connection. Situation:

Second user in settings, attempts to turn on bluetooth. it looks like it is 'trying' for a few seconds and then turns off again.

if the bluetooth was initially turned on by the primary user, it is turned off again when the conversion to the second user is done.
[Nook Color Android Development] Arbelzapf:
Does anyone know how to enable OC to 1200mhz?
[Nook Color Android Development] drmarble:
edit arch/arm/configs/encore_cm11_defconfig

go to lines 345,346 and edit these lines:

CONFIG_ENCORE_MPU_1100MHZ=y

# CONFIG_ENCORE_MPU_1200MHZ is not set

to:

# CONFIG_ENCORE_MPU_1100MHZ is not set

CONFIG_ENCORE_MPU_1200MHZ=y

rebuild and you're done.

edit, sorry, I gave the answer for 10.2. My brain slipped. It's been fixed.
[Nook Color Android Development] Arbelzapf:
No problem, I managed to figure that out myself ;)

Thank you very much.

My build runs really really well, but it seems that games built with Unity seem to dislike the 1200mhz setting since they FC immediately. When overclocking after launching the game, graphical glitches occur. I play more Tower of Saviors than I think is healthy, so I'll probably rebuild a regular 1100mhz now. Too bad :cyclops:
[Nook Color Android Development] andtron:
Anyone know the major difference between the NookieDevs and Steven's trees at Github?

TIA.

I got this error while during my build (using Steven's tree), could anyone help or should I start from scratch again?

root cause:

*** Can't find default configuration "arch/arm/configs/encore_cm11_defconfig"!

--------------------------

target Prebuilt: init.rc (/home/xxxx/android/system/out/target/product/encore/obj/ETC/init.rc_intermediates/init.rc)

make -C kernel/bn/encore O=/home/xxxx/android/system/out/target/product/encore/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/xxxx/android/system/prebuilts/misc/linux-x86/ccache/ccache /home/xxxx/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= encore_cm11_defconfig

make[1]: Entering directory `/home/xxxx/android/system/kernel/bn/encore'

Copying: /home/xxxx/android/system/out/target/common/obj/JAVA_LIBRARIES/framework-base_intermediates/classes.jar

Copying: /home/xxxx/android/system/out/target/common/obj/JAVA_LIBRARIES/android-support-v4-froyo_intermediates/classes.jar

target arm C++: libandroid_runtime <= frameworks/base/core/jni/android/graphics/Bitmap.cpp

target thumb C++: libandroid_runtime <= frameworks/base/core/jni/android_view_HardwareRenderer.cpp

target thumb C++: libandroid_runtime <= frameworks/base/core/jni/android_view_GLES20DisplayList.cpp

target thumb C++: libandroid_runtime <= frameworks/base/core/jni/android_view_GLES20Canvas.cpp

target thumb C++: libandroid_runtime <= frameworks/base/core/jni/android/graphics/ColorFilter.cpp

target thumb C++: libandroid_runtime <= frameworks/base/core/jni/android/graphics/Matrix.cpp

target thumb C++: libandroid_runtime <= frameworks/base/core/jni/android/graphics/NinePatch.cpp

GEN /home/xxxx/android/system/out/target/product/encore/obj/KERNEL_OBJ/Makefile

***

*** Can't find default configuration "arch/arm/configs/encore_cm11_defconfig"!

***

make[3]: *** [encore_cm11_defconfig] Error 1

make[2]: *** [encore_cm11_defconfig] Error 2

make[1]: *** [sub-make] Error 2

make[1]: Leaving directory `/home/xxxx/android/system/kernel/bn/encore'

make: *** [/home/xxxx/android/system/out/target/product/encore/obj/KERNEL_OBJ/.config] Error 2

make: *** Waiting for unfinished jobs....
[Nook Color Android Development] drmarble:
You need to make sure you are getting the correct branch from steve676's kernel repo. It looks like you are using the cm kernel branch which doesn't know about cm-11.

https://github.com/steven676/ti-omap-encore-kernel3/commits/encore-omap3-3.0.y

That is just for the name and web page. your specific line in roomservice.xml should be different (doesn't say commits for example).

good luck.
[Nook Color Android Development] andtron:
Thanks, drmarble.

I finally build the cm11 successfully, now can't wait to load it on my NC.:laugh:
[Nook Color Android Development] polymath257:
This is more a question about git and repo than specifically about the NC, but people are friendly enough around here that I thought I would ask.

Suppose I make some changes (my specific case is to fstab.encore) that I realize many or most people do not necessarily want, and so I don't think they need be put in the repositories. But I like to have them on my system.

The problem comes when I do my next repo sync. The changes are overwritten. And I can see why they would be, but I do like them. Is there a variant of the repo command to keep my local changes? Or, suppose I have a branch with those changes. I know I can merge after I do the repo sync, but is that my only option? Do I need to put something in my roomservice, perhaps?

Any suggestions?

Still learning.