yashsingh1/xdaforums huggingface dataset:
[Nook HD, HD+ Q&A, Help & Troubleshooting] jbbandos:
It has been now off for about 3 hours, I'll check when I get home if there is any difference.

When I turn it on without the sdcard, it stays off, black screen, only the charging light goes on if the cable is connected.

I ran the fstrim app from the store, the command it showed was "fstrim -v /data". It worked a couple of times before this, speeding the nook up considerably.
[Nook HD, HD+ Q&A, Help & Troubleshooting] jbbandos:
Ok, it still won't boot. Seems like it is in a very quick boot loop - here is what shows in my syslog with the nook connected:

Aug 14 21:53:58 localhost kernel: [76061.777796] usb 1-3: USB disconnect, device number 56
Aug 14 21:54:01 localhost kernel: [76064.853251] usb 1-3: new high-speed USB device number 57 using ehci-pci
Aug 14 21:54:01 localhost kernel: [76064.968852] usb 1-3: unable to get BOS descriptor
Aug 14 21:54:01 localhost mtp-probe: checking bus 1, device 57: "/sys/devices/pci0000:00/0000:00:12.2/usb1/1-3"
Aug 14 21:54:01 localhost mtp-probe: bus: 1, device: 57 was not an MTP device
Aug 14 21:54:04 localhost kernel: [76067.974088] usb 1-3: USB disconnect, device number 57
Aug 14 21:54:07 localhost kernel: [76071.050189] usb 1-3: new high-speed USB device number 58 using ehci-pci
Aug 14 21:54:07 localhost kernel: [76071.168334] usb 1-3: unable to get BOS descriptor
Aug 14 21:54:07 localhost mtp-probe: checking bus 1, device 58: "/sys/devices/pci0000:00/0000:00:12.2/usb1/1-3"
Aug 14 21:54:07 localhost mtp-probe: bus: 1, device: 58 was not an MTP device
Aug 14 21:54:10 localhost kernel: [76074.174230] usb 1-3: USB disconnect, device number 58
Aug 14 21:54:13 localhost kernel: [76077.249834] usb 1-3: new high-speed USB device number 59 using ehci-pci
Aug 14 21:54:13 localhost kernel: [76077.366517] usb 1-3: unable to get BOS descriptor
Aug 14 21:54:13 localhost mtp-probe: checking bus 1, device 59: "/sys/devices/pci0000:00/0000:00:12.2/usb1/1-3"
Aug 14 21:54:13 localhost mtp-probe: bus: 1, device: 59 was not an MTP device
Aug 14 21:54:16 localhost kernel: [76080.370078] usb 1-3: USB disconnect, device number 59

When I check the usb devices, it flashes as a TI device:

Bus 001 Device 057: ID 0451:d012 Texas Instruments, Inc.

Edit: I forgot to add, in dmesg, there is an error related to the internal emmc:

<3>[ 4.778991] mmc0: error -110 whilst initialising MMC card

---------- Post added at 10:51 PM ---------- Previous post was at 10:03 PM ----------

Well, I am about to try something different - formatting a 16GB sd card with the same layout as the EMMC, to fake it. I have the factory partition backup, and a recovery image. I'll see if it boots, at least into the recovery... It might let me use the nook during my holidays, until I am able to send it for repair.
[Nook HD, HD+ Q&A, Help & Troubleshooting] verygreen:
-110 is timeout, so the card does not appear to respond at all.

Well, you can just use the regular sdcard install, with the exception that you need to disable a separate /cache partition and instead force /cache on /data, Leapinlair had instructions for that somewhere.
[Nook HD, HD+ Q&A, Help & Troubleshooting] jbbandos:
You're right, the internal emmc seems dead. I wonder how fstrim killed it so completely.

As for the sd, I wanted to make it fully simulate the internal, but maybe is a stupid idea. Even if the factory image has inside it the boot.img and recovery.mg, I don't think it would boot without xloader, bootloader, and rom partitions. Of course, if it booted I would be able to flash "normal" emmc images.
[Nook HD, HD+ Q&A, Help & Troubleshooting] verygreen:
Come think of it, sdcard installs would not work because of the device naming mismatch and the internal installs would not work unless you make a card that has the same partition layout.
[Nook HD, HD+ Q&A, Help & Troubleshooting] jbbandos:
That was my idea also. That is why I am trying to replicate the partition layout on a 16GB sd card. If I can get that to boot, I might fool an internal recovery and get an internal install to work. I have another favour to ask you, can you print again the gtp partition table, but showing the numerical partition types?
[Nook HD, HD+ Q&A, Help & Troubleshooting] verygreen:
I don't see an option to print numerical partition types in parted somehow.

BTW, do you happen to have old dmesg somewhere that would have you mmc type? Like this:

mmcblk0: mmc0:0001 MAG2GA 14.5 GiB

It seems certain Samsung EMMC devices have a bug that destroys them when using fstrim, at least MAG4FA devices are affected might be more.

I am investigating this now and it might be that I'll disable fstrim as the result.

Time to run some more visible poll to see what EMMCs other people have, I guess.
[Nook HD, HD+ Q&A, Help & Troubleshooting] jbbandos:
Unfortunately I don't have any old dmesg. I did try to check the version of the emmc firmware following what I saw in some fstrim threads, to see if it was a dangerous 19, but I recall it was a 6.

In the meantime, I had the nook connected to the pc, without any sd inserted, while I was trying to find a layout for the sd that would make it boot, and the nook was going through the "device disconnect" loop. After some time it showed the nook logo and got stuck there. I let it there for some minutes, and since I knew I had flashed cwm recovery and it wouldn't restore anything, I attempted to reboot it from the SD. Unfortunately the SD still can't see the emmc.

A second attempt at just rebooting the nook without sd gave the same result - the nook disconnected 25 times (started with usb device number 2 and kept disconnecting until settling on 27, the previous time it had used from 96 to 120) then after a few minutes is showing the nook logo. I'll leave it there for a couple of hours, if that doesn't change anything I«ll try rebooting it again and just putting a usd card in after the 24th disconnect, praying for luck...
[Nook HD, HD+ Q&A, Help & Troubleshooting] jbbandos:
After one hour showing the nook logo, I gave up and rebooted. Now it is showing the cyanoboot logo, so something changed, as apparently it started loading the recovery from the internal. If there is no change after another hour, time to reboot with a sd inserted. Maybe fstrim didn't kill the emmc, but just got it stuck with some huge "optimization" queue that takes hours to run?
[Nook HD, HD+ Q&A, Help & Troubleshooting] talha970:
:( mine is still stuck at the nook logo
[Nook HD, HD+ Q&A, Help & Troubleshooting] jbbandos:
Ok, this time it booted partially into the recovery, letting me do a adb shell. Here is the mmc type from dmesg:

mmcblk0: mmc0:0001 MAG2GA 14.5 GiB

So, anyone with one of these better watch out. I still have some errors, seems like the boot partitions are still corrupted, but possibly leaving the nook on a few more hours will allow the emmc to finish recovering:

<6>[ 2.441925] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10
<6>[ 2.444427] mmcblk0boot1: unknown partition table
<6>[ 2.446197] mmcblk0boot0: unknown partition table

The full dmesg is here, in case anyone is interested.
[Nook HD, HD+ Q&A, Help & Troubleshooting] talha970:
how did you turned it on without sd card,mine only turns on with the sd card.Plus my dmesg says battery too low maybe thats the reason how do I charge it?
[Nook HD, HD+ Q&A, Help & Troubleshooting] jbbandos:
Mine is now booting regularly to the nook logo, after some hours. Just leave it plugged on for some time. I just hope I'll be able to boot from the sd card soon enough, now it won't boot from any of the sdcards I have here that always worked well, it will only boot from the corrupted emmc.
[Nook HD, HD+ Q&A, Help & Troubleshooting] verygreen:
Hm, how is this a partial boot? Looks like everything is fine, all partitions are there? So what's missing.

I imagine from this state you should be even able to install a cm ROM from scratch if needed.
[Nook HD, HD+ Q&A, Help & Troubleshooting] talha970:
which OS were you using when connecting the tablet ubuntu?
[Nook HD, HD+ Q&A, Help & Troubleshooting] jbbandos:
It was partial in that it never finished booting - the recovery menu never showed, the screen stayed black, and when I tried to use parted on the emmc it rebooted. Now I am back at the black screen again... Anyway, just got the RMA, will send it for repairs and hope I have a new one when I am back from my holidays.

---------- Post added at 06:04 PM ---------- Previous post was at 05:57 PM ----------

Arch linux... But in ubuntu or another linux you can also follow the disconnects, just do a "tail -f" on the syslog.
[Nook HD, HD+ Q&A, Help & Troubleshooting] verygreen:
BTW, to those who ended up bricking their emmc units in this way - a couple of questions.

Were you on battery or plugged into power when this happened. What was the battery level?

How loaded was the system otherwise when you run the fstrim app?

If the app worked before - what other differences can you think of in the system state between when it worked and when it did not?
[Nook HD, HD+ Q&A, Help & Troubleshooting] talha970:
I was on battery and the battery level was about 34 I guess.I tried to use lag fix while I was downloading an app from the play store..I have a question will the warranty work after rooting?
[Nook HD, HD+ Q&A, Help & Troubleshooting] verygreen:
Yes, I think rooting should not affect warranty. Besides, if your emmc is totally shot as in does nto boot completely, there's no way for them to find out, unless you tell them yourself.
[Nook HD, HD+ Q&A, Help & Troubleshooting] talha970:
isnt there any way I could partition my sd card similar to my emmc?returning the tablet is prolly not an option considering the shipping costs
[Nook HD, HD+ Q&A, Help & Troubleshooting] verygreen:
If the end goal is to have a working bootable sdcard, you don't really need to fully replicate emmc layout.

You can even go with mostly unmodified sdcard install, just need to tell it not to use /bootdata and /rom as nonexistant (also means you won't be able to get mac address for wifi and to automatically reboot into recovery) and move /cache to sdcard as well.
[Nook HD, HD+ Q&A, Help & Troubleshooting] talha970:
i am confused which partitions should i have exactly,would parted do the job?plus the sd cards partition table type is msdos...and no mac address means no internet?thanks for your reply :)
[Nook HD, HD+ Q&A, Help & Troubleshooting] verygreen:
You can get a mac address from your router logs, but thatwould be manual.

First things first, when you boot from cwm sdcard, do you also get -110 error initializing mmc0? I think you had Nook logo booting without sdcard, which means your sdcard inits at the very beginning at the very least?
[Nook HD, HD+ Q&A, Help & Troubleshooting] Sherip:
Are trim operations done under 10.2 getting logged anywhere?

Sent from my Nook HD+ running CM 10.2 from SD card
[Nook HD, HD+ Q&A, Help & Troubleshooting] verygreen:
Yes.

logcat -d | grep fstrim

You can manually trigger with "vdc fstrim dotrim" (note that on the lastest nightly the support was removed from the kernel, so you'll just see a bunch of errors in the logs.)
[Nook HD, HD+ Q&A, Help & Troubleshooting] talha970:
yes i get a 110 error and my nook wont turn on without sd card
[Nook HD, HD+ Q&A, Help & Troubleshooting] talha970:
can you please help me more about the sd card partitioning?
[Nook HD, HD+ Q&A, Help & Troubleshooting] Sherip:
Have you tried starting from a stock-on-sd-card? Verygreen might have to change it to keep it from looking for anything on emmc and maybe to update it to 2.1.1 but if you haven't tried it yet, see here: http://xdaforums.com/showthread.php?p=42724327

Sent from my Nook HD+ running CM 10.2 from SD card
[Nook HD, HD+ Q&A, Help & Troubleshooting] talha970:
thanks for your reply finally a flicker of hope! I dont understand this adb push thingy can u plz explain :)

edit: I know how to access adb just dont know what should i type for adb push to push the rom onto the sdcard plus I cant mount /sdcard or /system or /cache or any other thing

---------- Post added at 07:17 PM ---------- Previous post was at 06:26 PM ----------

[MENTION=3654172]verygreen[/MENTION] can you somehow modify this so that I can boot without emmc?

---------- Post added at 08:00 PM ---------- Previous post was at 07:17 PM ----------

i tried to push the file and it pushed successfully but recovery still says cant mount /sdcard any ideas?
[Nook HD, HD+ Q&A, Help & Troubleshooting] brusyev:
Strange....The following thread says that 10.2 is now compatible with emmc.

http://xdaforums.com/showthread.php?t=2389813
[Nook HD, HD+ Q&A, Help & Troubleshooting] Fornowagain:
Things change, that was then this is now. Two week old quote?
[Nook HD, HD+ Q&A, Help & Troubleshooting] brusyev:
I think you are correct. Perhaps its now compatible with emmc....
[Nook HD, HD+ Q&A, Help & Troubleshooting] verygreen:
Well, I can make a special sdcard install that would boot from and work on such an (essentially) emmc-less system.

I cannot test it on my end, though.

I'll try to build something soon for you to try.
[Nook HD, HD+ Q&A, Help & Troubleshooting] jbbandos:
I was plugged in, battery nearly charged, and ran that app just after the nook had finished booting, probably as it was still loading a lot of stuff...

I'm on holidays now, will check this forum from time to time but have limited connectivity.
[Nook HD, HD+ Q&A, Help & Troubleshooting] talha970:
Thankyou! :fingers-crossed: i have a question though why did the adb pushed the file successfully this is what i used

adb -d push stock-ovation-2.1.0.zip /sdcard/stock-ovation-2.1.0.zip
[Nook HD, HD+ Q&A, Help & Troubleshooting] verygreen:
well, why should not it have pushed the file?

Anyway, cm-10.1 install that will work on a device with emmc "dead":

First you need to get a special cwm image: sdcard-cwm-early-noemmc-2.img.gz

gunzip the image and burn it to the target sdcard

then get the special cm image:

cm-10.1-20130819-UNOFFICIAL-ovation-noemmc.zip

adb push it to /sdcard/ and then install.

Also push and install whatever else you need.

This should get you going.

Note that "reboot to recovery" from reboot menu is not going to work, so you'll need to use the Home + power at the start to get into recovery after initial install.

Ignore the /cache/... complaints from CWM, it's non-fatal.

Wifi will work, I tested it.
[Nook HD, HD+ Q&A, Help & Troubleshooting] jentous:
Thanks for your help verygreen, but I am having a hard time implementing your solution. I followed your directions and everything seemed to work but after I installed the modified 10.1 you have I selected Reboot to System and it sends me right back into the no-emmc CWM from the SD. What am I doing wrong? Should I remove the SD card and reboot? Doesn't this solution require the SD card?
[Nook HD, HD+ Q&A, Help & Troubleshooting] verygreen:
Yes, sdcard is required.

Hm, I guess I missed a couple of places in uboot where it depends on having access to emmc, I'll try to hunt some more for them.

---------- Post added at 11:35 PM ---------- Previous post was at 11:32 PM ----------

btw, quick workaround, if on that sdcard on the first partition you rename ramdisk.cwm into ramdisk.bak and then ramdisk into ramdisk.cwm, that would boot you into CM while I am looking into the bootloader.

---------- Post added at 11:40 PM ---------- Previous post was at 11:35 PM ----------

ok, get this file: http://nook.rootshell.ru/tmp/uImage.noemmc-2 and place it onto the first partition under the name of uImage instead of the same named file already there, reboot the nook with sdcard in and let me know, please.
[Nook HD, HD+ Q&A, Help & Troubleshooting] jentous:
That new uImage file worked. Thank you for turning my "bricked" device into a usable one again. Hopefully you or someone will figure out a way to fix the emmc bug which caused this whole problem in the first place. If not at least I can run it off the SD. Thanks again.
[Nook HD, HD+ Q&A, Help & Troubleshooting] verygreen:
Sadly, it's unlikely there's going to be any fix for emmc, Samsung does not seem to care about these things once they are sold. There is a huge record of them screwing up with storage (hint: don't buy Samsung SSDs too, if you care about your data).

I updated the cwm image to incorporate the updated u-boot: sdcard-cwm-early-noemmc-2.img.gz
[Nook HD, HD+ Q&A, Help & Troubleshooting] shiquanwang:
where to find the latest emmc cm10.1

Hi this might be off topic.

But by every means I can not find where to download the latest (08/19) cm10.1 emmc rom for HD+.

I can only find 10.2 version at http://download.cyanogenmod.com/?device=ovation and no announcement about where has cm10.1 gone at neither this page nor at http://xdaforums.com/showthread.php?t=2263553.

Thanks in advance if update can be made in time for such changes.
[Nook HD, HD+ Q&A, Help & Troubleshooting] talha970:
Thankyou! verygreen finally! :victory::victory:
[Nook HD, HD+ Q&A, Help & Troubleshooting] verygreen:
older cm-10.1 nightlies seems to have expired, so we need to wait until next time it builds, should happen about once a week
[Nook HD, HD+ Q&A, Help & Troubleshooting] Aporus:
How do you push the file via adb, mate. Help me, I cant to connect NOOK to PC. Widows cant recognize it.
[Nook HD, HD+ Q&A, Help & Troubleshooting] nookhdplus:
i have learnt it from verygreen, but still have a new problem maybe i will solve it with verygreen tomorow .here i want to express my sincere appreciation to verygreen. Thanks.

i can tell you the details tomorow. i am now not on computer. i will teach you step by step. are you online tomorow morning ? You can just wait for about another 12 hours. if you are not online. i will send the method to you via private message.
[Nook HD, HD+ Q&A, Help & Troubleshooting] talha970:
first you have to find the device id open control panel >device manager there will be a nook hd+ with a yellow exclamation on it open it in the details tab find the hardware id and copy it it

then you have to install the drivers download this file http://xdaforums.com/attachment.php?attachmentid=1497504&d=1353433070 open android_winusb.inf .Below [Google.NTx86] find nook hd+ after "USB_Install" paste your hardware ID do the same for [Google.NTamd64] next save the file and close it.

Now through the device manager update your driver for HD+ and browse to the path where you have extracted the drivers

your drivers will now install and you will have a 'android adb interface' as your new device. To set up adb look in leplinar's thread here http://xdaforums.com/showthread.php?t=1994129

---------- Post added at 03:16 PM ---------- Previous post was at 03:13 PM ----------

thanks again verygreen isnt there any way I can view/move the files of my sd card on my pc
[Nook HD, HD+ Q&A, Help & Troubleshooting] Aporus:
Thank you friend. OK, waiting tomorrow.
[Nook HD, HD+ Q&A, Help & Troubleshooting] verygreen:
the usual access via mtp should work.
[Nook HD, HD+ Q&A, Help & Troubleshooting] shiquanwang:
OK I see. Thanks.

I've managed to install cm10.2 8/19 emmc on my Nook HD+ and works great.
[Nook HD, HD+ Q&A, Help & Troubleshooting] talha970:
it doesn't work I have tried both ubuntu and windows though the tablet does say connected as a media device
[Nook HD, HD+ Q&A, Help & Troubleshooting] verygreen:
Ok, I'll look into this.

BTW, I'll advertise it here as well, I guess.

if somebody has a total bricked device and would like to donate it to me for further research on unbricking (and I will return it if succeeded), shoot me a PM.

Or if you have a brick and feel technically advanced enough to be able to run various custom kernels, CWMs, have adb working and know how to use it and are familiar with linux and willing to try to help, also PM me.
[Nook HD, HD+ Q&A, Help & Troubleshooting] nookhdplus:
Sorry to bother. did your nook work smoothly when boot from the sdcard ? mine just worked slowly , and often got stuck. if your nook run smoothly,which brand of sdcard are you using? is it as smooth as running from the internal storage?
[Nook HD, HD+ Q&A, Help & Troubleshooting] talha970:
I see no difference its a sandisk class 4 btw which card are u using
[Nook HD, HD+ Q&A, Help & Troubleshooting] nookhdplus:
i am now using a kingston c4 card. when i opend an app, it began to get stuck , and often did not respond to my operation. also like to know , if you reboot, will the device take longer time to enter the system?mine just cannot enter the system again, it get stuck in the cm log.it just works awfully.verygreen adviced me to use a sandisk card. i just want to know if it works well enough with a sandisk card. if it is not , i will not waste the money to buy one. could you confirm for me if there is nearly no deference between running from an sandisk sdcard and internal storage(refering to smoothness and rebooting time)? Or if there is a difference but not too much , it can still work well.
[Nook HD, HD+ Q&A, Help & Troubleshooting] talha970:
yes it works pretty well for me..though it does take time to boot other than that apps work well
[Nook HD, HD+ Q&A, Help & Troubleshooting] jbbandos:
To prolong the life of my nexus one, I started to repack a MIUI firmware with a few enhancements. One of them was the ability to use a partition on the SD card in place of the internal /data. I can assure you that SanDisk cards were always the fastest and most reliable to use in this way, your money will be well spent on one. If you want, check the QND thread on my sig for details, you'll be able to find some posts discussing sdcards there.
[Nook HD, HD+ Q&A, Help & Troubleshooting] nookhdplus:
Thanks for answering. Do you konw if there is any progress for unbrinking now? i saw in a local forum there were still more brick reported. the bug must affected many devices. it's just hard for users abroad to replace it and report the bug here. i hope the official members could soon settle this .

---------- Post added at 04:17 PM ---------- Previous post was at 03:58 PM ----------

BTW, which format should i format the sdcard? fat, ntfs, or any other?
[Nook HD, HD+ Q&A, Help & Troubleshooting] talha970:
Which card do you think is better class 10 or 4 for booting from sdcard and what happened to your nook did you get it replaced?
[Nook HD, HD+ Q&A, Help & Troubleshooting] jbbandos:
I don't know of any process to unbrick a nook, unfortunately. As for the format, depends, but usually fat32 is the fastest and most compatible. But if you are going to use it to boot a firmware from, the first image will set the card partitions.

From what I understand, class 4 cards for sizes 16GB and above are class 10 cards that failed quality control for 10 but are good enough for 4. I'd go with class 10.

My nook is with me, as I have yet to send it back under warranty, will do it when my holidays are over.
[Nook HD, HD+ Q&A, Help & Troubleshooting] newbienyc:
My nook hd plus is finally rooted, wrote CWM 10.1-20130813 unofficial ovation on emmc. Thanks for all your help.
[Nook HD, HD+ Q&A, Help & Troubleshooting] ThunderPuppy:
Device was plugged in. Battery charge was about %50.

About 12G used on 32G device.

Lagfix app (fstrim) worked great the first few times I used it. The only difference I can think of was that the fatal occurrence happened sometime after I updated to the latest stock ROM. I have never used anything other than the stock ROM.