yashsingh1/xdaforums huggingface dataset:
[Nook HD, HD+ Android Development] ndttung8487:
Mine is working fine, I used to use Viet TV pro for watching international channels, cartoon or Youtube (ghost hunters series) for more than one hour everyday. All times it works fine for me. I always close all apps, turn off wifi before put device to sleep.

My wifi connection with secure as WPA2, and 54G only (my internet provider lend it to me).

BTW, [MENTION=3654172]verygreen[/MENTION]: I have an issue that sometimes my device auto reboot by itself or when i push power button, i saw it boot from Cyanogenmod screen. I use your latest emmc 05/27, my device: nook HD+ 16GB. bought from time it was launched.
[Nook HD, HD+ Android Development] dbrickg:
Yes, I think that's a known issue. Mine continues to reboot, too... not a total reboot, but it'll be nicely asleep, just sitting there with a black screen, and suddenly the cyanogenmod logo is spinning for about 5 or 10 seconds and then I get the unlock screen, and any apps that were running have stopped.
[Nook HD, HD+ Android Development] verygreen:
having logcat from that event might be useful to see why did the system service crashed.
[Nook HD, HD+ Android Development] dbrickg:
Where do logs live on android devices?
[Nook HD, HD+ Android Development] verygreen:
logs are not permanently stored, and I don't know how to make sense from "tombstones" (crash reports for apps). So you just need to run logcat soon after something is happened for best results.
[Nook HD, HD+ Android Development] dbrickg:
So, I've just run logcat, saved to a file. Is there anything I can look for to find the beginning of a reboot... or any other thing to look for? Sorry to be such a newbie on android logs. I'm used to seeing timestamps in logs.
[Nook HD, HD+ Android Development] verygreen:
You are looking for things crashing, they look like a bunch of register dumps with backtraces like this:

I/DEBUG ( 109): *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
***I/DEBUG ( 109): Build fingerprint: 'Android/cm_ovation/ovation:4.2.2/JDQ39E/
eng.green.20130529.131435:userdebug/test-keys'
I/DEBUG ( 109): Revision: '7'
I/DEBUG ( 109): pid: 110, tid: 140, name: SurfaceFlinger >>> /system/bin/surfaceflinger <<<
I/DEBUG ( 109): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaadI/DEBUG ( 109): r0 00000027 r1 deadbaad r2 4014e258 r3 00000000
I/DEBUG ( 109): r4 00000000 r5 4061f9bc r6 41bc99a8 r7 401c564c
I/DEBUG ( 109): r8 400ee220 r9 41bc9608 sl 4016bd6d fp 00100000I/DEBUG ( 109): ip 401cbfa8 sp 4061f9b8 lr 40121309 pc 4011d9c6 cpsr 600b0030
...
I/DEBUG ( 109): backtrace:
I/DEBUG ( 109): #00 pc 0001a9c6 /system/lib/libc.so
I/DEBUG ( 109): #01 pc 00018074 /system/lib/libc.so (abort+4)I/DEBUG ( 109): #02 pc 000015cd /system/lib/liblog.so (__android_log_assert+88)
I/DEBUG ( 109): #03 pc 00028f7b /system/lib/libsurfaceflinger.so (andr
oid::SurfaceFlinger::readyToRun()+126)
...

Or a java crash that would look like an exception with a backtrace like this:

E/Velvet.VelvetBackgroundTasksImpl( 1585): java.lang.NullPointerExceptionE/Velvet.VelvetBackgroundTasksImpl( 1585):	at com.google.common.base.Preco
nditions.checkNotNull(Preconditions.java:187)E/Velvet.VelvetBackgroundTasksImpl( 1585):	at com.google.android.apps.sidekick.LocationOracleImpl.getBgHandler(LocationOracleImpl.java:270) E/Velvet.VelvetBackgroundTasksImpl( 1585):	at com.google.android.apps.side
kick.LocationOracleImpl.requestRecentLocation(LocationOracleImpl.java:522)E/Velvet.VelvetBackgroundTasksImpl( 1585):	at com.google.android.searchcommon.google.complete.CompleteServerClient.query(CompleteServerClient.java:157)
E/Velvet.VelvetBackgroundTasksImpl( 1585):	at com.google.android.searchcom
mon.google.AbstractGoogleWebSource.doQueryInternal(AbstractGoogleWebSource.java
:61)E/Velvet.VelvetBackgroundTasksImpl( 1585):	at com.google.android.searchcom
mon.google.AbstractGoogleSource.getSuggestions(AbstractGoogleSource.java:65)
E/Velvet.VelvetBackgroundTasksImpl( 1585):	at com.google.android.searchcom
mon.google.WebSuggestSourceWrapper.getSuggestions(WebSuggestSourceWrapper.java:
60)
...
[Nook HD, HD+ Android Development] tebra:
Here is my logcat when connect my wiimote after my BT mouse.

I don't see anything about the wiimote in this logcat...
[Nook HD, HD+ Android Development] verygreen:
That's not logcat, that's dmesg.

Logcat you get by running "logcat" from adb shell or "adb logcat" from your host
[Nook HD, HD+ Android Development] dbrickg:
Sorry, that's all pretty much greek to me. I did see a "FATAL EXCEPTION IN SYSTEM PROCESS" I've put the complete dump here: http://kom.net/~dbrick/junk/logcat-20130530

Or I could just attach it in this forum. Let me know which is better. And I'm not sure if I caught it soon enough after the "reboot" so there may well be nothing interesting there. I'll try to grab it sooner next time.
[Nook HD, HD+ Android Development] verygreen:
Ok, that's good enough.

Seems to be some sort of generic OOM that's somewhat common all across different android devices for quite some time.

What's interesting the crash in dropbox service right after it:

It almost looks like the dropbox app is leaking file handles and that impacts the UI service in the end. Do you still see this issue if you uninstall the dropbox app?
[Nook HD, HD+ Android Development] dbrickg:
I don't find dropbox in Settings / Apps / All

Maybe it has a different name? One of those com.android.blah things? Or maybe there's some other way to look for it, something other than Settings / Apps?
[Nook HD, HD+ Android Development] verygreen:
The service might be part of some other app I imagine, but I don't know which, as I don't use dropbox at all.

Think what app you have entered your dropbox credentials into and try to disable dropbox syncing in there?
[Nook HD, HD+ Android Development] dbrickg:
I don't have a dropbox account... as far as I know. I do seem to recall, very vaguely, seeing something about another app that included dropbox? I looked in /data/system/dropbox, and I see 328 files, oldest being from the 28th.

dropbox isn't some part of a bug reporting system, even one that's not necessarily used?

there are a bunch of files in there with names like "SYSTEM_RECOVERY@12345..." and "SYSTEM_BOO@12234..." and "SYSTEM_TOMBSTONE@123..", and "event_data@12345..."

Ah, I found a thread on xda, http://xdaforums.com/showthread.php?t=999005, that talks about dropbox. evidently it's part of the debugging system on android since 2.2. Maybe the only reason I've no older logs is because I just installed this version of the emmc rom a few days ago....
[Nook HD, HD+ Android Development] dbrickg:
So, anyway, thanks much, verygreen. I've learned a lot about current android logging. I'll check the logs the next time I see the hd+ reboot itself. I don't think the problem is limited to this emmc rom. I'm pretty sure I remember seeing it when I was still using leapinlar's hybrid rom... which is more-or-less based on yours, is it not? But maybe it wasn't rebooting then. I really don't remember. Part of the problem is I don't even know when it's happening. Every once in awhile I happen to have it sitting in front of me when it reboots, but I imagine it's going on more often than that, and I don't even notice.
[Nook HD, HD+ Android Development] leapinlar:
If you look at the battery stats in settings, you should see blank spots in the history when it reboots.

Sent from my Nook HD+ running CM10 on Hybrid SD
[Nook HD, HD+ Android Development] dbrickg:
Hmm, good idea, but no, at least not this time... the whole "reboot" process only takes maybe 15 seconds, probably less. It's not like a full reboot, where it gracefully shuts everything down and goes to the nook logo and then cyanoboot and then the cyanogenmod rotating logo. it just goes directly from a blank sleeping screen to the cyanogenmod logo and a few seconds later the lockscreen
[Nook HD, HD+ Android Development] leapinlar:
Then it is a soft reboot, not a full reboot. Just the graphical interface is resetting.

Sent from my Nook HD+ running CM10 on Hybrid SD
[Nook HD, HD+ Android Development] verygreen:
Yes, this is what happened. But even that is not supposed to happen.

Really looks like some sort of a resource leakage somewhere based on the logs.
[Nook HD, HD+ Android Development] bpaulien:
A quick note before I go to bed. I finally decided to go with the emmc install. I've been holding off on it, but when I finally realized that I haven't even been in stock for over a month, I decided that I wouldn't really miss it that much.

So far, it's going well, but I've really only done the setup and recovery of the backup in titanium backup. Anyway I finally decided to go for it after leapinlar indicated that he was not supporting his hybrid any longer. After considering the alternatives, and considering that I won't really miss stock, I decided to take the plunge. It was easy to set up and install and I'll play with it more this weekend.

Thanks for making this available, very green! I'm looking forward to seeing how it works out.

Sent using my nook HD+ running cm10.1 hybrid SD from Tapatalk HD
[Nook HD, HD+ Android Development] dbrickg:
Yes, it's not really a reboot at all. In regular unix terms, it's as if my login session had died, taking all my open apps with it. But, as verygreen says, it's really not supposed to do that (colon, close parenthesis). The engine didn't die, the car just opened the door and ejected me from the driver's seat...
[Nook HD, HD+ Android Development] tebra:
one more try for logcat with wiimote

130|u0_a39@android:/ $ logcat
--------- beginning of /dev/log/main
I/dalvikvm(14462): Turning on JNI app bug workarounds for target SDK version 11...
E/Trace (14462): error opening trace file: No such file or directory (2)
E/Term (14462): onCreate
D/Term (14462): TermService started
I/TermService(14462): Activity called onBind()
I/Term (14462): Bound to TermService
I/TermService(14462): Activity binding to service
D/dalvikvm(14462): Trying to load lib /data/app-lib/jackpal.androidterm-1/libjackpal-androidterm4.so 0x40d9b8a0
D/dalvikvm(14462): Added shared lib /data/app-lib/jackpal.androidterm-1/libjackpal-androidterm4.so 0x40d9b8a0
I/libjackpal-androidterm(14462): JNI_OnLoad
I/Term (14462): waiting for: 14477
W/IInputConnectionWrapper(14462): showStatusIcon on inactive InputConnection
^C
[Nook HD, HD+ Android Development] verygreen:
new binary snapshot, just rebased to CM10.1-RC3 source base, no nook-specific changes.

cm-10.1-20130530-UNOFFICIAL-ovation-emmc.zip
[Nook HD, HD+ Android Development] Demetris:
Hello,
[MENTION=3654172]verygreen[/MENTION]: is there a way to have some link to source for this?

I checked your github but i couldnt find anything :(

I just want to check if we can cherry pick anything useful for Nook Tablet (acclaim) from our bigger brother :)

Peace.
[Nook HD, HD+ Android Development] tebra:
forget about BT and Wiimote

This is a bug in android 4.2

See here: http://xdaforums.com/showthread.php?t=2029981

Sorry
[Nook HD, HD+ Android Development] thegracious:
[MENTION=3654172]verygreen[/MENTION] I think the need for an extra-sd for the installation of emmc is quite uncomfortable. Hope you could build (just suggestion) s/t such as a bootable sd so that one could choose whether it booted to cm10.1 or to cynanomod (for update/ back up cm10.1)
[Nook HD, HD+ Android Development] verygreen:
You mean like my device tree at https://github.com/verygreen/android_device_bn_ovation or nook kernel tree at https://github.com/verygreen/green_kernel_omap ?

Granted, I don't think you'll find a lot of useful stuff for Nook Tablet there, originally I borrowed heavily from NT source ;)
[Nook HD, HD+ Android Development] verygreen:
You only need extra install SD once - during initial install. Once you install EMMC recovery, you no longer need the install SD and can use EMMC recovery for your backup/restore needs and normally formatted sdcards for storage?

I mean I am planning to look into menu-bearing loader anyway, but I don't see what the problem with the current solution and I would imagine lack of menu is only going to be annoying to people that still use sdcard CM version instead of emmc.
[Nook HD, HD+ Android Development] dbrickg:
Thanks! Downloaded and installed. Had a bad moment there for a minute, when it wouldn't go past the cyanoboot logo, but holding the power button down till it shut off, and then again till it restarted seems to have fixed it.

I'll keep an eye out for that soft "reboot" problem and report back with logs if I see it again.

P.S. I know Quadrand Standard isn't necessarily indicative of anything real, but just for fun, I ran it with this new rom, and it's now moving up a bit in the pack, with a score of 3001. It used to always show up at 2750 or so, neck-and-neck with Motorola ATRIX 4G and Samsung Galaxy Tab 10.1. Now it's in a solid 3rd place, with only Asus Transformer Prime TF201 and HTC One X above it.
[Nook HD, HD+ Android Development] Demetris:
Thanks for the links I blame my self how I missed them :)

Regards
[Nook HD, HD+ Android Development] king200:
Settings Crash

Settings ->System->Buttons and Layout -tap lock icon -> CRASH (unfortunately....)

Happens happened with 5/27 and 5/30. Tried a clean install, i.e. no prior data or settings. Same problem.
[Nook HD, HD+ Android Development] dbrickg:
Hmm, not sure what you mean by "lock icon". Assuming it's the little padlock in the upper right corner of the screen, I tried touching that, and mine didn't "crash", but I did get a message saying "unfortunately settings has stopped"... or something like that, and it kicked me back to my home screen
[Nook HD, HD+ Android Development] Zippy Dufus:
Build error - duplicate defines

Hello again,

I am stuck on this error:

build/core/base_rules.mk:130: *** kernel/bn/ovation/external/wpan/ti_st/uim-sysfs: MODULE.TARGET.EXECUTABLES.uim-sysfs already defined by hardware/ti/wpan/ti_st/uim-sysfs. Stop.​

As instructed, I put the wpan directory from the B&N source code tarball external_2.0.0.tar.gz into kernel/bn/ovation/external/

Curiously, I initially somehow got a build to complete but BT and wifi didn't work. This fluke build was the result of much stopping and starting as I was debugging my new build virtual machine. However, I have since not been able to do a clean run from start to finish (but have done so with my Nook Color and Galaxy S).

I've also tried changing the BOARD_HAVE_BLUETOOTH := false in the BoardConfig.mk file. This didn't help.

Also, which B&N release should I be using? I also saw a full tarball external_2.0.2.tar.gz plus some incremental tarballs. None of the incremental tarballs include a wpan directory.

Any assistance would be greatly appreciated.

Thanks.
[Nook HD, HD+ Android Development] verygreen:
That's because you did not follow my instructions.

You only need to copy one dir I indicated, not entire wpan.
[Nook HD, HD+ Android Development] Delvien:
Download link is down it seems
[Nook HD, HD+ Android Development] dbrickg:
So, I've been paying a little more attention to how often these soft reboots occur, and it appears to be several times per day. It just did it again, and I grabbed a logcat. I sure wish there were timestamps on these log entries. I don't have any idea what I'm looking for. Anyway, the whole output is here, if that'll help:

http://kom.net/~dbrick/junk/logcat-20130601
[Nook HD, HD+ Android Development] verygreen:
D/Sensors ( 5374): sensor activation called: handle=0, enabled=1********************************
E/Sensors ( 5374): Error setting delay of kxtf9 accelerometer (Too many open files)
E/Sensors ( 5374): Error setting delay of kxtf9 accelerometer (Too many open files)
D/dalvikvm( 5374): GC_EXPLICIT freed 978K, 29% free 13969K/19584K, paused 7ms+9ms, total 112ms
D/Sensors ( 5374): sensor activation called: handle=0, enabled=0********************************
E/Sensors ( 5374): Error setting enable of kxtf9 accelerometer (Too many open files)
E/SensorService( 5374): Error disabling sensor 0 (Too many open files)
E/Sensors ( 5374): Error setting delay of kxtf9 accelerometer (Too many open files)
E/BatteryService( 5374): Could not open '/sys/class/power_supply/bq2419x-wall/online'
E/BatteryService( 5374): Could not open '/sys/class/power_supply/bq2419x-usb/online'
E/BatteryService( 5374): Could not open '/sys/class/power_supply/bq27500-0/present'
E/BatteryService( 5374): Could not open '/sys/class/power_supply/bq27500-0/capacity'
E/BatteryService( 5374): Could not open '/sys/class/power_supply/bq27500-0/voltage_now'
E/BatteryService( 5374): Could not open '/sys/class/power_supply/bq27500-0/temp'
E/BatteryService( 5374): Could not open '/sys/class/power_supply/bq27500-0/status'
E/BatteryService( 5374): Could not open '/sys/class/power_supply/bq27500-0/health'
E/BatteryService( 5374): Could not open '/sys/class/power_supply/bq27500-0/technology'
I/PowerManagerService( 5374): Waking up from sleep...
D/Sensors ( 5374): sensor activation called: handle=0, enabled=1********************************
E/Sensors ( 5374): Error setting delay of kxtf9 accelerometer (Too many open files)
E/Sensors ( 5374): Error setting delay of kxtf9 accelerometer (Too many open files)
E/CursorWindow( 5374): Could not allocate CursorWindow '/data/system/locksettings.db' of size 2097152 due to error -24.
E/CursorWindow( 5374): Could not allocate CursorWindow '/data/system/locksettings.db' of size 2097152 due to error -24.
W/dalvikvm( 5374): threadid=13: thread exiting with uncaught exception (group=0x41759930)
W/dalvikvm( 5374): threadid=11: thread exiting with uncaught exception (group=0x41759930)

You definitely have somethng that is leaking file descriptors.

I checked my logcats and I don't have anything even remotely similar.
[Nook HD, HD+ Android Development] dbrickg:
So, what's the best way to go about figuring out what? Is there any kind of logging I can do? Should I do a clean install and gradually start adding apps...? Or the other way around, gradually start removing stuff? Or...?

Hmm, just looked at Settings / Battery, and Google Maps is using like 34%, even though I haven't explicitly started it.
[Nook HD, HD+ Android Development] verygreen:
Wel, I don't know if that's the best way, but it'll probably work.

I think apps that use maps services like geolocation are showing in this way.
[Nook HD, HD+ Android Development] Zippy Dufus:
Puzzled again

Yup, apparently I messed up when I automated the drop of single bluetooth-compat which explains my first "working" build when I initially did this manually.

However, the wifi is not working but bluetooth is. I've repeated this issue with 2 complete builds where I compiled everything. Your 05/30 is working fine. I've tried both B&N tarballs (even though I compared and confirmed that the contents of the bluetooth-compat are the same). I've reviewed my logs and see no obvious errors and can see there it is compiling BT from bluetooth-compat.

Question, when do you drop in the bluetooth-compat directory - before or after the envsetup.sh is run? (Maybe compiler defines, includes, and directives are getting mixed up? I drop it in prior to envsetup.sh.)
[Nook HD, HD+ Android Development] dbrickg:
So, I uninstalled google maps. So far the nook hasn't soft rebooted. I'll keep an eye on it and report back if/when I see another reboot
[Nook HD, HD+ Android Development] sorun343:
flash to 5/30 , some of the apps become not compatible with device with in play store.

flash back to 5/27, everything back to normal.
[Nook HD, HD+ Android Development] verygreen:
Care to provide some examples?

Hm, I removed proximity sensor permission, as we don't have it, and that might have been a mistake.
[Nook HD, HD+ Android Development] Iggy82:
Anyone else unable to use 'Wi-Fi Direct'? I can't rename the device or search for others.
[Nook HD, HD+ Android Development] YOUCANNOTDENY:
Same problem here.
[Nook HD, HD+ Android Development] king200:
There is some discussion in Poweramp's help forum: http://forum.powerampapp.com/index.php?/topic/4786-poweramp-not-starting/ where Poweramp will not run with latest CM 10.1 build. The problem in CM is referenced and I believe is scheduled for fix in CM .

Update: Poweramp working 0603 build.
[Nook HD, HD+ Android Development] dbrickg:
Since I removed Google Maps, I haven't had a single soft reboot. So, evidently something was using Maps, or it was trying to run in the background, and maybe it was trying to use GPS... I don't know where to go from here. It's nice to have maps, but I don't want the Nook to keep crashing. I guess I'll try installing Maps again, and disable GPS in Settings / Location. Though you'd think it'd be smart enough not to use GPS if there is no GPS.... Any other suggestions would be more than welcome....
[Nook HD, HD+ Android Development] leapinlar:
Maps does run a service in the background, and if you had location services set to use the non-existent GPS, that could have caused an upset when it tried to access it.

Sent from my Nook HD+ running CM10 on Hybrid SD
[Nook HD, HD+ Android Development] sean_nj:
Hi guys,

I just got two HD+ 32GB and installed cm-10.1-20130527-UNOFFICIAL-ovation-emmc. The installation went well, and I can boot the tablets into twrp recovery. But I cannot boot one tablet into Android. It always hangs on CyanogenMod log (the rotating circle/wheel with CyanogenMod text at the center) when trying to boot into Android. I reboot the tablet several times now and still have the same issue.

I repeated the same procedure on another Nook HD+ 32GB and I can boot the second tablet into Android after several reboots. But I still have no luck with the first tablet.

Any suggestion?

Thanks a lot for the help!

Sean
[Nook HD, HD+ Android Development] Ogre6473:
So is anyone else having an issue getting the app store to open?
[Nook HD, HD+ Android Development] verygreen:
did you wipe cache?
[Nook HD, HD+ Android Development] sorun343:
hi verygreen, flipboard is one of them. i flash to 5/30 , play store report only 19/32 app is compatible. i flash it back after discovering that flipboard is one of them.
[Nook HD, HD+ Android Development] thatdude90210:
I have flipboard installed before upgrading from 5/27 to 5/30. I'm not seeing anything from the play store about it being incompatible. I only see the option to uninstall or open.
[Nook HD, HD+ Android Development] bpaulien:
I have not had any problems with flipboard either. I'm running 0530 version also.

Of course I already had it installed, so that might be the difference. But play store doesn't say anything about compatibility issues on my system.

Sent from my nook HD+ running cm10.1 on emmc from Tapatalk HD
[Nook HD, HD+ Android Development] sean_nj:
I just got it to work. I booted the Nook HD+ into TWRP and wiped out system, data, internal storage, and caches, then re-installed CM10.1-emmc and gapps. Now it works.

Thanks,

Sean
[Nook HD, HD+ Android Development] verygreen:
New snapshot cm-10.1-20130603-UNOFFICIAL-ovation-emmc.zip

Changes:

- Rebased on CM10.1-RC4 source

- returned proximity sensor permisison, to see if it was responsible for some app incompatibility.

- Forced USB Host support.

Forced USB host does not require a special (yet unreleased) B&N OTG cable, but rather is a software hack. You WILL need a gender-changer (female-female USB adapter like this).

To enable usbhost support, plug whatever is it youplan to work with, start USBHostSwitcher and flip the switch into "On", sign under the button should read "enabled". (Sorry, I know this is awfully looking piece of software, but UI is definitely not my trade, neither are android app. If there is somebody who can show me how to integrate this into the status bar or other such central location, that would be excellent).

Both self-powered and external powered modes are working. To enable external powered mode, connect the power first, then enable forced USB host mode.

Note about usb flash storage: these would only automount if you plug one directly, or if you plug into first port of usb hub, other ports would not automount (and I have not found a way to automount usb storage in port-independent way).

[YOUTUBE]SdWRioI9PL4[/YOUTUBE]