yashsingh1/xdaforums huggingface dataset:
[Nook HD, HD+ Android Development] verygreen:
New binary snapshot: cm-10.1-20130613-UNOFFICIAL-ovation-sdcard.zip

Main change - boosted some audio levels.
[Nook HD, HD+ Android Development] fcanha:
I'm still using the Legacy card. I remember it being an issue but thought it was fixed. Did it get re-introduced somehow? I am using a clone of the SD card, but I thought it was fixed so that it didn't matter if it was a clone. Meaning, I remember this being an issue for the Nook Color, and I have two Nook Colors running a clone of the same SD card and all stay connected.

Hmm...
[Nook HD, HD+ Android Development] verygreen:
You definitely don't want to have a full cloned cards because now first time after you install a ROM, next reboot mac address is updated from device storage.

Which means if you did clone a rom, the easy fix is install an update (separately for each card, on separate devices), even if the update is just the same old rom you already have.
[Nook HD, HD+ Android Development] js365:
Just update to this version.

The task-switch soft button seems not working anymore. Tried reboot couple times. Still failed.

Anyone has the same problem? :(

---------- Post added 13th June 2013 at 12:03 AM ---------- Previous post was 12th June 2013 at 11:19 PM ----------

Sorry.... it works perfect now. No idea....
[Nook HD, HD+ Android Development] RoundSparrow:
Some information to share.

Taking SD Card from one Nook HD+ to another. SYSTEM ONE: One was 16GB that had been setup with the B&N 2.1 firmware and then I setup the CM 10.1 2013-06-06 on SD card. SYSTEM TWO: the new one 32GB. I have never booted the built-in firmware... I took my SD Card out of the 16GB... into the virgin 32GB. The SD Card booted fine but behaved as if CM 10.1 had just been flashed and did the App optimization stage during boot. Maybe change ro.product.device or something similar differs enough to trigger this? I haven't yet gone back to the 16GB to see if it does this on every boot.

I see the advice given in the first post against SanDisk Ultra - but I dd my install to 3 different cards and by far the SanDisk Ultra 64 GB microSDXC Class 10 UHS-1 Memory Card 30MB/s with Adapter SDSDQUA-064G-U46A works the best. The performance is very good on 4K random read/writes and sync gmail and such is far faster. I have done a lot of low-level Linux benchmarks, really it is working well. This particular Sandisk Ultra is recommended as an card to run CM 10.1 off directly.
[Nook HD, HD+ Android Development] verygreen:
the EMMC /cache is used even for sdcards, so first time you boot in another nook, it needs to rebuild the cache, also after every boot to stock.

Well, it's a hit and miss really, I have 16G Sandisk ultra card and it's very finicky, I get tons of IO errors (less now with the latest patch, but still).

Class4 on the other hand are super robust, not a single io error.
[Nook HD, HD+ Android Development] js365:
Have anyone tried the USB host feature?

I tried with some USB drives, and USB keyboard. It works as expected.

I tried to plug/unplug the USB keyboard. No problem at all.

When I tried to plug/unplug the USB drives. It works at the very first time.

1. Boot to CM 10.1 (0613 build), enable USB host.

2. Plug in the USB drive. It works. Able to view the files from file manager. (usb0)

3. Unplug the USB drive and plug in again. It shows nothing. (I can see usb0 but nothing inside.)

Tried to enable/disable the USB host feature. Tried different USB drives. Tried to plug the keyboard (it works) then unplug and plug in the USB drive again. It shows nothing.

After reboot, it works again at the very first time.....

Any step I missed? And setting needed?

Thanks.
[Nook HD, HD+ Android Development] verygreen:
Naturally I did.

So when you unplug, does it show the "Sdcard unexpectedly removed" warning?

It does for me when I unplug usbdrive. So when I plug it back in, it tells me briefly "preparing sdcard" and then the storage is accessible again - I verified by doing ls in /storage/usb0 from terminal.

I can repeat this as many times as I want and it works every time, no reboots.

If you don't get the "preparing sdcard" notification when you plug the card in, or no "unexpectedly removed" notification when you unplug, then that's robably the rason for your problems.

Do you use usb hub or plug directly?
[Nook HD, HD+ Android Development] js365:
1. I connect the usb drive directly (nook cable + f-f usb adaptor + usb drive)

2. I see "preparing sdcard" when I plug the usb drive first time.

3. I see "Removed SD Card" when I unplug the usb drive "every" time.

4. I tried using terminal. Still nothing under usb0.

:(
[Nook HD, HD+ Android Development] verygreen:
Do you see a usb connection event in dmesg after you plug the usb drive for the second time? It works perfectly for me.
[Nook HD, HD+ Android Development] js365:
No. Nothing shows up except the first time plug.....
[Nook HD, HD+ Android Development] verygreen:
Well, I am out of ideas then, esp since other devices still work, so the port is obviously in the right state.

Try to use (unpowered) usb hub to see if it makes a divverence? Also try to add external usb power to see if that makes any difference, perhaps your usb storage is too power hungry internally?
[Nook HD, HD+ Android Development] js365:
Mmmm.... Tried the USB hub (with external power) as well. Still same result.

I'm not sure about the power consumption. Tried different brand and size.....

Here is my OS update history. Don't know if it helps or not.

0605 (flash install) -> 0612 -> 0613
[Nook HD, HD+ Android Development] verygreen:
I am out of ideas then. If there's not even a connection event in dmesg, I don't know what to think.

Nobody else reported this too, so could this be isolated to just your devices, I wonder?

Update history should not really affect anything.
[Nook HD, HD+ Android Development] js365:
Mmmm.... I really hope it's not the device.

I might try to reinstall the latest binary again. Hope it works then.

Thanks!!
[Nook HD, HD+ Android Development] :
Just got to try USB hosting myself. Finally , have a device that it actually works on. The issue you bring up is not happening here as of yet. Device contents continue to show up. A note that nothing for me works directly with only a fem-fem USB adapter - all my devices need external power.

Old USB media card adapter

Microsoft sidewinder x3

Logitech g15 gen1

ps3 controller

all working

thanks for making the ROM available and work done.
[Nook HD, HD+ Android Development] verygreen:
At least the media card adapter and PS3 controller do not NEED external power, they just claim they do, so you need to hide them behind a hub. Even unpowered hub would do.
[Nook HD, HD+ Android Development] jeff72k:
I'm wondering how many others are having reliability issues when trying to boot off the SD card build? Do people think it is the SD cards or the Nook HD+ devices themselves? I'm wondering if I should try an exchange on the Nook HD+. I have had a few times where the device won't boot off the SD card and am not sure if it is the SD card or the Nook HD+ tablet's SD card reader itself.

I am using the SanDisk microSDHC 32GB Flash Memory Card, Black, SDSDQM-032G-B35 (Retail Packaging) Class 4 Speed performance rating. (got from Amazon).
[Nook HD, HD+ Android Development] leapinlar:
It can be the SD, but some of the newer HD+ devices are finicky with booting to any SD. An exchange might be warranted while you still can.

Sent from my Nook HD+ running CM10.1 on emmc.
[Nook HD, HD+ Android Development] gvw755:
I also just started having boot problems where the counter rotating circles stay on forever without going to the login screen. Originally it would happen once in five times, but yesterday we happened every time. I know it isn't my nook hd+ because I was using the sd card install with cm 10 since the early days. I used a sandisk class 10 16gb for both the cm10 and cm10.1 and things worked perfectly on cm10. I am using the 2 partition image with cm10.1.
[Nook HD, HD+ Android Development] jeff72k:
I ran 10 power on tests from powered off from two different SD cards with the below results on boot:

SanDisk 32GB Class 4 SD card (CyanogenMod (cm) 10.1 SD bootable)

Test power on from powered off state, 10 tries:

01 cm

02 cm

03 nook stock

04 nook stock

05 cm

06 cm

07 cm

08 nook stock

09 nook stock

10 nook stock

SanDisk 8GB Class 4 SD card (ClockWorkMod (cwm) SD bootable)

Test power on from powered off state, 10 tries:

01 nook stock

02 cwm

03 cwm

04 nook stock

05 nook stock

06 cwm

07 nook stock

08 nook stock

09 cwm

10 cwm

Note: Nook stock seems to see the SD card after booting into Nook stock. So I wonder if it is just a boot timing issue.

Note2: Left Nook HD+ on overnight running SD card boot CM 10.1, found Nook at stock Nook software next morning.

I think i'm going to try an exchange. I wonder if people normally have stable boots though or if the above is "normal" for the Nook HD+?
[Nook HD, HD+ Android Development] RoundSparrow:
I'm not trying to sound like an ass here, but I think you are entirely missing the point. Do you sincerely believe a Sandisk Ultra 16GB card has much at all in common with a Sandisk Ultra 64GB card? These are of far different generations and nm level technology. For one, the 64GB is SDXC and has a controller inside it that is geared for ExFAT which isn't used in SDXC. I'm not going to dissect one of these to post detailed chip photos... but...

Two new Nook HD+, one 16GB and one 32GB, purchased directly from B&N mail-order.... two different SDSDQUA-064G-U46A cards... all combinations boot 100% and provide excellent performance with CM 10.1 2013-06-06 sdcard (ovation). I am certain these are both authentic cards, as I've done my share of study on fake / counterfeit cards.

If we find differences between two identical 64GB cards - I suggest we even go so far as to post identical download images (dd) to eliminate any format factors. Further, we might even be able to come up with some serial numbers or precise Desktop (Windows or Linux) benchmark to determine the key difference in the cards. Typically a range of serial numbers can be identified if a product line has internal changes.

We KNOW there are cards that this Nook HD+ does not work well with - I have several incompatible cards here in person. So I'm saying that this particular model SDSDQUA-064G-U46A works - why confuse the issue by saying the 16GB doesn't work just because the company chooses to put the same plastic color scheme and marketing on that card. They are clearly different cards, the capacity isn't just a trivial change. I also spent a lot of time doing low-level tests with this card on a Sero 7 Pro. It seems to work very well with Android and ext4. I thought people were seeking a reliable card, let's not confuse it with different cards in the same model line ;)
[Nook HD, HD+ Android Development] verygreen:
I can totally believe there are different cards sold under the same label/model number. They can behave differently too, have different internal firmware and such.

The problem is, there is no real way to know which ones will work and which won't before you try. Also they might work in some nooks and not work in others.

The real problem is - Nook sdcard interface is out of spec and fails flat on it's face frequently.

Same cards work in other devices perfectly, including Nook Color (I heard Nook Tablet had it's share of problems with sdcard, but I don't own one).

If sdcard operation correctness was important for me, I would have returned my Nook HD+ on like second day, once the problems became apparent.

As it is now, the problems are just a nuisance that I can live with, esp. now that boot from emmc is possible.

Also I noticed that with latest kernel patch at least streaming IO is much less troublesome. It used to be that I could not even copy an update image to sdcard via adb reliably, or finish an install - have not see those in a while (though I stopped using my ultra cards lately too because they still run CM unreliably).
[Nook HD, HD+ Android Development] RoundSparrow:
I agree that the problem is with the Nook, and likely the linux kernel driver being used on the nook. Yet, I do feel that the advice around here of "use class 4 or class 6" cards without consideration of brand or model is self-defeating. The 4k random read/write is absolutely critical to running the OS off the card itself - and there are other factors that are specific to this problematic device.

The number of devices that can boot from SD Card is very few... so I count myself happy ;)
[Nook HD, HD+ Android Development] jeff72k:
I exchanged my Nook HD+ 32GB for a replacement, and now i'm getting worse results:

Nook HD+ #2

-----------

SanDisk 32GB Class 4 SD card (CyanogenMod (cm) 10.1 SD bootable)

Test power on from powered off state, 10 tries:

01 nook stock

02 nook stock

03 nook stock

04 nook stock

05 nook stock

06 nook stock

07 nook stock

08 nook stock

09 nook stock

10 nook stock

SanDisk 8GB Class 4 SD card (ClockWorkMod (cwm) SD bootable)

Test power on from powered off state, 10 tries:

01 cwm

02 nook stock

03 nook stock

04 nook stock

05 nook stock

06 cwm

07 cwm

08 nook stock

09 nook stock

10 nook stock
[Nook HD, HD+ Android Development] verygreen:
Since changelogs are the same with emmc releases, from now on I just plan to update the OP here with new links.

New binary drop cm-10.1-20130615-UNOFFICIAL-ovation-sdcard.zip

Changes:

- Added WiFi Direct

- Apple magic mouse now works.

- BT reverse tethering (i.e. using your cellphone's internet over BT) is now working

- headphones are now louder too.
[Nook HD, HD+ Android Development] RoundSparrow:
Is it possible to make a variation of the SD Card with all the Linux kernel console output instead of the CM graphics? Even clockworkmod has a graphical boot. It might help troubleshoot exactly why some of these SD Cards are getting hung up... Just a thought...

Suggestion: The sdcard first-time install/partition script could e2label the 3 partitions.

Thanks for the new 2013-06-15 build.
[Nook HD, HD+ Android Development] fanoush:
Checked again after some time and Google Earth and those three games by Vector Unit developers still crash. Maybe you can add it to known issues?

Also is it doable to take opengl drivers from stock firmware or it's simply impossible?
[Nook HD, HD+ Android Development] jeff72k:
Updates:

I updated the stock Nook HD+ to 2.1 but same problem with not booting to SD card reliably.

I tried a SanDisk 32GB Class 10 card I had for my digicam, same problem and it wouldn't boot from SD card.

I'm really thinking the issue is something with the newer batch of Nook HD+ 32GB tablets SD card readers, or the power is not getting to them in time to boot the SD card.

Note: I WAS able to get the system to boot off the SD card after plugging in the USB cable into my running PC computer and then I plugged the other end of the USB cable into the Nook HD+ while the SD card was in it and the Nook HD+ had been powered off. After plugging the cable into the Nook HD+, the device automatically powered itself on and booted off the SD card.

Update2: scratch that, this is not reliable either.
[Nook HD, HD+ Android Development] :
You are indeed correct. Good stuff. Thanks for that.
[Nook HD, HD+ Android Development] bykim5:
.wrong thread
[Nook HD, HD+ Android Development] randyf1965:
I found today after I purchased a new Nook HD+ 16GB at B&N that if it is doing an update it will NOT boot from the sd card. So in settings - device information - software version and verify that it is not checking/applying updates.
[Nook HD, HD+ Android Development] verygreen:
What do you mean?

sdcard priority on cold boot is set at the cpu (I fuess I should say SoC) level, there's nothing in the software that could be done to override that.
[Nook HD, HD+ Android Development] RoundSparrow:
In my view, your situation cries out for an in-person testing round with another set of SD Cards working and created by another person ;) Your cards in someone's known-good Nook and their cards in your Nook. As sometimes one can have certain non-obvious techniques that can create a path of wasted time. I know it isn't always possible to meet up with other people due to geographical or other situations - but it really could be a way to save a massive amount of time and effort.

On another note... is there a way to determine the hardware version of the Nook HD+? Serial numbers, etc?
[Nook HD, HD+ Android Development] leapinlar:
If you look in /rom/defconf, you will see a set of configuration files. There is one labeled DateManufactured. That contains the date of manufacture. (Btw, don't mess with those files, you may really screw up your device).

I can definitely confirm that some devices boot reliably to SD and some do not. I have 5 HD+s and 4 boot reliably and 1 does not. The 1 that does not was manufactured in January 2013. I think there may be a difference in the slot hardware. Some have noted that blowing air into the slot sometimes helps the finicky ones.

Sent from my Nook HD+ running CM10.1 on emmc.
[Nook HD, HD+ Android Development] RoundSparrow:
Cool, thank you.

If I take this SD Card and pop it into another Android CM 10.1 system - what are most people doing to get partition 3 to mount ;) I know I can do it from the shell but wondering if there is a recommended file explorer or GUI mount utility that lets you pick this third partition. The apps I tried all didn't seem to go past the first tiny partition. Thanks.
[Nook HD, HD+ Android Development] leapinlar:
Another Android system like what? A phone? His partition 3 sdcard is an emulated sdcard so it is not possible for other devices to automatically see it. I have a zip in my HD/HD+ CWM thread (item 9) that will let stock see it. You may get some clues by studying that zip.

You can also modify the /etc/vold.fstab to say 'sdcard 3' instead of 'sdcard auto' and then look in the media folder in sdcard when mounted.

Sent from my Nook HD+ running CM10.1 on emmc.
[Nook HD, HD+ Android Development] RoundSparrow:
I'm not looking for automatic ;) I figured people here are most likely to have encountered this desire. An Android GUI App that lets you pick and mount partitions on a rooted system. Most of the apps I find are geared toward the USB devices and don't graphically let you pick multiple partitions off the SD Card.

Like I said, I already know how to use the shell and mount the ext4 partition. I'm looking for GUI...
[Nook HD, HD+ Android Development] leapinlar:
I know of no Android GUI to do that. And I find it hard to believe there are very many other HD+ users that want to mount that SD in another Android device.

Sent from my Nook HD+ running CM10.1 on emmc.
[Nook HD, HD+ Android Development] RoundSparrow:
Ok, since no app seems to exist... I found the source code for a GPL app right here on this forum that I can modify. It already does the su root access and has a workable GUI. http://xdaforums.com/showthread.php?t=1502893

changed MainService.java (here: https://github.com/RYO-Software/Fol.../com/ryosoftware/foldersplug/MainService.java ) to:

if (mount) {
// Check if this is a real physical block device
if (mountpoint.getSource().startsWith("/dev/block"))
{
Utilities.log(Constants.LOG_TITLE, LOG_SUBTITLE, "Found us a real /dev/block device to mount!");
// ToDo: Add support in GUI for mount options. But for Nook HD+ CM 10.1 boot-SD third partition of ext4 at /dev/block/mmcblk1p3 this works great as-is.
command = String.format("mount \"%s\" \"%s\"", mountpoint.getSource(), mountpoint.getTarget());
}
else
{
Utilities.log(Constants.LOG_TITLE, LOG_SUBTITLE, "Did not match /dev/block at start of Source path");
command = String.format("mount -o bind \"%s\" \"%s\"", mountpoint.getSource(), mountpoint.getTarget());
}

For some reason it doesn't work the same as adb shell mount does - I need to do some more experimenting. UPDATE: For some reason adb shell can easily do "mount /dev/block/mmcblk1p3 /storage/EXTSDP3" but I can't get this app to do it with SuperSU or CM 10.1's built-in su solution. I managed to make it work by using a different mounting destination path. Works fine: "mount /dev/block/mmcblk1p3 /data/EXTSDP3 "

More good news: I am able to boot and run my Nook HD+ 16GB off of a 128GB Transcend SD Card without problems! My nook as a 12/24/2012 DateManufactured, LE1199850600252 ProductID, BNTV600 ModelNumber, and LM119903980xxxx MainBoardSN. Precise card: Transcend 128 GB Class 10 SDXC Flash Memory Card (TS128GSDXC10E) running CM 10.1 2013-06-15 build. I'm using a ribbon cable that allows one to put a full size SD Card into a micro slot.

P.S. I have a really long ribbon cable on my SD Card to micro cable... 45cm. So the length of the wires on mainboard to SD Card slot seem to not be the reliability culprit in the boot problems. I am using this cable: http://www.amazon.com/gp/product/B0085GGO92/
[Nook HD, HD+ Android Development] :
Had the stuck @ cm logo myself using the emmc version. Plugging usb to pc got it to boot 2-3 times then nothing worked. Clean and fresh reinstall was what got it back again. Think I did something stupid to cause it, but time will tell.
[Nook HD, HD+ Android Development] jeff72k:
My 3rd Nook HD+ (2nd exchange) read the SD cards better than the 2nd but still also had some times where it didn't boot off the SD card. However the 3rd one started off by having one of the power adapters that gave off a high frequency electronic hiss sound right from the start. It also started locking up and then rebooting itself, both in stock upgraded (v 2.1) nook software and also from the CM 10.1 on the SD card bootable. The last stock nook boot got stuck at the nook booting 99% issue, which seems somewhat common if you search it. I had to do a factory reset to clear that up. I gave up and returned the Nook HD+. I really wanted to like it and was thinking of buying two of them but 3 strikes and your out with me. Hope others have better luck. I will probably wait for a "Nexus 11" or something in the future.
[Nook HD, HD+ Android Development] geraldcheyne:
Return to stock with CM10.1

Is it possible to boot to stock without removing the SD card? If so how does one do it/ force a boot to stock? My Nook HD+ always boots to CM10.1 without fail ( I should count my blessings looking at other posts!). I am using CM10.1 version 0615?
[Nook HD, HD+ Android Development] scuzzo:
well that was just about the most fool proof root i have ever completed, just make sure to read directions.. i did not and i kinda fouled stuff up at first.. but once i figured out to RTFI... every thing was golden... i do have one or two questions.. right now i have the CWM loaded on a 2gig card.. and it has about 1 gig of space how much of that can i use for apps and stuff? and to extrapolate what if i loaded cwm on a 32 or 64gig card... could i then use all that space for apps and stuff..

thanks for the good work on all of this devs!!!

great job.,,
[Nook HD, HD+ Android Development] leapinlar:
If you put this ROM on a 64GB card, you will have about 63Gb for apps and app data. 2GB is way too small.

Sent from my Nook HD+ running CM10.1 on emmc.
[Nook HD, HD+ Android Development] RoundSparrow:
Yes, yes, yes. There is a great menu system you can install on the SD Card. So that the system boots from SD - then reads a setting and continues to boot as you wish. You can also hold down the N key and bring up the menu.

http://xdaforums.com/showthread.php?t=2313009 < NookHDplus-cyanoboot-for-SD-BOOTFILES.rar

This also seems to support booting a third OS off the same card. You could run two different builds of CM and stock - three total choices!