yashsingh1/xdaforums huggingface dataset:
[Nook Color Android Development] fattire:
Neither. Bionic is the name of a phone, but it's also the name of a part of Android, that you can patch for (hopefully) a performance boost, as keyodi described.

What is bionic exactly? It's actually an Android-specific version of the standard C library.

Read more here.
[Nook Color Android Development] inportb:
You can create snapshots, but there is no mechanism to turn them into update packages (yet).
[Nook Color Android Development] roger_n:
OK got it thanks I sent you a PM.
[Nook Color Android Development] nukedukem:
I used git am and it compiled without error.
[Nook Color Android Development] khaytsus:
First time it didn't for me, but second it did... Although git am does not apply cleanly, had to git am --abort or something.. But it patched anyway.

Anywho, quadrant was 2060, now 2020. Within typical system variance. Feels about the same to me.
[Nook Color Android Development] luigi90210:
its a maybe, the defy might be easier to port over(defy is closer to droid x than nook) but its still different hardware(processors are different) so it could handle GPU acceleration differently plus i believe they are using the HW acceleration hack like we are. ill look into the source code for the defy ics and see what i can pull out but to be honest i dont think it will help any, its like the dalingrin said, we have hardware acceleration but not complete hardware acceleration due to hardware restrictions

EDIT:

im not deving for the nook but ill contribute what i can, more or less im looking into this cause it could help out the droid x ics port more than the nook
[Nook Color Android Development] newellj79:
Burned, were u able to get it to burn?
[Nook Color Android Development] Nburnes:
"Burnes, were you able to get it to boot?"

Yes. :)

Sadly now I have this error. http://pastebin.com/gXX7KegE

dmesg: http://pastebin.com/cFz7uzRK

/proc/last_kmesg: http://pastebin.com/p0e8pSig

Display/graphics are kind of important, no? :eek:
[Nook Color Android Development] Dj-Gutz:
I'm not obsessing about the optimus black , I just don't get why he said the HARDWARE can't handle it - cuz it seems it can ( not disrespecting , just asking )

As I said even the Adreno 200 running pretty damn good ( see the HD2 port ) and it's less powerful than the SGX530

The drivers part I understand , and hopefully the 1.4 update B&N will bring us updated drivers to handle & 2.6.35 kernel

Also , as I and a few mentioned Defy also got ICS running with HW accel.

Here is the GIT if anyone wants to dig in :)
[Nook Color Android Development] dreamhunterr:
Well, if no other technical explanation arises, one should not forget that the NC has a bigger amount of pixels to push!
[Nook Color Android Development] dalingrin:
Sure: finals at school, real life obligations, I have real work to do, I have other devices that I work on, I have other hobbies, I have family I visit during the holidays...etc

Feel free to get it done yourself though. I don't even use the Nook Color anymore but I'm trying to get ICS for you guys. I would love for someone else to do it so I don't have to worry about it.

Run your favorite game with old drivers, 2x the resolution, and decrease your memory bandwidth. Let me know how it affects the framerate.

In order to get Opera Mobile more fluid I have to run @ 16bit color. Thats an indication that we are already bottlenecked with just a single application, otherwise it would not affect the framerate. Now, note that the overhead associated with Opera Mobile pales in comparison to full UI accel in ICS. Not only do you have to accelerated multiple bits of the UI but you have to composite them afterwards.
[Nook Color Android Development] unsivil_audio:
Actually no it doesn't. Most phones are hdpi whereas the nook color is mdpi. The screen may be larger but the pixel density is less.
[Nook Color Android Development] dreamhunterr:
Regardless of the pixel density, it's still physically more pixels to push than in a WVGA screen (that's the way I see it, maybe I'm wrong).
[Nook Color Android Development] dalingrin:
No, the Nook Color has to process nearly 2x the number of pixels than phones.

1024x600 = 614400 pixels

Versus: 800x400 = 320000 pixels

614400 / 320000 = 1.92

Meaning the Nook Color has 1.92x the number of pixels.

LCD density is just a resolution independence abstraction for Android. It is meaningless to the GPU.
[Nook Color Android Development] Sincitybronze:
Dalingrin, just curious, are you no longer using the nook color because you also have the touchpad or did you get rid of it?

And thank you for continuing to work on the NC and ICS. The NC community would be close to dead without you.
[Nook Color Android Development] RileyGrant:
Thanks Dal for your work. It doesn't go unappreciated.
[Nook Color Android Development] newellj79:
Dal... I know u hear it alot but I like MOST, are greatful for the work u churn out and the time u put into it when u can. I don't use my NC either anymore, TP instead. I'm itching for anything with ics though so I wait patiently. I don't think its a secret that of everyone here, you and maybe two others are the only ones known to be capable of actually making it happen. Thanks.
[Nook Color Android Development] cromanorn:
If I knew how to do this I would take over for you. Otherwise, thank you for trying to do this for us. It is really appreciated.

THANK YOU!!!!!!!!!:)
[Nook Color Android Development] Midnitte:
Thanks for all your work Dal, hope someone else can take the reins for you =p
[Nook Color Android Development] dalingrin:
I still have my NC but I use my Touchpad instead. =(
[Nook Color Android Development] Midnitte:
So we can always hope your touchpad gets brick then? hehe
[Nook Color Android Development] rootfan:
Thankyou dalingrin for the amount of work you have put into the nook color.It truly is outstanding and has made, and continues to make the nook color 10x the device it was supposed to be. I truly appreciate it:D
[Nook Color Android Development] jalexishg:
Don't waste your time arguing with people who thinks they know something when you are the one the getting the job done. Even if you drop the Nook Color, I still appreciate your job cause you try. I didn't wanna buy another tablet since I love my Nook Color but I guess I'll just buy a new tablet. In my opinion the Nook Color has a lot of potencial and stil capable of a lot of things, I think is even better than that touchpad in so many ways but thats just me, I wish I knew how to DEV a little. Oh well, my hopes are not lost I hope someone come and get ICS ported into the Nook Color. Best wishes !!!

-Jorge
[Nook Color Android Development] sednafx:
Couldn't have said it better myself. I really appreciate all the work you and the CM team has put in. Thank you!
[Nook Color Android Development] dxxvi:
Firstly, thank you very much for all the Android thing you've been doing to the Optimus V and the Nook Color.

Secondly, if anybody can show me how to do dalingrin's work once, I think I can take over dalingrin's work for the Nook Color.

A little bit about me: I know a little bit about Linux, I can do some shell programming but don't know much about the boot process. My Java knowledge is bad (but not very bad, I think, because I have been doing Java programming for a living for more than 6 years).
[Nook Color Android Development] inportb:
I'm trying this; are you? ;)

make bacon BEAGLEBOARD=1

^ this is highly experimental and likely to break stuff. I had some problems and had to perform a git am --abort in the relevant directory, but was not able to reproduce the problem ever since. It worked for me, but YMMV. If you run into problems, I'd appreciate it if you let me (Pinako) know on IRC (or just reply/post). Thanks!

Incidentally: I didn't get any performance improvement, though I did get varying scores.
[Nook Color Android Development] Dj-Gutz:
Correct me if I'm wrong , but we don't have the correct EGL libs for 2D UI acceleration

I saw this commit

http://review.cyanogenmod.com/#change,11167

Could this be used as a hack for now?

the current state is not great according to the submitter ( color space issues )

So maybe it's a one to watch / help develop if you can
[Nook Color Android Development] nukedukem:
Hard to say quantitatively if the UI is any smoother, but my quadrant jumped FWIW. And is the keyboard smaller in portrait mode for anyone else? I'm not sure if I did it messing around deleting stuff, but my fat fingers are sad :( It looks like the keyboard is now hdpi or something. Anyone else have this?
[Nook Color Android Development] jeph36:
Awesome, I am now running some fresh ICS after a successful build. I would like to contribute by digging into some code, but for the next several days will be far from a worthwhile computer visiting family.

I am curious how the CM team views a variety of the warnings that pop up during the build. In my line of work (mostly C code for firmware in off road equipment) we do not allow any compiler warnings as a rule for a release. If I submitted changes to resolve warnings (and nothing else) would that be welcomed or just cause angst?
[Nook Color Android Development] fattire:
My guess is such changes would be very welcome.
[Nook Color Android Development] racks11479:
I feel like I'm in a classroom! Its also wonderful how everyone is so willing to lend a hand to one another. Learned so much just by going through the thread. You're doing an awesome thing here Mr. Fattire. And I look forward to many more lessons. :D

Thanks again,

Racks
[Nook Color Android Development] darkfalz:
Hm...getting strange errors Would someone mind taking a look at the end of this output?

http://pastebin.com/11P7iJ17

I'm idling in the chat as well.
[Nook Color Android Development] inportb:
What's your java version?

$ java -version
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)

Also, do you have a file named system/out/target/product/encore/cm_encore-ota-eng.erick.zip? If so, you could probably flash that without signing.

Or, you might be able to sign it by doing

java -jar sign/signapk.jar sign/testkey.x509.pem sign/testkey.pk8 system/out/target/product/encore/cm_encore-ota-eng.erick.zip update-cm-9.0.0-RC0-NookColor-KANG-signed.zip

/edit:

derp. it seems that system/out/target/product/encore/cm_encore-ota-eng.erick.zip is the file that was supposed to be created. back to the drawing board.
[Nook Color Android Development] J-ROCK:
I keep getting this error when I repo sync

error: device/bn/encore/: fat-tire/android_device_bn_encore checkout 22259cf87f92883807c8171202a7e875558814c3
[Nook Color Android Development] darkfalz:
Java version is 1.6.0.23, OpenJDK, yada yada.

edit: switching to Sun Java, we'll see if it works.
[Nook Color Android Development] duuurp:
I was having the same issue, did a little research and found out it's likely a memory issue. To fix I oppened up common.py (full path: android/system/build/tools/releasetools) and on this line:

"unning: java -Xmx2048m -jar "

I changed 2048 to 1024 and recompiled perfectly.

If you still have trouble try changing to 512.

http://rootzwiki.com/topic/11027-ubuntu-java-virtual-machine-not-being-created/
[Nook Color Android Development] darkfalz:
Yeah, that's actually just what I was about to do. Didn't know which file to edit, so I was just going to give the VM some more of my RAM. Awesome, thank you very much.

edit: successful build.
[Nook Color Android Development] roger_n:
I just started a build with your new Makefile I'll let you know the outcome of using the BEAGLEBOARD=1 option creating the update.zip.
[Nook Color Android Development] jschill31:
Hello,

Had to change 2048 to 1024 when compiling on Linux machine as well. Thanks for your post, the wording is different but gave me direction on which file to alter.

Successful build and signed update.zip! Now time for some long overdue sleep

Cheers
[Nook Color Android Development] MrColdbird:
You guys were right. Network share is awfully slow, retrying later today with a bigger hdd.

Think 32gb total will be enough?
[Nook Color Android Development] khaytsus:
32G total, no. You'll need whatever the OS needs + 26G (according to my current directory, built, with a few snapshots)
[Nook Color Android Development] Bawb3:
Alright, Im at a loss, nothing seems to be working correctly getting the build environment set up.

this is my first time really dealing with linux, im running ubuntu 11.10, mind you ive come from not knowing how to open a .tar file to where im at now within 2 days so im a little frazzled.

I have the SDK, JDK installed, all the packages installed, and source downloaded and synced from cyanogen, google, and fattire's git via the local_manifest on his guide.

Which by the way I had the repo sync time out and fail about 100 times (im not exaggerating). trying every -j[number] suffix from 1-16, and without.

I've gotten up to running the "get-prebuilts.sh" script to install the prebuilt stuff, however that file is simply not there, nor is vendor/cm. The vendor folder is in the home dir, but not the "cm" folder within it.

I ran /setup-makefiles.sh and the “. build/envsetup.sh” - terminal didnt report anything and just went to the next prompt, so i assume they ran correctly.

lunch does nothing, tells me i need to install python-lunch via apt-get. If i do that, it installs then tells me there is no .lunchrc file.

I did get lunch to run once (I have no idea how, ive restarted the computer since) and cm_encore_userdebug was not in the list.

the ~/android folder is empty - why?

all the sync stuff seemed to just spill out into my home folder instead of filling ~/android and ~/bin

no idea whats going on there. Including the device folder containing the encore files and proprietary stuff extracted from my nook.

I have fattire to thank for helping me get this far but...

Ive been beating my face on the desk all night, please... help lol

edit: oh is there a command that will shred my hard drive and catch my computer on fire? I need that
[Nook Color Android Development] HacDan:
@Bawb3

Where did you init the repo? Was it inside your ~/android folder or your ~ folder? Also, what directory are you running repo sync from?

It is possible you've done it all correctly and just the sync hasn't completed yet. You won't see anything in the directories until the sync is successful.
[Nook Color Android Development] Bawb3:
My repo is in ~/bin

I probably did init repo from the home folder, I have the path set for it in bashrc so I'm not sure.

The sync should be completed it showed 100% last time it actually didn't time out. I will try again but I'm having major issues having it time out connections to github. Maybe because I'm on a wireless connection?

fatal: Unable to look up github.com (port 9418) (Name or service not known) is the error
[Nook Color Android Development] fahadayaz:
Me too! I've been unable to sync without certain timeouts and unable to lookup github.com errors for a couple of days now. Not compiled because of it. I wonder if it's safe to go ahead and compile anyway?

edit: I'm on an ethernet connection btw, so it probably isn't your wireless
[Nook Color Android Development] foltz61:
Holy crap. I built it myself and it worked. On a dual core P4 with 1G of ram at that. Now that I know what to do, will probably take about 3 hours total. Thanks fattire and crew.
[Nook Color Android Development] fattire:
Okay, take a second and stop and read the above. What you've done so far in what, two days is a MAJOR accomplishment. That you even understand what you've just said is pretty amazing after 48 hours.

not sure what you mean by "that file is simply not there".

The vendor folder should be in:

android/system/vendor/cm/

as well as

android/system/vendor/bn/encore

Assuming everything is in the right place, I think you'd run that prebuilt thing like this:

cd ~/android/system/vendor/cm
./get-prebuilts

Did you run it like this?

cd ~/android/system/bn/encore
./setup-makefiles.sh

Python-lunch is not the right command.

Did you do this first (per the instructions)?

cd ~/android/system/
. build/envsetup.sh

You must do this in every terminal you want the "lunch command".

If you're following the walkthrough, you should have a folder named "system" in ~/android. Which you created in the early steps of the instructions.

the sync stuff should go into ~/android/system but it sounds like maybe you did the repo init command in the wrong place (in your home folder instead of in ~/android/system). If this is the case, find someone on irc and ask them to help you move everything to the right place. You may need to send a pastebin of what's going on so they can see where everything is. You are not likely to need to re-download the source or anything-- just move the stuff to the right place.

Ah, learning pangs. Enjoy your innocence :)
[Nook Color Android Development] fattire:
Holy crap congratulations!
[Nook Color Android Development] motitas:
hey, how long did that take you? I think Im finally gunna get around to building it today.... I'll have to change my desktop over to linux though. I currently use Fedora 16 on my laptop (which I'm using), however Im scared for it's 64gb ssd, it's kind of old and I don't wanna fill it up and kill it. how much space does a building it take up? and I mean including the process and everything that it writes to the disk at least ~... Thanks alot! If it's too large Ill jump on my desktop. I use linux daily... so yeah I wont really have a prob building it (hopefully) :D

Happy Holidays!!
[Nook Color Android Development] Bawb3:
Yep, I initialized repo in the wrong directory.

I already got pissed and wiped everything out, so I'm re-downloading the source again :P no biggie I'll just let it go while I partake in xmas eve festivities tonight.

I also had to delete the .repo file in home so it would init in /android/system, however (hopefully) it is syncing to that now like it should.

as for the vendor/cm folder, it literally isnt/wasnt there, I even searched the entire file system - nowhere to be found. So hopefully once I re download everything will be where it's supposed to be.

as for the other scripts, I believe i ran them correctly by going to their directory and doing ./envsetup and ./setup-makefiles in their respective directories. Like you said.

I didn't know I had to run envsetup for every session. that would explain why lunch wasnt working. not to mention the files being all over the place.

merr...
[Nook Color Android Development] foltz61:
It took me forever because of learning but, should take about 3 to 4 hours if you know what your doing.

Edit part 1: Researched. Can't get the launcher to rotate.

Edit part 2: There are changes needed for Ubuntu in fattire's guide that need to be done beyond what I listed for my setup.

My setup:

1. Pentium 4 dual core

2. 1G of ram

3. 125G linux partition with 1G swap. The output of df -h is "Size: 125G Used: 27G ".

4.. Ubuntu 11.04 with Gnome

5. This setup is the base Ubuntu install with only what is needed for the build process.

6. Don't try to use your computer while it's working.

My changes to the process:

1. "Repo Sync -j8" instaead of "-j16"

2. After the sync, edit "/android/system/build/tools/releasetools/common.py" from line "cmd = ["java", "-Xmx2048m" " to "cmd = ["java", "-Xmx512m" "

3. For "make -j[#ofcpus] bacon" I used "make -j1 bacon"

Hope this is helpful to you. Good luck and Happy Holidays to you also.
[Nook Color Android Development] Nburnes:
$ adb shell input keyevent 82

At the home screen to access the launcher menu, then look for the unchecked auto-rotate box.
[Nook Color Android Development] foltz61:
Thanks. Now that I see it, I think I read that somewhere.
[Nook Color Android Development] Ophbalance:
Color me stupid, but... what on earth makes it balloon out to 26gigs in order to build everything?? Good grief, that just seems overly large for something that's so much smaller as an end results ;).
[Nook Color Android Development] J-ROCK:
Alright finally had a successful repo sync!!

Now I need to figure out how to get the ADB to work. It will find my phone just fine but it never seems to find my Nook. This is where Im stuck at before I get a nice fresh install of ICS in time for Christmas .
[Nook Color Android Development] foltz61:
Save yourself a headache and setup adb wireless as mentioned previously by ?????? :-)
[Nook Color Android Development] J-ROCK:
Ive had no success either with that. What is the proper command to connect to it thru wifi?
[Nook Color Android Development] foltz61:
Once you start the app up and turn the connection on it will give you the ip to connect to. You then do "adb connect xxx.xxx.x.xxx:xxxx" from your pc.
[Nook Color Android Development] newellj79:
Hi guys. I've been building fine but had this error today. I have not seen it before. I asked in the irc earlier but wasn't able to stay long enough to get a answer. Any help would be greatly appreciated. Thanks, and Merry Christmas!!!

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

target Java: com.android.phone.common (out/target/common/obj/JAVA_LIBRARIES/com.android.phone.common_intermediates/classes)

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

target Java: ContactsProvider (out/target/common/obj/APPS/ContactsProvider_intermediates/classes)

target Java: DefaultContainerService (out/target/common/obj/APPS/DefaultContainerService_intermediates/classes)

target Java: android.test.runner (out/target/common/obj/JAVA_LIBRARIES/android.test.runner_intermediates/classes)

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

target Java: DownloadProvider (out/target/common/obj/APPS/DownloadProvider_intermediates/classes)

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

target Java: DownloadProviderUi (out/target/common/obj/APPS/DownloadProviderUi_intermediates/classes)

packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadInfo.java:421: cannot find symbol

symbol : variable NETWORK_WIMAX

location: class android.app.DownloadManager.Request

return DownloadManager.Request.NETWORK_WIMAX;

^

Note: packages/providers/DownloadProvider/src/com/android/providers/downloads/DownloadReceiver.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

1 error

make: *** [out/target/common/obj/APPS/DownloadProvider_intermediates/classes-full-debug.jar] Error 41

make: *** Waiting for unfinished jobs....

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

jeremy@jeremy-VGN-FW560F:~/android/system$
[Nook Color Android Development] roger_n:
J-ROCK make sure USB debugging is enabled on your nook go to Settings > Developer options > make sure USB debugging is checked. Plug the nook via USB cable to your system "cd" to the directory where the adb binary lives the directory may vary depending on your setup. Type "./adb kill-server" then type "./adb devices" it should restart the server and return your device ID. If you see your device ID adb is working.

roger@roger-laptop:~/ICS/bin$ ./adb devices

List of devices attached

1234567890	device
[Nook Color Android Development] J-ROCK:
It still doesnt find my device....

* daemon not running. starting it now *

* daemon started successfully *

List of devices attached

jriani@jriani-MS-7592:~/android-sdk-linux/platform-tools$