yashsingh1/xdaforums huggingface dataset:
[Barnes & Noble Nook Tablet] snooch6923:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0 Kernel for Nook Tablet [13/1/16 ALPHA]

Dav Doc...

I encountered the "Linux Gadget" problem you referred to as well (although never use ADB so not that part of the problem). This usually occurs when I am not patient and connect the NT, watching the hardware install progress box (bottom right corner of screen). I get a prompt that there was an error loading the device on screen, but there is an indication that a Linux Gadget has been loaded. If I dismiss the error and do not try to find the drivers using the Windows Hardware Installation wizard that pops up, and go to my computer and click on the device too quickly then it tries to recognize the NT using the Linux Gadget drivers and no go.

If I dismiss the error/windows hardware installation wizard and WAIT longer, the NT drivers do load and the device is eventually recognized in My Computer as the Nook Tablet (NOOK and SD CARD)

Why? I don't know. If you've made the mistake of trying to access the NT from My Computer when the Linux Gadget drivers are loaded, before the NT drivers load, then that USB port will always subsequently load the device with the Linux Gadget drivers and no joy.

I am no expert, and if anyone can explain WHY this happens feel free, but I found this works without re-installing any drivers etc:

SAFELY remove the NT device from your computer.

Download USBDView (lost link myself or I would post it, Google it, sorry).

Unzip USBDView.zip and the open program.

Find any listed Linux Gadget device and uninstall it (right click, uninstall).

Clean your registry (I use my Norton 360) OR

Instead of using USBDView, using windows device manager reset the drive letter assigned to the USB port you were connected to by right clicking on it and deleting it.

Your USB should now hopefully recognize your Nook Tablet with NT drivers rather than the Links Gadget ones when you reconnect it to the same USB port.

Excuse my less than technically correct jargon, but you get the gist.

Hope this helps someone!
[Barnes & Noble Nook Tablet] snooch6923:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0 Kernel for Nook Tablet [13/1/16 ALPHA]

Kuzma,

Are you planning an SD card release of your recent CM10 (or ASOP JB) ROMs? I prefer not to mess with emmc (although I am rooted).

I read both threads, along with new Development Only thread for CM10 and see no mention of this.

Thanks for your reply.
[Barnes & Noble Nook Tablet] Kuzma30:
No plan for SD card release.
[Barnes & Noble Nook Tablet] lukeskope:
android.process.media Crash

I updated to the 20130116 build of this ROM yesterday. I had initially done a dirty flash, but that was bugging out, so backed up my apps with TiBu and did a clean wipe and flash. Now I am getting constant "android.process.media has stopped" whenever something happens involving a notification sound. It happens when I receive a notification, or when I attempt to access the sound panel in the settings.

I went into the Apps section, cleared data for Google Play Services and Media Storage, booted into CWM and repaired permissions. After boot, no media crash and I was able to enter the Sound panel and change the default notification sounds like normal. Thought I had fixed the problem, but about 10 minutes later it started crashing again.

16GB Nook Tablet, 32GB Transcend microSD, never any issues previously with microSD (have same one in my HTC phone)

Any insight?

Thanks
[Barnes & Noble Nook Tablet] TheForceUnleashed:
Try wiping system this time. You might still have a little bit of previous ROM. Wipe system, data, cache, THEN flash this rom.
[Barnes & Noble Nook Tablet] lukeskope:
As far as I can tell, that did the trick.
[Barnes & Noble Nook Tablet] sdun:
Hi,

I did the full wipe and flashed the latest version on my Nook 8Gb. Very impressing and smooth. The issues I have found:

1. Youtube app doesn't play videos (it stuck after 2sec of playing)

2. WiFi doesn't work with repeater. I have two WiFi networks with same ID (first one from router and another from repeater). It works with router but when Nook is connected to repeater the network communications doesn't work at all.

Regards, Denis
[Barnes & Noble Nook Tablet] ylixir:
I also got the "android.process.media has stopped" message after a clean install. I didn't wipe system but i did wipe data and cache.

However that isn't the main issue. Many apps that work on the 1/02/2013 aosp don't work on this build. They come up with a blank screen and say warning the app isn't supported. I dirty flashed back to aosp and the "android.process.media has stopped" still came up on boot, but those apps work again. One of the apps is "Puzzingo" if anyone wants to double check the issue--this is my toddlers nook ;).

I was hoping the "audio fix?" in the changelog would fix the problems with aosp, but this is worse unfortunately :(
[Barnes & Noble Nook Tablet] DavDoc:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0 Kernel for Nook Tablet [13/1/16 ALPHA]

Priviously running 01/04/13 version of this ROM and had not encountered any crashes. Flashing this current build (after full wipe), I had a crash after about 30min. of running it, requiring a hard reboot.

May be able to post logcat after work if I can reproduce crash.

Sent with my Dinc4G
[Barnes & Noble Nook Tablet] hellslave:
I'm having the same youtube problem. everything else is working fabulously.
[Barnes & Noble Nook Tablet] lukeskope:
No issues with Youtube here. Did a full wipe (system, data, cache) yesterday and things are very smooth.

However, and this has been the case with 3 straight JB ROMS I've tried, Gentle Alarm does not wake my device. When I turn it on in the morning it shows a missed alarm but device never wakes. Not a big deal since it works fine on my phone but a little strange.
[Barnes & Noble Nook Tablet] AugustusBot:
I have 2 nooks... And ive got them both flashed w/ this rom...

They both have the same MAC address and then IP, and so one is frequently booted offline.

Is the MAC being hardcoded?
[Barnes & Noble Nook Tablet] Kuzma30:
Read here http://xdaforums.com/showthread.php?t=2043867&page=8
[Barnes & Noble Nook Tablet] Hashcode:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0 Kernel for Nook Tablet [13/1/16 ALPHA]

Kuzma30: I updated the gits and fixed the error you were seeing the other night.
[Barnes & Noble Nook Tablet] SilentStormer:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0 Kernel for Nook Tablet [13/1/16 ALPHA]

This seems to be running pretty well, I just updated from an ancient CM9 build to this and let me tell you, the difference is drastic.

Seems nice and stable, seems nice and fast and I'm really happy. Hope to continue to see great support from the devs like for multitouch and a few other odd things but overall it's a great ROM. Great job devs, this truly is an experience as good as a normal Android tablet.
[Barnes & Noble Nook Tablet] Zippy Dufus:
Broken build environment, again.

I'm now getting these errors. I've had a couple successful builds until a sync did this. Currently, I am happily running a 20130122 build.

I checked the ion/Android.mk and didn't see any incomplete merges in it.

I should fix my build script so it stops if the repo sync is unsuccessful. Shown below is it carrying on to the brunch.

Any ideas?

[SIZE="1"][FONT="Courier New"]repo has been initialized in /home/android
warning: local_manifest.xml is deprecated; put local manifests in local_manifests instead
From git://github.com/CyanogenMod/android_hardware_qcom_media
d24f951..333d0e4 cm-10.1 -> github/cm-10.1
From git://github.com/CyanogenMod/android_packages_apps_Camera
e044329..752bbae cm-10.1 -> github/cm-10.1
From git://github.com/CyanogenMod/android_packages_apps_Trebuchet
8c2d3ee..9889f44 cm-10.1 -> github/cm-10.1
warning: local_manifest.xml is deprecated; put local manifests in local_manifests instead
[COLOR="Red"]error: you need to resolve your current index first
ion/Android.mk: needs merge[/COLOR]

[COLOR="red"]error: hardware/ti/omap4xxx/: KFire-Android/android_hardware_ti_omap4xxx checkout 743bb5ee1629f1a337054e4c0ac88c665ba9e8c1[/COLOR]
...
...
...
[32mtarget thumb C++:[0m libsurfaceflinger <= frameworks/native/services/surfaceflinger/SurfaceFlinger.cpp
frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp: In member function 'void android::HWComposer::loadHwcModule()':
frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp:374:38: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp: In member function 'android::status_t android::HWComposer::prepare()':
frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp:781:45: error: 'HWC_BLIT' was not declared in this scope
make: *** [/home/android/out/target/product/acclaim/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/DisplayHardware/HWComposer.o] Error 1
make: *** Waiting for unfinished jobs....
frameworks/native/services/surfaceflinger/SurfaceFlinger.cpp:403:2: warning: #warning "using EGL_IMG_context_priority" [-Wcpp]
frameworks/native/services/surfaceflinger/SurfaceFlinger.cpp: In member function 'void android::SurfaceFlinger::doComposeSurfaces(const android::sp<const android::DisplayDevice>&, const android::Region&)':
[COLOR="red"]frameworks/native/services/surfaceflinger/SurfaceFlinger.cpp:1579:26: error: 'HWC_BLIT' was not declared in this scope
make: *** [/home/android/out/target/product/acclaim/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/SurfaceFlinger.o] Error 1[/COLOR]

real	5m54.160s
user	6m22.134s
sys	0m36.707s[/FONT][/SIZE]
[Barnes & Noble Nook Tablet] succulent:
Make sure your boardconfig.mk is,

TARGET_SPECIFIC_HEADER_PATH := $(DEVICE_FOLDER)/include or src-headers

edit (include || src-headers)/hardware/hwcomposer_defs.h

https://github.com/succulent/androi...mmit/7b7a7885adfdcb61ca85488e628d474934973998
[Barnes & Noble Nook Tablet] blackstallion:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0 Kernel for Nook Tablet [13/1/16 ALPHA]

Do Netflix and YouTube work on this build? Going to flash a ROM onto my daughters 16GB Nook soon from the rooted but still stock SW, so these must function without a hitch. How does this CM10.1 build compare to the stock AOSP JB build I see a couple threads up from a stability viewpoint?

Sent from my Droid DNA
[Barnes & Noble Nook Tablet] SilentStormer:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0 Kernel for Nook Tablet [13/1/16 ALPHA]

HD YouTube works great, I can't confirm Netflix but YouTube is excellent.
[Barnes & Noble Nook Tablet] hellslave:
on the contrary. for me at least. even with doing a system, data, and cache wipe and fresh flash of the latest rom, youtube will not work for me at all. I can open it up no problem and view subs and search for vids just. but it absolutely will not play anything. ever. just loads and loads until it hangs and crashes.

same thing appears to happen with netflix as well. everything works properly until I try watching something. then it just loads and hangs
[Barnes & Noble Nook Tablet] lukeskope:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0 Kernel for Nook Tablet [13/1/16 ALPHA]

That sucks man but definitely your device and not this rom, just fired up Netflix in the black hole area of my house (worst wifi signal), Netflix loaded and started playing immediately.
[Barnes & Noble Nook Tablet] larrycl:
Just tried this rom out after previously using this CM10 build.

Apologies if this is a basic question, but in this (Kuzma's CM10.1) rom, it seems the notification icons in the status bar (battery, wifi, etc) are much smaller than the ones in my prior build. (This is hard on my "old" tired eyes)

Is there an easy way to make them larger? Or was it just the case that in my prior build, the icons were oversized?
[Barnes & Noble Nook Tablet] Mechapanda:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0 Kernel for Nook Tablet [13/1/16 ALPHA]

Oversized I think, but you can always change the dpi setting, although it would cause problems in apps and the app store

Sent from Outer Space
[Barnes & Noble Nook Tablet] SilentStormer:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0 Kernel for Nook Tablet [13/1/16 ALPHA]

Don't know what's up with that, I'm running the latest release of this ROM and have no issues at all.
[Barnes & Noble Nook Tablet] blackstallion:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0 Kernel for Nook Tablet [13/1/16 ALPHA]

I'll go ahead and give it a shot, hopefully Netflix and YouTube have no issues.

I don't see any place mentioned which version of CWM recovery needs to be installed to flash this ROM? Also, I'm assuming the process to install is simply backup current ROM, reboot into recovery, wipe cache & dalvik, flash new ROM and gapps and reboot?

Sent from my Droid DNA
[Barnes & Noble Nook Tablet] mingolianbeef:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0 Kernel for Nook Tablet [13/1/16 ALPHA]

CWM 6.0 or greater for any ROM higher than ICS
[Barnes & Noble Nook Tablet] Zippy Dufus:
[RESOLVED] More build woes

Hello, it's me again ...

I've hit another problem building this ROM. Here is the situation:

Step 1

I performed an "enema" (initialized) on my build environment by deleting all local files and directories so all build objects are checked out of my local copy of the repo. (I never check anything into my repo so it should be in sync with github.)

Step 2

I applied Succulent's first patch in this post The second patch is no longer unnecessary as it has been committed upstream. Below was the error it resolved and my diff.

build/core/base_rules.mk:130: [COLOR="red"]*** hardware/ti/omap4xxx/domx/domx: MODULE.TARGET.SHARED_LIBRARIES.libdomx already defined by device/bn/acclaim/domx/domx.[/COLOR] Stop.

$ diff Android.mk- Android.mk
1c1
< ifeq ($(TI_CUSTOM_DOMX_PATH),)
---
> ifneq ($(BOARD_USE_TI_ENHANCED_DOMX),true)

Step 3

I reviewed the objects as directed by Succulent and applied his patch in this post. Below is the problem it solved and my diff.

target thumb C++: libsurfaceflinger <= frameworks/native/services/surfaceflinger/GLExtensions.cpp
frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp: In member function 'void android::HWComposer::loadHwcModule()':
frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp:374:38: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp: In member function 'android::status_t android::HWComposer::prepare()':
[COLOR="Red"]frameworks/native/services/surfaceflinger/DisplayHardware/HWComposer.cpp:781:45: error: 'HWC_BLIT' was not declared in this scope[/COLOR]
make: *** [/home/android/out/target/product/acclaim/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/DisplayHardware/HWComposer.o] Error 1
make: *** Waiting for unfinished jobs....

$ diff hwcomposer_defs.h- hwcomposer_defs.h
99a100,103
>
> /* this layer will be handled in the HWC, using a blit engine */
> HWC_BLIT = 4,
>

Now I get this error about halfway through the build.

host C++: libicuuc <= external/icu4c/common/caniter.cpp
frameworks/base/core/res/res/values/symbols.xml:1893: [COLOR="Red"]error: Symbol 'expand_challenge_handle' declared with <java-symbol> not defined[/COLOR]
make: *** [/home/android/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1

I traced this to this CyanogenMod commit and verified that these updated objects have been synced to my local environment.

I believe that the problem is peculiar to this Nook build because I switched my second parallel build virtual machine to build the Samsung Galaxy S ROM (cm-10.1-20130126-UNOFFICIAL-galaxysmtd.zip) and this built without a problem.

Any ideas?

== EDIT ==

The following post from Succulent resolved this. Thanks!

Moreover, his assistance give me the understanding on how to resolve the next issue. I had to apply these patches too.
[Barnes & Noble Nook Tablet] succulent:
Edit your overlay/.../keyguard_host_view.xml

https://github.com/KFire-Android/an...re/res/res/layout-port/keyguard_host_view.xml
[Barnes & Noble Nook Tablet] c600g:
Just loaded this ROM (previously was using the AOSP 10.1 ROM) after complete factory reset and wipe, and Youtube works for a second, then crashes and the audio plays on in the background.
[Barnes & Noble Nook Tablet] Wannabdroid:
Re: [ROM/KERNEL] UNOFFICIAL CM10.1 + 3.0 Kernel for Nook Tablet [13/1/16 ALPHA]

Installed the latest release of this ROM successfully and everything seems to work great except for an app called Beautiful Widgets. It installs fine and seems to work but when I try to download other themes for the widget it gives an indication in the notification bar that the download is complete but there is a pop up that says "an error occurred during download". I've deleted and reinstalled it but I get the same pop up when trying to download themes. It doesn't allow the download to take place. Has anyone else had a similar issue with this? BTW, I've used this same app on many other rooted and customized devices and this is the first time I have had this problem. Any ideas what could be causing the download interruption?

Never mind, Duh! I realized it needs to have a SDcard in it to download the themes. Sorry for the bother.
[Barnes & Noble Nook Tablet] hinxman:
So i noticed that changing the DPI to what used to bring up tablet mode in CM9, now causes Trebuchet to crash repeatedly, this no longer allows users to get into a phablet mode, where they can get the two sided settings menu etc.

this was working on an older build, and i'm able to do it by default without altering the dpi on my nexus 10 running cm10.1, so i think there is a problem somewhere in here.
[Barnes & Noble Nook Tablet] Zippy Dufus:
tricky pointer

Hello,

I noticed all the changes on github so I am trying to build a ROM.

I think that elevator.c has mistake. I couldn't get past a compile error until I made the change below. Check carefully as I am a little rusty with C.

[COLOR="Green"]--- elevator.c-	2013-02-05 20:59:52.549000000 -0500
+++ elevator.c	2013-02-05 20:50:22.539000000 -0500[/COLOR]
[COLOR="Sienna"]@@ -748,8 +748,8 @@[/COLOR]
if (!list_empty(&q->queue_head))
return 0;

[COLOR="RoyalBlue"]-	if (e->ops->elevator_queue_empty_fn)
-	return e->ops->elevator_queue_empty_fn(q);[/COLOR]
[COLOR="SeaGreen"]+	if (e->type->ops.elevator_queue_empty_fn)
+	return e->type->ops.elevator_queue_empty_fn(q);[/COLOR]

return 1;
}
[Barnes & Noble Nook Tablet] succulent:
I think Kuzma missed something when he cherry pick the code because this structure block starting at line 744 was omitted,

int elv_queue_empty(struct request_queue *q)
{
struct elevator_queue *e = q->elevator;

if (!list_empty(&q->queue_head))
return 0;

if (e->ops->elevator_queue_empty_fn)
return e->ops->elevator_queue_empty_fn(q);

return 1;
}
EXPORT_SYMBOL(elv_queue_empty);
[Barnes & Noble Nook Tablet] steveh_131:
N00b question, but may I ask why you guys are compiling your own? Do you make modifications for yourselves or something?

Fascinating stuff! The geek in me wants to try it lol
[Barnes & Noble Nook Tablet] Zippy Dufus:
Just because. :cowboy:

Seriously, if you want to learn about computing and software quickly, this is one good way!

It is relatively simple:

Follow Fattire's excellent how-to for setting up a Ubuntu build environment. Windoze users should use free virtual machine software such as Oracle Virtual Box or VMWare. Just for fun, I used my favorite Linux, Fedora17 x64 to make this exercise more interesting.

When you get to retrieving the "local_manifest.xml" step, grab Kuzma30's version for CM10.1

Closely follow Kuzma30's README on the same link above to get the build started.

As of the time of writing this, you may still need these patches as per the end of my post here.

In addition to what the brilliant XDA devs do, Android is under heavy development so there are always lots of upstream changes from Google and CyanogenMod.

For even more fun, I cloned my virtual build machine, swapped in the local_manifest.xml for a Samsung Galaxy S phone and built a ROM on my first attempt.
[Barnes & Noble Nook Tablet] digixmax:
What kind of CPU and memory size are required to do a build in decent amount of time?
[Barnes & Noble Nook Tablet] hinxman:
My Linux machine is a dual core 2.6ghz, with 4gigs of ram, and an extra 80gb HDD for swap space... A full clean build takes me about 4 hours... A rebuild takes me about 15 to 20 minutes.
[Barnes & Noble Nook Tablet] Zippy Dufus:
My home desktop is a 7 yr old barebones AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ with 4GB memory. A complete build take 8 - 9hrs. A complete build means performing a make clean and recompiling everything. I always do this and do not care that my computer is busy all night while I am sleeping.

My employer-provided Dell Latitude Intel(R) Quad Core(TM) i7-2640M CPU @ 2.80GHz with 8GB memory. A complete build takes 2.5hr.

Both run Fedora17 x64 and the build is done on a Fedora17 x64 KVM virtual machine. On each VM I allocate 2GB of RAM and on the laptop I allocate 2 cores and only one core on the desktop.

You need a lot of disk space. When the enormous Android Github repo is fully-synced and all objects are compiled, the home directory of my build user requires 26.8GB with 490,000+ files.

When you perform the initial sync from github, I recommend using a single threaded download process because it must sync about 6GB of compressed files and when I initially tried multiple threads, it kept abnormally terminating out leaving behind partially-completed temporary transfer files and then starting over. One time, I downloaded more than 15GB before I realized this.

A Linux trick to speed up the compile is to perform an "init 3" as root to bring the VM non-graphical mode and build from the terminal session. The Cinnamon desktop tends to hog a lot of CPU.

=== // ===

Now, back on topic ...

I didn't flash the 20130206 build but my fellow-enthusiast cousin did and he reports that it immediately crashed upon first boot and when he rebooted, the WIFI refused to connect. I noticed that there is some new WIFI firmware in this build as well as a lot of other changes.

He will try flashing a 20130207 and tell me how it works.

I am travelling and need my Nook functioning so won't be flashing again until I do a 20130209 build. I'm currently running an extremely smooth and stable 20130202 build.

It is always fun to see what each new build brings!

Cheers.

== UPDATE ==

I built and flashed a 20130208 ROM and it is working great:

WIFI is working excellently

Youtube is working great. See link in next item. (I noticed some posts about Youtube issues).

Video playback is working superbly. I've used a Linux utility movgrab to download this 150MB HD MP4 video (work-safe) and always test new builds with it. (In previous builds, and I have noticed some post, I would get freezing of video playbac whereby the audio continues while the video freezes. I always wait a few minutes upon first boot after a flash to allow the media scan to complete before testing. This seems to alleviate this problem.)

All my other workflows working fine: email, TuneIn streaming radio, Yahoo mail and IM.

I had to apply this new patch to complete the build.

Kuzma30, excellent work. Thank-you!
[Barnes & Noble Nook Tablet] SilentStormer:
Sorry if this has already been discussed a thousand times already, but I've read through the past few pages and haven't found anything.

Is there any way to stop the the device from aggressively dropping wifi connections when the screen is off? I have the option to never drop wifi connections checked in Wifi>advanced but it still drops connections left and right. It's not so much of a problem at my house but at my school where you have to re-log-in to the wifi every time it drops it, that starts to grate on my nerves.

I fell out of the loop with the Nook development and so I'm sorry if this is really old news and comes across as derp. Thanks guys,

-Myke
[Barnes & Noble Nook Tablet] Demetris:
Hello

I have posted a test kernel for all of you to try from some commits i sent to kuzma.

I have the authority by kuzma to post it.

So please test and report.

More test i need is to try and crash ducati, then anything else that comes up.

Just flash with cwm and my script will take care of the kernel flashing :D