yashsingh1/xdaforums huggingface dataset:
[Nook Color Android Development] keyodi:
You can try creating a service in the ramdisk similar to this:

Add the follow to the init.encore.rc. I haven't tried this myself, so I don't know if it works.

# Create swap at start-up

service createswap /system/bin/swapfile.sh

class core

user root

group root

oneshot
[Nook Color Android Development] fattire:
So if you're using the new kernel/wifi combo (2.6.32.59), don't use interactivex governor or you'll have sleep problems. I just switched to conservative and now mine is working 100%. (let it sleep overnight, came back today and it woke up with the same battery as when it slept)...
[Nook Color Android Development] TheValk:
I've been using conservative with excellent results too. A little lag when typing this, but I don't think its the governor's fault.
[Nook Color Android Development] mindwave:
contacts and ICS4?

Guys

I love this rom, but since I dont use a nook everyday, its my bro's, in my honeycomb gtab and 2.2 nook (wifes) there is a seperate icon for contacts

I have 2 NC's with ics on it, and neither has a contact button

did I miss something in the install?

I added the gapps piece after the main rom so I thoiught I had it all

any and all ideas woud be appreciated.

thansk
[Nook Color Android Development] ziggy34:
In ICS contacts are now People. So just look for the People app.
[Nook Color Android Development] mindwave:
ziggy you da bomb

thanks
[Nook Color Android Development] Nburnes:
See the button that says "Thanks"?

This is why we have it.
[Nook Color Android Development] ziggy34:
Heck with thanks, I'm da bomb.
[Nook Color Android Development] stolenmoment:
Thanks! I'll fiddle with this. Of course, that doesn't survive flashing, does it? Are you gonna make me learn to make a flashable zip?
[Nook Color Android Development] stolenmoment:
If Conservative can deep sleep, I'll give it a try. I had been using Ondemand (it seems to kick the CPU up more, according to CPU Spy), but I got two SODs yesterday.
[Nook Color Android Development] KingJL:
WIFI SOD vs 2.6.32.59

I have been running eyeballer 03222012 non-opengl and the wifi-SOD-patch for 2 1/2 weeks with zero SOD's (wifi or otherwise). I just upgraded to eyeballer 04082012 non-opengl and Fattire's 2.6.32.59 kernel. I encountered a wifi SOD within 3 hrs.

I will try it again to see what happens. If it happens again, I will apply the WiFi-SOD-patch and see what happens.

My cpu performance setting is/was 'Conservative"

My Keep WiFi on during sleep is/was "Always"
[Nook Color Android Development] KingJL:
WiFi SOD again. Applying WiFi-SOD-patch.

edit: Don't do that... It makes Wifi inoperable. The WiFi-SOD-Patch seems to be incompatible with Fattire's 2.6.32.59 kernel.

I am now re-installing eyeballer's 04081012 and holding back on Fattire's kernel.
[Nook Color Android Development] numus:
That explains a lot.. Can the new kernel be mentioned in the OP?
[Nook Color Android Development] shumash:
Broken Build

Help please:

make: *** No rule to make target `out/target/product/encore/obj/lib/crtbegin_static.o', needed by `out/target/product/encore/obj/EXECUTABLES/init_intermediates/LINKED/init'. Stop.

Trying to get my first build on Ubuntu 11.10, and I got this far (after hours)
[Nook Color Android Development] racks11479:
Need more than that, please post a logcat to pastebin.com
[Nook Color Android Development] eyeballer:
Quick note for those building at home: A few weeks ago fattire/keyodi removed "0 0 android" from egl.cfg in an effort to stabilize the opengl builds, while we all sync our /device repo and egl.cfg is correct there, the make system actually seems to overwrite it in /out with the egl.cfg that we first pulled from our devices using extract-files.sh. This egl.cfg lives in /vendor/bn/encore/proprietary. So be sure to copy the updated version over to /vendor.

This explains why both Samiam303's and my builds have "0 0 android" still present.
[Nook Color Android Development] cpkroboth:
I am having the same issue... Would love to hear some input.
[Nook Color Android Development] leapinlar:
It is the kernel mod made on 2/2 that is causing the problem. If you read his followup post, you will see keyodi sent him the pre-2/2 kernel and he tested it with the latest build and the phone mode went away.
[Nook Color Android Development] BitingChaos:
Thanks
[Nook Color Android Development] tonyp:
Don't troll please, particulary in the dev section.

He's absolutely right, you should use the thanks button, what point are you trying to proof?
[Nook Color Android Development] stolenmoment:
I just got an SOD with Conservative, after running just fine with it for a couple of days.

*sigh*
[Nook Color Android Development] keyodi:
An update Part 2

Here's our second attempt at releasing the 2.6.32.59 kernel!

What's New

updated accelerometer driver - not sure if this fixes anything, but newer is better right?

reverted the omaplfb files - should fix apps not displaying in the tablet UI

modified wifi module - fix SOD or at least less SOD, i hope

latest cyanoboot

That's it folks! Again, you have 24 hours to register your complaints, otherwise we're pushing the new kernel. The timer starts now!

update-encore-kernel-2.6.32.59-take2.zip

md5: f6ba392f3c868783deadb0f85952c88d

(source for kernel-- see the cyanoboot thread for cyanoboot source)

Note: Yes, the keyboard is now smaller, however it's the same size as it was in sneekpeek 1 and 2 or prior to us updating the pvr drivers

WARNING AS USUAL, YOU USE THIS ENTIRELY AT YOUR OWN RISK. SEE ALL APPLICABLE DISCLAIMERS IN THE GPL AND ELSEWHERE IN THIS THREAD.
[Nook Color Android Development] fattire:
..but wait, there's more!

And the "special" cyanoboot comes by way of j4mmer! It's just a temp thing to play with while we figure out what the right orientation should be as well as other questions.

Check out the link above and join in the discussion!
[Nook Color Android Development] cpkroboth:
Yes.. I did find the follow up post.

Also Running the 2.6.32.59 Rom with non openGL rom, and a 64Meg swap file. My nook is stable and the speed is equal to CM7.1 nightly 253.

I am not a modder or coder, so the work you all do is amazing to me.

---------- Post added at 11:57 AM ---------- Previous post was at 11:41 AM ----------

Installed, and first thing I notice. I can no longer long press keyboard for ALT entry of Numbers and punctuation.
[Nook Color Android Development] chilre:
Aldiko still appears in a phone UI when using this kernel. Thought I might have not deleted some settings file, so did a fresh install on a sd card. It still didn't load with the tablet UI. Not sure if this is the case only with Aldiko.
[Nook Color Android Development] BitingChaos:
Is this forever CM9-only, or is it compatible with CM7?
[Nook Color Android Development] BobbyBest:
Whats wrong with CM7 kernel? Why would you need the CM9 Kernel?
[Nook Color Android Development] eyeballer:
I haven't had time to test, but various users reporting deep sleep not working with this iteration: http://xdaforums.com/showthread.php?p=24682101#post24682101
[Nook Color Android Development] stolenmoment:
Works for me -- 8x3 shelf grid in landscape, 5x5 in portrait.

I do have qemu.sf.lcd_density=160 in /data/local.prop, do you?
[Nook Color Android Development] stolenmoment:
The Thumb keyboard doesn't have this problem.
[Nook Color Android Development] numus:
From Aldiko's own website... If the screen size is 7 inches or smaller it will only display in phone ui... you would have to modify the screen size (or possibility the resolution) to get it to display in tablet ui..

https://aldiko.zendesk.com/entries/21240258-why-i-cannot-access-menu-on-my-7-inch-tablet
[Nook Color Android Development] Jasper_Ward:
Thats the very reason I switched to Mantano, then they added cloud sync... but thats probably for another forum, as far as I can tell with my own attempts aldiko premium won't work correctly no matter what I do, but aldiko free will go into a tablet mode without any changes in CM9,
[Nook Color Android Development] KingJL:
I have been running eyeballer 04092012 non-opengl and. 59-take2 for 6 hrs... Getting plenty of deep sleep (83%). cpu performance set to "conservative", WiFi always on, K-9 mail syncing every 30 min.
[Nook Color Android Development] Nburnes:
Deep sleep is working fine for me.
[Nook Color Android Development] envied:
deep sleep is working for me with new kernel and 4/3 opengl nightly

also the 123 button works on regular keyboard to allow typing for number keys
[Nook Color Android Development] stolenmoment:
The new kernels (so far) get deep sleep only when out of WiFi range.

The old kernel could get deep sleep even with WiFi attached, while charging overnight.
[Nook Color Android Development] stolenmoment:
That explains it; I'm running the free version.
[Nook Color Android Development] stolenmoment:
XClinometer is still rotated, not that it really matters, it's so noisy (jittery) as to be useless, but it's fun.
[Nook Color Android Development] bornagainpenguin:
Does there have to be anything wrong to want to play with the new shiney? And with Linux kernels usually newer means better, so people are curious about what the performance would be if it was installable.
[Nook Color Android Development] leapinlar:
To answer your question, I do not think it would work properly on CM7. For one thing, the graphics rotation is wrong for it.
[Nook Color Android Development] frankusb:
That could probably be fixed now. See here.
[Nook Color Android Development] bornagainpenguin:
That was bitingchaos' question, but I thank you just the same.

You mean this?

Hmmm... Thanks. I'll look at it, no guarantee if I get in over my head.
[Nook Color Android Development] leapinlar:
Yes, in CM7, one could probably remove the build.prop line and use the CM9 kernel and the rotations would be OK. But there may be other changes in the CM9 kernel that make it incompatible with CM7.
[Nook Color Android Development] frankusb:
In CM7, mrg666 went down the path of trying to be compatible by removing ro.sf.hwrotation, and it resulted in lots of compatibility problems, much like the CM9 users are seeing. Once CM7 rotation animation observed ro.sf.hwrotation, all changes were backed out.

Frank

---------- Post added at 10:26 AM ---------- Previous post was at 10:24 AM ----------

I'll be happy to review code changes or point you to what I think changed. I'm not running CM9 but at the time, I isolated the changes from CM9 to apply to CM7.

Frank
[Nook Color Android Development] stolenmoment:
Just got a freeze with the take2 kernel, today's non-opengl nightly. Screen on, statusbar clock stopped, no response to any input, lower right of the case notably warm.
[Nook Color Android Development] KingJL:
Do you have Force GPU rendering checked in Setting->Developer settings? If you do, you WILL get occasional freezes. Until there is a better graphics driver, I would suggest NOT using hardware acceleration/rendering.

Current configuration:

eyeballer 04092012, .59-take2, Wifi always on (and connected), cpu performance "Conservative", K-9 Mail syncing every 30 min, no SOD's/no freezes to date.
[Nook Color Android Development] keyodi:
What were you doing prior to the freeze? Was Wifi on? Which governor are you using? OC'd?

I agree w/ KingJL. Don't use Force GPU rendering on non-opengl builds, if it's enable. It actually makse 2d rendering slower and unstable.
[Nook Color Android Development] stolenmoment:
WiFi always on, public AP connected. Terminal Emulator was onscreen, but had been idle for a short while, Thumb keyboard showing. K9 was in the background, I don't know if it was active at the moment. Conservative, steps 400/800/1000/1100/1200. 128M swapfile on /emmc. SanDisk 16G inserted.

Mine's turned off.

EDIT: I was also plugged in to AC, if that might matter.
[Nook Color Android Development] SeaFractor:
Here's my report with the newest Kernel, the 4/11 eyeballer build and a 256MB swap file.

Currently working very solidly and just returned from a task that was over 4 hours to find that deep sleep had worked very well while connected to my Wi-Fi.

In case it helps to track the Wi-Fi/deep sleep issues, I have a linksys WRT160N with WPA2/AES encryption for the Wireless.

Most stable to date in my opinion and testing.
[Nook Color Android Development] szemettelep:
where do I fing the latest gapps

where do I find the latest gapps for update-encore-201204..> 11-Apr-2012 01:33 117M ?

Thank You!
[Nook Color Android Development] neuroval:
http://goo.im/gapps
[Nook Color Android Development] SeaFractor:
My understanding is that the Nook doesn't go into deep sleep during charges. I have never had deep sleep during charging even with CM7.

---------- Post added at 01:43 PM ---------- Previous post was at 01:34 PM ----------

Interesting, I had not tried this with CM9 because it didn't work with CM7.

I would have to turn off the sound because it would perform notifications throughout the night even though the screen was off.

I would have to power off while connected. CM9 would keep powering back on, so I just ignored it.

I'll have to test for this and see if it improved.

Separate topic, I had performed a complete wipe and found that your swap script would fail until I had created a blank fstab file. It would say read only even as SQ.
[Nook Color Android Development] szemettelep:
Thank You Very Much!!!
[Nook Color Android Development] frankusb:
Settings/CyanogenMod settings/Sound/Quiet hours in CM7. Has this changed in CM9?

Frank
[Nook Color Android Development] J515OP:
Its there but there are no "CyanogenMod settings" in the settings for ICS. Instead it is Settings>Sound>Quite Hours. I don't know if it is working though as I have not tried it.

JP
[Nook Color Android Development] bornagainpenguin:
Whoa, I'm not a programer. I was talking about doing edits to the building.prop not coding. I can't even so much as compile on my current hardware. Nothing I have is more than a gigabyte of RAM, let alone having the 16gb I hear is needed these days.
[Nook Color Android Development] mateorod:
Buy yourself $15 worth of memory and you're on your way. I compiled ICS on a virtual machine with a 1.4gig allotment for weeks. You might even be able to make it on your current specs with a buntu mini install, but that would take comfort with the command-line that you may not have. (Even if the command line is all you'll use to compile).

But yeah, try it. It can be frustrating, but its not hard. I didnt know ANYTHING when I first did it.
[Nook Color Android Development] stolenmoment:
AFAICT, it's working, but mine carried over from CM7, so that's only half of a data point.
[Nook Color Android Development] cpkroboth:
Just curious: I flipped back a some pages from where I asked before, and only saw one response about Thumb Keyboard working with long press.

I am running the Kernal 2.6.32.59 take2, and can not long press the keyboard for alt functions. Where I could be for on the first 2.6.32.59 Regular Keyboard or Thumb.... Is anyone else seeing this?

Other wise this Kernal with the 64meg swap is performing very well.
[Nook Color Android Development] stolenmoment:
I was surprised myself, but pleased.

Quiet times appear to work. Mine even carried over from CM7 when I installed CM9 over it.

Here's the current version, it mounts /system R/W and creates fstab if it needs to. I'm using a 128M swapfile, and "free" has reported using more than half of it at times. Still needs to be run manually, as root.

#! /system/bin/sh

# Create, initialize, enable a swapfile

SWAPFILE=/mnt/emmc/swapfile
SWAPSIZE=128 # megabytes
FSTAB=/system/etc/fstab

# Does swapfile exist?
if [ ! -f $SWAPFILE ]
then
echo Creating swapfile
dd if=/dev/zero of=$SWAPFILE count=$SWAPSIZE bs=1048576
echo Initializing swapfile
mkswap $SWAPFILE
fi

echo Mounting /system R/W
mount -o remount,rw /system

# Does fstab exist?
if [ ! -f $FSTAB ]
then
touch $FSTAB
fi

# Does it contain The Right Stuff?
if fgrep -q $SWAPFILE $FSTAB
then
echo fstab OK
else
echo Creating fstab
echo > $FSTAB \# Automatically created
echo >> $FSTAB $SWAPFILE none swap sw 0 0
fi

echo Mounting /system R/O
mount -o remount,ro /system

if swapon -a
then
echo First swapon successful!
else
if grep $SWAPFILE /proc/swaps
then
echo Swap already enabled.
else
echo First swapon failed! Trying mkswap.
mkswap $SWAPFILE # just in case...
if swapon -a
then
echo Second swapon successful!
else
echo Second swapon also failed! Sorry...
fi
fi
fi

cat /proc/swaps
[Nook Color Android Development] stolenmoment:
That was me, running take2 and Thumb 4.3.3: šéë? not just the initial long-presses...

Does the long-press menu pop up? If it does, does the first character get entered when you release? Can you slide up to another character but it doesn't enter?
[Nook Color Android Development] cpkroboth:
Long press menu comes up blank, and nothing gets entered... Nothing to slide to... :(

I just uninstalled and re-installed Thumb and nothing...
[Nook Color Android Development] SeaFractor:
I am using SwiftKey Tablet X and it is not experiencing the longpress bug. I did experience it briefly after the last full wipe before I had reinstalled SwiftKey.
[Nook Color Android Development] stolenmoment:
Very weird. I did disable popup feedback, it was really slowing me down when I was trying an opengl build, my thick fingers generally hide them anyway, but that's the only oddball setting I think I have, although I've messed with the dimensions a bit. I have the default secondaries.

Anybody got any ideas? Same kernel, same hardware (? I have a 2011 serial), I'm running 20120411 non-opengl from emmc.
[Nook Color Android Development] cpkroboth:
(Whiney voice) But I don't wanna full wipe... :( )

I did just role back to the origanal... 2.6.32.59 . And I now have long press back.

I am running NonOPenGL Rom also.
[Nook Color Android Development] bdcrim:
Hey, thanks for the script. Couple of questions. Looking at the script, I run this with script manager, it does create the swapfile, yes? Also, if the swapfile size is reduced from 128 mb, does this affect the end size of this line----dd if=/dev/zero of=$SWAPFILE count=$SWAPSIZE bs=

1048576
[Nook Color Android Development] bigbob23:
No, that is the blocksize in bytes.
[Nook Color Android Development] SeaFractor:
I don't recommend a full wipe to repair as it won't. It was the only way I could see the bug before I reinstalled SwiftKey. SwiftKey Tablet X doesn't have any problems with the latest version of the kernel.

Your whine should be about purchasing SwiftKey Tablet X. Although I believe that it's the best keyboard ever!

It would be interesting to see what solves the problem with SwiftKey to see if it can resolve the default keyboard.
[Nook Color Android Development] cpkroboth:
I like Thumb Keyboard...but I hear ya.. Until I figure this out, I now I have a decision. Keyboard working (Original 59 Rom), or Deep Sleep (59Take2)....
[Nook Color Android Development] bornagainpenguin:
Not exactly.. My main computer is my old eeepc 901 which isn't very upgradable without a proficiency in puzzles. My other desktop is connected to my SDTV (XBMC) and not easily moved about. I used to have a spare desktop in the bedroom is picked up for work exchange, but that's being used by my parents for their new HDTV (also XBMC).

What I need to do is get some hardware that is less than five years old! (and not a netbook) :rolleyes:

That's encouraging. Both the lower end hardware and the idea of beginning from scratch and still figuring it out after a while. Maybe when I can finally get some new gear...
[Nook Color Android Development] J515OP:
I only have the problem with the default keyboard. The alt pops up but nothing is inserted. SwiftKey 3 Tablet Beta and Siine keyboards have no problem with the alt input. So the issue must be in the way Thumb and standard handle the alt.

Currently using eyballer's openGL 4.9 and the Take 2 kernel.
[Nook Color Android Development] mateorod:
I was sucessful with a Dell Inspiron 1100. 2002, maybe.

I'm not saying your hardware can do it, but I put it off forever because I heard the hardware was prohibitive (the same 16 gigs of RAM rumors, plus I thought Linux was hardware :eek:)

1.5 ram and 30 gigs storage and I guarantee a build. I'm not trying to say your hardware can do it, but I thought it would take a significant investment to build as well. It doesn't.

Just so you know.
[Nook Color Android Development] friedsonjm:
.59 Kernel Update?

keyodi , could you give us an update on work you are doing on .59 kernel, take 3 ?

thanks! jf
[Nook Color Android Development] stolenmoment:
Yes. If fstab or swapfile don't exist, they are created and initialized.

dd just writes count blocks of size bs. I used bs=104856 (aka 1M) just to make SWAPSIZE clearer. This doesn't change anything about the file itself, just the size of the buffer that dd allocates and hands to system calls.
[Nook Color Android Development] friedsonjm:
Is this something that could be baked into the ROM? Or put into an installable zip?
[Nook Color Android Development] bornagainpenguin:
As someone who purchased Swiftkey X once before, my whine would be about having to purchase the same product twice...

Is the tablet version that big of an improvement over the phone version?

And yes, I agree it is the best keyboard ever (at least on the phone version anyway.)
[Nook Color Android Development] DigitalMD:
The phone version is actually better. It has more layout options, but it does not work well on tablets. For $1.99, its really hard to find a lot to complain about. But I really hate that they eliminated the arrow keys on the tablet version.
[Nook Color Android Development] bornagainpenguin:
ORLY? It shows as $3.99 for me in the Play Store.
[Nook Color Android Development] onclebob:
You can try the SwiftKey bêta 3 available on vip.swiftkey.net. It fit perfect on nook with pretty holo and cobalt themes.
[Nook Color Android Development] bornagainpenguin:
What do you have to do to be a vip?
[Nook Color Android Development] DigitalMD:
As I recall last year i already owned Swiftkey x for phone and when they came out with a different version for tablets, they sent me a email special offering it for $1.99. A few months back, Amazon had it as a free app.
[Nook Color Android Development] bornagainpenguin:
Damn.... I missed it. I haven't really been bothering with amazon, but now I'm thinking I should give them another look!
[Nook Color Android Development] stolenmoment:
I don't have a way to make flashable zips at this point, I keep thinking about it, but a paying job, a long commute, and two kids takes up a lot of time, hence the handle...

The script itself is nothing special, that sort of thing every day at work (we're short a release engineer), but if anybody wants to wrap it up, that would be great.
[Nook Color Android Development] onclebob:
Don't remember. It was a long time ago. Just suscribe? No?
[Nook Color Android Development] DigitalMD:
Yeah, for Swiftkey VIP , just subscribe to their newsletter.
[Nook Color Android Development] stolenmoment:
By the way, I've reduced my swapfile from 128 to 64M. My NC got less and less responsive, and the swapfile was 90% used. I'm curious how well Android manages a platform with more main memory...

Has anybody experimented with swappiness? I'm at the default 60. Perhaps with a lower swappiness, more apps will be killed automatically. Of course, preventing that was one reason for swapping in the first place...
[Nook Color Android Development] shumash:
OK, here's a terminal log of the compile. I don't know how to do a logcat, but it appears I have to pull it out of the device. Do I have to have the NC connected when I compile?

http://pastebin.com/cffCw3av
[Nook Color Android Development] racks11479:
Were you able to run extract-files.sh correctly? Did it pull the files needed from the nook color? And no you don't need the NC connected to compile.
[Nook Color Android Development] shumash:
It pulled files and there are a number of them in the vendor/device/...../proprietary folder. Whether it pulled all the files needed I can't say since I don't know what's needed :o
[Nook Color Android Development] crono141:
Any news or updates on hardware acceleration of video and UI? I've been away from the nook thread for awhile.