yashsingh1/xdaforums huggingface dataset:
[Nook Color Android Development] lowpeezy:
No, he is referring to the data that is displayed within the Widgets, and that the only way to have them in a usable form is to resize them so they end up filling the whole screen.

but this has been coming along nicely, I would love to help but I can't stop playing Skyrim :p
[Nook Color Android Development] mrapollinax:
That's how I read it. HC = 8x6 icon grid whereas our ICS builds have a 6x5 icon grid
[Nook Color Android Development] Homer_S_xda:
Is this correct about iptables, as of 18 December, or has it since been implemented? I can't get autoproxy 0.33 running but that might be the app as 0.57 added compatibility for ICS.

Homer
[Nook Color Android Development] tsukaza:
I successfully built it using andbot method, flash over cm7.1 and it is running great. I then try to install the apps using gapps-ics-20111125-2.zip and it updated according to CWM but when I boot into CM9 I do not see any of those google apps like gmail, market, youtube etc? Any solution, am I doing something wrong. Thanks.

Btw sideloading works so far. Except gmail.apk, Market.apk and framwork.apk
[Nook Color Android Development] Jainyankee1993:
Hi guys....I really want to help fix the video.....but I need an explanation on what exactly is wrong...can someone explain what the situation with the video component on the rom is
[Nook Color Android Development] Ophbalance:
For some reason, my flash to sneakpeak2 went well. I flashed an older GAPPS, and wasn't able to download anything out of the market. I found a newer GAPPS in the thread and flashed that. However, things went.... weird after that. I can boot off SD just fine, but when trying to boot off eMMC it just reverts back to clockwork recovery. I've tried restoring a backup taken before flashing CM9. I've tried flash CM7 from scratch. I've tried (several times) flashing CM9 again. The only reference I see to this is perhaps the data volume got corrupted? If that were the case, I'd expect an error on formatting data. I'm not seeing any errors when formatting data/system/cache. Any thoughts?
[Nook Color Android Development] HacDan:
A lack of updated DSP drivers is currently the problem. Video does play, but it's all rendered on the CPU which is obviously not optimal and will not play anything close to high def, or even high quality(such as youtube) Basically if I understand correctly, we need to patch around a lot of newer driver calls, as the drivers in possession don't support the new calls from ICS.

tl;dr it's a DSP driver problem.
[Nook Color Android Development] chrispilot2293:
OOPS!, Sorry fattire, apperently i wasnt supposed to post this, and no, i didnt read the thread, sorry guys!
[Nook Color Android Development] lowpeezy:
WTF.
[Nook Color Android Development] xxsxx:
Dude! Whats wrong with you?

It's not posted like that for a reason.
[Nook Color Android Development] micl9:
Seriously!?

You obviously have been skimming NOT reading.
[Nook Color Android Development] kcls:
That was pretty uncool.

• . . . . . .. . . . . . . . . . . ,.-‘”. . . . . . . . . .``~.,

. . . . . . . .. . . . . .,.-”. . . . . . . . . . . . . . . . . .“-.,

. . . . .. . . . . . ..,/. . . . . . . . . . . . . . . . . . . . . . . ”:,

. . . . . . . .. .,?. . . . . . . . . . . . . . . . . . . . . . . . . . .\,

. . . . . . . . . /. . . . . . . . . . . . . . . . . . . . . . . . . . . . ,}

. . . . . . . . ./. . . . . . . . . . . . . . . . . . . . . . . . . . ,:`^`.}

. . . . . . . ./. . . . . . . . . . . . . . . . . . . . . . . . . ,:”. . . ./

. . . . . . .?. . . __. . . . . . . . . . . . . . . . . . . . :`. . . ./

. . . . . . . /__.(. . .“~-,_. . . . . . . . . . . . . . ,:`. . . .. ./

. . . . . . /(_. . ”~,_. . . ..“~,_. . . . . . . . . .,:`. . . . _/

. . . .. .{.._$;_. . .”=,_. . . .“-,_. . . ,.-~-,}, .~”; /. .. .}

. . .. . .((. . .*~_. . . .”=-._. . .“;,,./`. . /” . . . ./. .. ../

. . . .. . .\`~,. . ..“~.,. . . . . . . . . ..`. . .}. . . . . . ../

. . . . . .(. ..`=-,,. . . .`. . . . . . . . . . . ..(. . . ;_,,-”

. . . . . ../.`~,. . ..`-.. . . . . . . . . . . . . . ..\. . /\

. . . . . . \`~.*-,. . . . . . . . . . . . . . . . . ..|,./.....\,__

,,_. . . . . }.>-._\. . . . . . . . . . . . . . . . . .|. . . . . . ..`=~-,

. .. `=~-,_\_. . . `\,. . . . . . . . . . . . . . . . .\

. . . . . . . . . .`=~-,,.\,. . . . . . . . . . . . . . . .\

. . . . . . . . . . . . . . . . `:,, . . . . . . . . . . . . . `\. . . . . . ..__

. . . . . . . . . . . . . . . . . . .`=-,. . . . . . . . . .,%`>--

I just PM'd him to take it down. Everyone else should as well.
[Nook Color Android Development] fattire:
Thanks for getting rid of it... :)
[Nook Color Android Development] msherwood:
Chrispilot just earned an arrow to the knee...

Edit: Redeemed, barely.
[Nook Color Android Development] zorvalth:
Edit your dumb post and delete the link!
[Nook Color Android Development] kcls:
Tank God! Thanks for taking it down!
[Nook Color Android Development] zequav:
Seems to work :). Installed, booted normally, configured the system, restarted to CWR, mounted /system, removed OneTimeInitializer, mounted /data, removed /data/dalvik-cache/system@app@onetimeinitializer and /data/data/com.google.android.onetimeinitializer, rebooted... and every app starts normally.

Thank you (and hacdan)!
[Nook Color Android Development] HacDan:
To save yourself some time, you can just wipe dalvik cache, it's a menu option in CWM, won't hurt anything. Your way works as well though, so no worries =)
[Nook Color Android Development] roger_n:
You quoted chrispilot2293 and included the link please edit.
[Nook Color Android Development] zequav:
I know, I just wanted to avoid recreating all the cache :). And I won't have to do it again, since I have a bash script that "cleans" the rom before pushing it to the nook color. I'll simple add OneTimeInitializer.apk to the list of things to be pruned.
[Nook Color Android Development] crono141:
This happened to me when trying to install to SD card. I had to rewrite the SD image over again (start from scratch). Don't know how to help you with the eMMC though. Good luck.

EDIT: I think I may have misunderstood. Does this happen when you tell the uSD bootloader to boot eMMC? Does it exhibit the same behavior without an SD card inserted, or does it boot from eMMC properly then?
[Nook Color Android Development] micl9:
Sorry - Already done
[Nook Color Android Development] Ophbalance:
SD card boot was working fine, eMMC always booted to clockwork. At any rate, I tried to force it to do a B&N restore by not allowing it to boot 8 times. That didn't work, but it had the side effect of making it boot properly from eMMC again. So I just formatted /system /data and /cache (probably not necessary) and flashed CM9 and GAPPS again. All is now right with the world.
[Nook Color Android Development] Jainyankee1993:
LMFAO...you mean sneakpeak2 right .....not fullofbugs2....they're the same..right?
[Nook Color Android Development] slicedcheese:
I have a question regarding system specs for a building pc. What kind of power (cpu ram ect) do I need for a relatively timely build on an ubuntu pc?

Sent from my lil electrify
[Nook Color Android Development] MrColdbird:
The usual... i5 2500k - 3.3ghz + a whole bunch of RAM... 8GB should be fine...

As each thread will spawn a Java VM from what I can tell which, by default, eats 2GB of memory...

That setup should be able to pull it off in 30mins~1hour depending on whether you do something else on it or not.
[Nook Color Android Development] crnkoj:
it takes me 50 minutes on a phenom2 3ghz with 4gb ram on gentoo and a 7200rpm hdd
[Nook Color Android Development] Homer_S_xda:
Update on fixing the bootanimation.zip:

I tried the simple approach of putting the fixed file into android/system/device/bn/media and then adding the following to device.mk after # Art:

# Boot Animation
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/media/bootanimation.zip:/system/media/bootanimation.zip

I then did make clobbber followed by brunch encore. My replacement file did not make it into the update.zip. The one which did is found in android/system/vendor/cm. Does device.mk get called during a brunch encore build?

So the question is, which file to revise to grab my bootanimation.zip instead of the "stock" one?

Homer
[Nook Color Android Development] fattire:
I'm guessing that it copied it fine, then overwrote it with the one in vendor/cm.

Not sure the best solution... probably to put a flag like in vendor and set it in our BoardConfig file. There may already be such a thing.... something like BOOTANIMATION_ZIP := /path/to/the/zip... you can check the build source to see if there's such a condition somewhere. And if there isn't, you can add one so it would be like

#ifdef BOOTANIMATION_ZIP

copy the file from the $(BOOTANIMATION_ZIP) path

#else

do the copying the way it was already doing it

#endif

(that's not real code obviously.. but you get the idea)

if you test it and it works, then submit it to Gerrit at review.cyanogenmod.com... If people test it and it seems to be good-- congrats, you've just added a new feature to CM9 that every device can use :)
[Nook Color Android Development] Homer_S_xda:
Yeah, I was thinking to change the name on the written file just to confirm that is the case. Call it morbid curiosity. Let me do some digging to find the "vendor" file you mention and then poke around to get the commands right. I'll see what I can do when I get home tonight.

UPDATE:

How about this?

1) Edit file: android/device/bn/encore/BoardConfig.mk and Insert after # Bluetooth section:

# Alternate Bootanimation
TARGET_BOOTANIM_ALT_270 := true

2) Add the fixed bootanimation.zip to vendor/cm/prebuilt/common/270

3) Edit file: android/vendor/cm/config/common.mk and replace line 45:

"vendor/cm/prebuilt/common/bootanimation.zip:system/media/bootanimation.zip"

with:

ifdef TARGET_BOOTANIM_ALT_270
PRODUCT_COPY_FILES += \
vendor/cm/prebuilt/common/270/bootanimation.zip:system/media/bootanimation.zip
else
PRODUCT_COPY_FILES += \
vendor/cm/prebuilt/common/bootanimation.zip:system/media/bootanimation.zip
endif

That should let the encore build set the flag and makes the rotated/sized bootanimation file available to any other device that needs it.

Or, to keep the file in the encore branch:

1) Edit file: android/device/bn/encore/BoardConfig.mk and Insert after # Bluetooth section:

# Alternate Bootanimation
TARGET_BOOTANIM_ALT_270 := /device/bn/encore/media/

2) Add the fixed bootanimation.zip to device/bn/encore/media/

3) Edit file: android/vendor/cm/config/common.mk and replace line 45:

"vendor/cm/prebuilt/common/bootanimation.zip:system/media/bootanimation.zip"

with:

ifdef TARGET_BOOTANIM_ALT_270
PRODUCT_COPY_FILES += \
$(TARGET_BOOTANIM_ALT_270)bootanimation.zip:system/media/bootanimation.zip
else
PRODUCT_COPY_FILES += \
vendor/cm/prebuilt/common/bootanimation.zip:system/media/bootanimation.zip
endif

Homer
[Nook Color Android Development] BitingChaos:
I just got a spare system up and running that I was thinking about using for compiling CyanogenMod.

Core 2 Duo @ 2.66 GHz, but with just 2 Gigs RAM. I'm not too concerned about the time needed to compile, but is it doable with that low amount of RAM?
[Nook Color Android Development] JP12:
I did it on a machine with 1Gb of mem and it worked out fine. Only took me more than 12 hours because it was an old machine.

If you get an error, you should look at this piece in the manual:

If you experience this not-enough-memory-related error...

ERROR: signapk.jar failed: return code 1

make: *** [out/target/product/encore/cm_encore-ota-eng.root.zip] Error 1
...you may want to make the following change to:

system/build/tools/releasetools/common.py

Change: java -Xmx2048m to java -Xmx1024m or java -Xmx512m

Then start the build again (with brunch).
[Nook Color Android Development] 12paq:
I got it. Thank you.

But, I learned to build it. ..and thank you for that too.

.
[Nook Color Android Development] michaeljr10wv:
I compile on my laptop...AMD TURION X2 2GHZ, with 2GB ram...the first build took over three hours...after that I sync every morning. builds after the initial are much faster...
[Nook Color Android Development] tsukaza:
Successfully compiled and created the zip file. I flashed the nook and it ran like a charm sound, wifi all works. Then I tried to CWM the gapps ICS 4.0.3 and it failed to install any of the gapps. I decide to be brave and added the necessary files from the gapps zip into the ICS zip without the OneTimeInitializer.apk, NfcGoogle.apk, SetupWizard.apk. Also I cleaned up the duplicate apps by picking some of the one that was included like BrowserGoogle.apk etc.

I then flash to CM7.1 and reflash ICS custom ROM, it worked. Now market, gmail and youtube all working. Mobiplayer works but rockplayer didn't. Basically all live streaming apps that I use reported HD not support but they did not FC. But my icecast app is working :)

So far I am very happy with this process.

Big thanks for the devs for all the hard work and such a wonderful chance to roll you own ROM :D

Btw any chance to enable netfilters and iptables?

Thanks again.
[Nook Color Android Development] racks11479:
Hi Homer,

I just tried your method, but the flag doesn't seem to be taking the call from BoardConfig.mk. I had to set it in device.mk for it to work.

(1) I put the line right after fattires poem in 'device.mk':

# Art
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/prebuilt/poetry/poem.txt:root/sbin/poem.txt

[COLOR="DarkRed"]# Alt Bootanimation_Zip
BOOTANIMATION_ALT := true[/COLOR]

# update the battery log info
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/log_battery_data.sh:/system/bin/log_battery_data.sh

(2) Edit file: android/vendor/cm/config/common.mk and replace line 45:

"vendor/cm/prebuilt/common/bootanimation.zip:system/media/bootanimation.zip"

vendor/cm/proprietary/lib/armeabi/libjackpal-androidterm3.so:system/lib/libjackpal-androidterm3.so

[COLOR="DarkRed"]# Copy Alt Bootanimation_Zip
ifdef BOOTANIMATION_ALT
PRODUCT_COPY_FILES += \
device/bn/encore/prebuilt/media/bootanimation.zip:/system/media/bootanimation.zip
else
PRODUCT_COPY_FILES += \
vendor/cm/prebuilt/common/bootanimation.zip:system/media/bootanimation.zip
endif[/COLOR]

# Enable SIP+VoIP on all targets

I've tested it and it works. When I comment out the '# BOOTANIMATION_ALT := true' line in device.mk it pulls the one from vendor. I feel that it should go in prebuilt because it is 'prebuilt"? ;)

Not sure if it worked for you the other way or not, but this was how it worked for me. Hope this helped in someway. If not, please disregard my ramblings! :eek:

-Racks
[Nook Color Android Development] saulhaul:
I had to wipe data after flashing gapps in order for them to show up. Not sure if that will work in your situation as well
[Nook Color Android Development] fattire:
This is the right idea, but ideally you'd want tomake it so that instead of just saying BOOTANIMATION_ALT := true that you'd specify the path and then use that $(BOOTANIMATION_ALT) path in your PRODUCT_COPY_FILES

Otherwise it's only useful for encore. If you want other devices to be able to specify their own bootanimations (whether to rotate it, or just to customize for their device) you need to think about how it might be made more generic.

Then-- assuming this all doesn't exist already (and I haven't looked) you can submit it to gerrit with the description of someting like "this allows devices to use the BOOTANIMATION_ALT flag to set rotated or alternate bootanimations."

I should also mention that there's sort of a convention I've noticed-- usually flags like this go in BoardConfig.mk and also they have names like BOARD_USES_ALT_BOOTANIMATION or PATH_TO_ALT_BOOTANIMATION whatever... kind of more descriptive.

Anyway, looks good so far!
[Nook Color Android Development] Homer_S_xda:
I tried smashing yours and Racks suggestions together. I also did some poking looking for a sort of standard way to name the path variable. I'll try this when I get home unless Racks can test it quicker:

1) Add file bootanimation.zip to android/device/bn/encore/prebuilt/media

2) Edit file: android/device/bn/encore/device.mk

Insert after # Art section:

# Bootanimation for Encore
LOCAL_BOOTANIMATION_PATH := device/bn/encore/prebuilt/media/

3) Edit file: android/vendor/cm/config/common.mk

replace line 45 "vendor/cm/prebuilt/common/bootanimation.zip:system/media/bootanimation.zip"

with:

# Check for device specific bootanimation_zip

ifdef LOCAL_BOOTANIMATION_PATH
PRODUCT_COPY_FILES += \
$(LOCAL_BOOTANIMATION_PATH)bootanimation.zip:system/media/bootanimation.zip
else
PRODUCT_COPY_FILES += \
vendor/cm/prebuilt/common/bootanimation.zip:system/media/bootanimation.zip
endif

Homer
[Nook Color Android Development] racks11479:
Yep, that's pretty much what I ended up with. Only difference was instead of:

# Bootanimation for Encore
LOCAL_BOOTANIMATION_PATH := device/bn/encore/prebuilt/media/

I set path to:

# Bootanimation for Encore
LOCAL_BOOTANIMATION_PATH := $(LOCAL_PATH)/prebuilt/media/

It works either way, but the $(LOCAL_PATH) is less of a specific path.

And I was on IRC and nemith mentioned that 'maybe' the reason why the flag wasn't being recognized in BoardConfig.mk is because of the order that make files are consumed. Don't take my word for it. I probably have no idea what I'm doing anyways. :rolleyes:

But it works! :D

Good luck submitting it to the CM git, hopefully there isn't a function for that yet and we won't get criticized and shamed from ever submitting to git again for not going through code thoroughly enough.. :eek:

-Racks
[Nook Color Android Development] Homer_S_xda:
Thanks for the look over. I'll apply for a gerrit account when I get home and probably head to irc for help getting all this submitted.

Homer
[Nook Color Android Development] fattire:
Regardless of whether it gets accepted or not -- and do check to make sure there's nothing already there that does this sorta thing -- this was a *GREAT* exercise in and demonstration of how CyanogenMod gets better.

(one other thought-- instead of just the path to the bootanimation file, you can also explicitly name the file. I don't know whether one way is better than another, but that's how I've seen it with some other flags... doesn't matter as long as the name is always the same, but someone might want to have a rotatedbootanimation.zip or a christmasthemedanimation.zip or whatever...)
[Nook Color Android Development] frankusb:
Who knew Fattire was not only a great developer, but a poet as well?

Frank
[Nook Color Android Development] MrColdbird:
Every open source enthusiast is a poet.

We are like revolutionaries.

Always a big idea behind our actions.
[Nook Color Android Development] alton987:
Any more tips for reading between the lines of the first post to get sneak peek 2? Apparently I'm just a idiot .
[Nook Color Android Development] les02jen17:
How about clicking every dot you can see on that post? It might lead you somewhere. :)

Update:

I think sneakpeek2 is in the 2nd post, not the OP. Just make sure you don't post the link anywhere or you'll get tons of facepalms. :D

Tapatalkin' it from my rooted NookColor running CM7 MiRaGe [KANG] [7.2 RC] overclocked @ 1.2 GHz
[Nook Color Android Development] derekr:
Try the second post :-)
[Nook Color Android Development] alton987:
Yeah I know I keep reading it over and over
[Nook Color Android Development] skwalas:
Edited to keep all the others guessing... or at least the ones who skim too much.
[Nook Color Android Development] alton987:
Wow just saw it, I am a idoit
[Nook Color Android Development] Arbelzapf:
It just baffles me to see how hard it is for some people to simply read a block of text. I'm not addressing anyone in particular; this has been going on for quite some time.
[Nook Color Android Development] DizzyDen:
True...

On the bright side... slowly but surely more and more are finding

success.
[Nook Color Android Development] les02jen17:
Now here's a giveaway. :D

Tapatalkin' it from my rooted NookColor running CM7 MiRaGe [KANG] [7.2 RC] overclocked @ 1.2 GHz
[Nook Color Android Development] Eirikr88:
for those who have retrieved it, is gapps included? Or is there a link to gapps I need to use?
[Nook Color Android Development] kayiman74:
I

I got it.

Thanks:D
[Nook Color Android Development] pokedroid:
I got it! Looking at diving into this once I get settled into the semester. A bit daunting though!
[Nook Color Android Development] rickpref:
wow...I'm an idiot. I can't believe it took me this long to notice it...I've read the second post like 10 times in the past few days. Testing now.
[Nook Color Android Development] fzr-r4:
thanks, dalingren, fattire, and everyone working on, toying with, and thinking about this project. thanks to you, so many of us have gotten it and hope to contribute or at least be better involved now and in the future.
[Nook Color Android Development] HacDan:
No GAPPS included, but I'm sure you can find a set somewhere.
[Nook Color Android Development] fattire:
Lifting the Ban/Request

STATE OF THE UM, STATE OF THINGS

So I was curious how many noob types, who always beg for nightlies and builds and stuff-- I wondered if they (you?) could be encouraged to learn and get involved in the process of building Android. Which, as I've expressed in an infamous ramble, I think is important to the future of our culture and how it it deals with technology-- and who will control it. So I asked normal non-dev people to try building-- to give it a shot.

I think the experiment, which quickly became OUR experiment, has been a massive success. Far beyond what I'd imagined. Hundreds of people have gotten off their asses-- many of whom had clearly never touched Linux or a compiler before, and most were successful in building CM9/ICS from scratch.

That is not a small deal. And no, it's not just following a list of instructions by rote. People had to think about and solve a million different problems-- installing VMs, updating packages, choosing linux distributions, understanding the command line, etc. Scary stuff if you've never done any of these things before.

So it's been a month or so now, and I think we've reached the stage where aside from minor enhancements and fixes, the build looks pretty sweet. The major stuff is there and working. Yeah, DSP/hardware-accelerated video is something we're going to have to wait for TI to add to their omap3 repositories, and there are likely other things wrong. I've heard rumors of sleep-of-deaths or quicker-than-usual battery consumption, etc. There are numerous things to be fixed, but these are all issues that may or may not be worked out over time... As major new enhancements come to the CyanogenMod project, they will come to the encore version, and your build, automatically.

No secret links this time. As before, I'll spell out the bottom line explicitly for ya here in the middle somewhere. And I'll even underline it.

I hereby decree, in so far I am able, my humble request for "no posted builds".... is ended.

Back to your regularly scheduled forum. Go to it.

I encourage you to pass any valuable improvements you make to the code "upstream" via the gerrit review system at review.cyanogenmod.com for inclusion in the main CM project. You already know how it works. And some, God love ya, have already started. Not everything you submit will get accepted, but it's a good way to "pay it forward". And in the same vein, consider helping someone on IRC. Or be a big brother or big sister. Or donate blood. And to quote Steven Soderbergh, or whomever, you don't have to brush ALL your teeth, just the ones you want to keep.

Thanks as always to dalingrin, keyodi, nemith, verygreen, arcee, deeper-blue, unforgiven512, the gang on irc, and the CM Team generally for keeping this fun. And thank YOU for the lulz, Internet.

ft

Remember, there's NOTHING quite like running your own build, piping-hot, and fresh from the oven.