yashsingh1/xdaforums huggingface dataset:
[Barnes & Noble Nook Tablet] CelticWebSolutions:
Many people are getting what they are calling a bricked Nook tablet that won't boot or restore an OS. Often when they boot into CWM (from internal or SD) they get errors on screen, or possibly after an attempted install they show in the advanced / log

E:Can't mount / cache/recovery/command/

E:Can't mount / cache/recovery/log/

E:Can't open / cache/recovery/log/

E:Can't mount / cache/recovery/last_log/

E:Can't open / cache/recovery/last_log/

failed to open/sys/class/android_usb/state: No such file or directory

This is actually an extremely common issue it seems. Basically its' quite likely you're partition map has some how been damaged.

Firstly just make sure you can't install an update or restore an old backup from SD, if that still fails and you end up straight back in CWM

All you need to do is download the parted binary HERE extract it from the archive and push it to your device or even just put it on an SD

ADB into your device and run the binary with the following command (you'll need it to be the accesible path or you can just be in the directory where it is)

parted /dev/block/mmcblk0 print

It will most likely show up with an error and ask if you want to fix it. Just say yes and let it do its' thing.

After it completes, reboot your device and see if you still get the same errors, Attempt to install CM7 once more.

If it still doesn't work, run the parted command again then download Adams total wipe and run that. It'll reset your device back to total stock. The parted command will repair the partition table and adamoutlers software will upload all the required software to the correct places for it all to work

Hope that helps!

If you get stuck feel free to give me a shout
[Barnes & Noble Nook Tablet] kahboom:
This is actually an extremely common issue it seems. Basically its' quite likely you're partition map has some how been damaged.
[Barnes & Noble Nook Tablet] imacmill:
NT full brick...unable to recover.

My NT is suffering from the CM7-SD format brick problem.

I have hunted high and low for instructions on how to get ADB to work on a bricked NT. My NT is in a state where the only thing that boots on it is an SD-based CWM, but when I plug the NT into a PC, no matter what I do, CWM recovery starts up and the PC detects the unit as disk drives. ADB will NOT find the unit. I have tried on two separate Win7 machines...same problem on both.

I have also tried using Adam's total wipe fix, and while linux boot, the full wipe just hangs forever on the first step (zeroing MLO).

I am not sure I have the right USB drivers...basically, I'm using the ones I had for my long-gone Nook Color.

Can anyone offer me some help?

Thanks.
[Barnes & Noble Nook Tablet] CelticWebSolutions:
It's not actually caused by formatting SD on CM7 any more. you could happily format your SD all day, although we still recommend not formatting anything at all via the NT.

If you have CWM you should have access to ADB, the probably reason it doesn't work for you is that you need to tell your computer what the id is on the device so that it can recognise it. What operating system are you using?
[Barnes & Noble Nook Tablet] imacmill:
Thanks, Celtic.

I'm on Win7. I have 'adb_usb.ini' in folder:

C:\Users\<myname>\.android

And the 'ini' contains 0x2080.
[Barnes & Noble Nook Tablet] imacmill:
More details...

Here's a brief history, as best I can recall, of how I got where I am with my NT.

1. Installed NT CM7 about a week ago. All worked well until I noticed Kindle app misbehaving by not flipping pages on a book. I tried same book on two other android devices, and both worked fine. So...

2. In a complete act of stupidity, I went into 'Storage' on the NT, and noticing that there were 3 sections listed there (whose names escape me, but something like 'Internal SD', 'SD' and 'External SD'), I formatted all 3 (yup, dumb).

3. I shut down the NT (10 second press of power), and from there on in, tablet hung at 'N' screen. I manages to get CWM to start, using a combination of buttons I now don't recall (Power and Volume Up, perhaps?).

4. For reasons I can only describe as lunacy, I used Recovery to format everything it listed as format-able (under Mounts/Storage). From this point on, the tablet would not boot at all, not even back into CWM Recovery.

5. Thru online searching, I found an image for making a bootable CWM Recovery, which I created and used successfully to boot into recovery. I used it unsuccessfully to try to re-install CM7.

6. I then tried getting an ADB connection so I could try the various other fixes offered online, but have been completely unable to get a connection. I followed the instructions found in XDA thread ID 1424563 (sorry, I'm too junior to have link-posting permissions), but the thread assumes I can get to the NT's settings to turn on debug mode, which I can't.

7. As mentioned, I also tried Adam's full wipe/restore, but it hangs on phase one (zeroing MLO).

That's the crux of it, for what it's worth. I think my big issue right now is not being able to get ADB to work with it. If I could, I could try the partition command you gave in the OP.

Thanks for any help or ideas...
[Barnes & Noble Nook Tablet] ms2003:
you should have damaged the partition tables, so please make a CMW card first, and then you can use adb shell to repair the partition table.

you can refer to this thread:http://xdaforums.com/showpost.php?p=22157605&postcount=25
[Barnes & Noble Nook Tablet] Know-Fear:
If that older driver you have don't work, you can find a driver in this thread. (I don't know if they are the same as color or not TBH)

Use the USBDeview to rid yourself of anything aldroid related, anything Google related, and any mass storage devices. Restart PC, then plug your NT in. (This is how I had to do it...many times)
[Barnes & Noble Nook Tablet] imacmill:
Thanks, ms, but as I mentioned, I am completely unable to get ADB to work. It will not find the tablet. When I plug the tablet in to my Win7 box, the installed CMW card boots the tablet into recovery, and the PC detects it as disk drives (as seen in Win7's Device Mangler).
[Barnes & Noble Nook Tablet] imacmill:
Quick progress update...

The old drivers and instructions you linked to worked...ADB now finds my NT! :) Thanks much!

Now...

I did the 'parted' thing, and while 3 or 4 errors were reported thru the process, it stated it completed successfully. I then rebooted with my CWM Recovery SD card and attempted to re-install CM7. The installer completed quite quickly and without errors, but it did not work (as I suspected it wouldn't, given how fast it executed). I then ran 'Brick_fix.zip', and it, too, completed successfully (well, except for the ping at the end), but I was unable to install CM7. So...

I'm now on to Adam's fix (note in the OP) and I'm glad to report it's working now. It got past the first stage (zeroing MLO) and is in the middle of 'flashing factory'. Sweet!

I'll report back in the morning, hopefully with good news. Thanks so much for the help, everyone.
[Barnes & Noble Nook Tablet] CelticWebSolutions:
Sorry I didn't get back to you last night, I had already gone to bed, looks like you've already got the help you need though. If the wiping had started to work you'll be fine :) lesson learnt though, DO NOT FORMAT ANYTHING ON NT ;)

Let us know it's fixed (which I'm sure it will be ;) )
[Barnes & Noble Nook Tablet] imacmill:
Bad news...

Well, the news is bad this morning. As someone mentioned in Adam's post, during the install, the screen went blank, so I left it for about another half an hour, then powered the device off and restarted it. All appeared OK, as the B&N firmware stated that it was clearing data, but that process froze for a long while, then a message popped up stating "Please restart your device and try again. If you encounter the same issue, contact technical support at blah, blah, blah." I restarted...same message. Over and over.

I tried the full wipe no less than 4 more times, preceding each attempt with a 'part' command, but the full wipe, for some unknown reason, stops about 60 seconds in, and pops up what appears to be a windowed 'ls -al'. I tried two different class 4 SDs in the 4 attempts...same for each.

Not feeling hopeful at this point.

---------- Post added at 04:37 PM ---------- Previous post was at 03:46 PM ----------

Here's the results from my 'part' command:

~ # parted /dev/block/mmcblk0 print
parted /dev/block/mmcblk0 print
Model: MMC SEM16G (sd/mmc)
Disk /dev/block/mmcblk0: 15.9GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 131kB 262kB 131kB xloader
2 262kB 524kB 262kB bootloader
3 524kB 16.3MB 15.7MB recovery
4 16.8MB 33.6MB 16.8MB boot
5 33.6MB 83.9MB 50.3MB rom
6 83.9MB 134MB 50.3MB fat32 bootdata
7 134MB 522MB 388MB factory
8 522MB 1164MB 642MB ext4 system
9 1164MB 1611MB 447MB ext4 cache
10 1611MB 2684MB 1074MB fat32 media
11 2684MB 15.6GB 12.9GB ext4 userdata

Note the fat32 and ext4 file system designations for various directories (is directories the correct word?). On page 6 of Adam's full wipe thread, user 'howcansheslap' shows the output of his/her 'part' command, and the file system in his/her output is all blank. Perhaps not coincidentally, my full wipe process stops on processing 'bootdata', the first item listed as fat32 above, and displays the windowed 'ls' of folder 'bootdata'.

Any thoughts on the relevance of this info?

Thanks all.

---------- Post added at 05:33 PM ---------- Previous post was at 04:37 PM ----------

Turns out the full wipe *was* working. The trouble is, my impatience got the better of me. Adam's wipe process does not provide a whole lot in the way of progress feedback, and in fact, it can be 5 minutes or so before you see anything meaningful on screen. Best advice: give the process a full half hour to complete and don't assume that it's hung/stopped working just because you see virtually no progress reports. Note also that if you touch the screen anywhere during the wipe, any progress bar that may or may not have been present will probably disappear, and you won't see another one displayed for possibly several minutes.

My apologies to all for subjecting you to my own impatience, and a big thank-you for all the help.
[Barnes & Noble Nook Tablet] imacmill:
I spoke too soon...again.

The full wipe/restore completed successfully, but now when I start the tablet, I get taken thru the B&N setup process and at the stage where it asks me to login to my B&N account, I get:

Error

Sorry we're having trouble setting up your NOOK. Please shutdown the device and try again. If the problem persist, contact Customer Support at...

Well, the problem has persisted all day. I have even done the full restore a couple of extra times. And the tech support line just keeps telling me they're unable to process my call at this time.

I am definitely able to login to my B&N account thru my PC, so I've got the credentials right.

Has anyone encountered this before?

UPDATE: I followed the instructions for bypassing registration, found here:

http://nookdevs.com/NookColor_Factory_Mode/Skip_Oobe

This allowed me to get into settings and 'erase/unregister' the device, but alas, still no joy after a reboot.
[Barnes & Noble Nook Tablet] DeltreeZero:
similar problem! help!

I too formatted my 1g partition, and now my nook wont boot, goes to pic of box, hangs. i try cwm from sdcard, same box, hangs. i cant see my device when i plug it in to my win 7 pc. no adb. ive rooted 3 NT's now and i cant understand what i should do next. any help?
[Barnes & Noble Nook Tablet] CelticWebSolutions:
Sounds like its not actually booting the SD card. Try powering off completely and the put SD card in. Connect power cable and see if it boots. It could also be your SD isn't written correctly. Could be worth you downloading the latest cm7 SD image from the dev thread. See if that boots.
[Barnes & Noble Nook Tablet] DeltreeZero:
cwm wont run

Thanks for the reply! i have tried all combinations of power,"n", vol up, and vol down, holding not holding all combinations of buttons and also the 8 failed boot buisness, plugging in to wall outlet, plugging in to pc... no changes yet, still "n" symbol on screen, then pic of box, hang. i am downloading the latest cm7 build and downloaded the installer located

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

per your suggestion. im now making ramen, because the download says 52 min left. I will check back soon. thanks again.
[Barnes & Noble Nook Tablet] DeltreeZero:
I have followed the instructions and still no boot to cm7. still "n", then pic of box, hang. darn. any ideas?
[Barnes & Noble Nook Tablet] kodonnell204:
Can't ADB. PLEASE HELP.

I am having trouble with my nook tablet. It will not boot an OS, and it just hangs at CWM. I am trying the original solution posted by CelticWebSolutions, but I am very new to all of this, and I can't get my computer (windows 7) to recognize the nook as an ADB device. I have no idea what USBDeview is, or where to get it. I have also managed to kill my 2 best micro SD cards. They were 32 gb cards, and when I tried to install CM7. If possible, I would like to just get back to a factory Nook Tablet. If anyone can help me reach a solution, I would be happy to donate.
[Barnes & Noble Nook Tablet] lavero.burgos:
Can you get into CWM?, Have you tried Adam's total wipe method?, what OS did you have when you bricked your device? What exactly have you done to it? We need more details in order to help you.

~ Veronica

Sent from XDA premium using my Nook Tablet :P
[Barnes & Noble Nook Tablet] kodonnell204:
I can get into CWM. When I boot, it automatically brings me there, even with no SD. I don't remember putting anything on my internal storage, but I must have.

I was running a rooted nook tablet on 1.4.0 . I used this method: http://xdaforums.com/showthread.php?t=1354487 .

I was trying to run CM7, but I was told that I needed to use CWM to boot into it. I attempted to create a magic SD card to load CWM. I used this tutorial: http://xdaforums.com/showpost.php?p=21895025&postcount=14 . When I used the image flasher on my 32gb micro sd card, it moved the files, but it had also killed my card, as it now can only hold 70mb. I assumed my card was shot for another reason, so I did the same thing with my 4gb micro sd card. The same exact thing happened. the 4gb card now read 70mb.

You can imagine my frustration after basically throwing $50 out the window. I am now left with one 2gb micro sd card. I would have attempted Adam's Total wipe method, but it requires a 4gb card.
[Barnes & Noble Nook Tablet] lavero.burgos:
I see, ok first is not the it killed your sdcards if you check this post for prep a sdcard for CWM it reserves a partition of 50MB. All you have to do is get a program like EASEUS Partition Master and RESIZE the 70mb partition of both your sdcard completely to the very right (edge) of your sdcard.

Download SDFormatter for windows and format your 32GB sdcard with that and use it to install CM7 in there.

Keep your 4gb sdcard with CWM for the "emergencies".

So i guess you don't have CWM installed internally or you do?, is your device 8gb or 16gb model?

PS: This video explains how to resize a hard disk (a.k.a HDD) use the same "idea" but to resize your sdcard (make sure you are resizing your sdcard).

If you are not that techy let me know and i can give you a hand by remote controlling you. You will need to download teamviewer.

~ Veronica
[Barnes & Noble Nook Tablet] kodonnell204:
I think CWM is installed internally. I have a 16 gb model. I followed your instructions, and I resized my 32gb. I am not trying out Adam's total wipe.
[Barnes & Noble Nook Tablet] kodonnell204:
*now. I am NOW trying.

Actually I have tried the total wipe, and it didn't work. Because my device automatically boots into CWM, it will not boot from the sd card. Any ideas? I think my best bet is to figure out how to ADB into the device. I don't even know where to start. Please help.
[Barnes & Noble Nook Tablet] lavero.burgos:
Alright listen I'll upload a video explaining how to setup ADB in a ubuntu virtual machine and how to run the commands to flash the partition images that might safe your device and maybe even how to install Ubuntu but that is basic and for sure there must be videos in YouTube explaining how to do it step by step.

I will test the images I made to see if they are working. Hopefully I can have something done today or I be releasing tomorrow for sure.

I'll do this because I see there is more people that are not able to unbrick their devices with the total wipe.

~ Veronica

Sent from XDA premium using my Nook Tablet :P
[Barnes & Noble Nook Tablet] kodonnell204:
Thank you so much. I look forward to a link.
[Barnes & Noble Nook Tablet] lavero.burgos:
Just wanted to make a little update... i needed to test the images before anything and the images i had created did not work but made some research and i just created a new image of /system which correspond to the block mmcblk0p8 i added bs=4096 at the end of the dd code and that did the trick i also extracted the image "as-is" meaning no .img or whatever format at the end of the image so the images i created look like mmcblk0pX (where X is the number of each partition/block) similar to the ones celtic created but mines are for 16GB NT model.

Now i will create the rest of the images and upload them. After that i can focus in the video-tutorial.

:D

~ Veronica
[Barnes & Noble Nook Tablet] DeltreeZero:
Awesome!

I am very thrilled to see this becoming an easier fix. im very new to this, and love that i have a place to go for help. a video would surely help me. I have the same problem. thanks for the assist! :)
[Barnes & Noble Nook Tablet] :
just tried parted.... It doesn't work for me, I just get a message that the table might be damaged but no error fix information...

maybe your image will help lavero.burgos :)
[Barnes & Noble Nook Tablet] lavero.burgos:
Yes it will work, sorry if I haven't posted anything yet the rendering of the video went wrong tried twice and same thing each time takes hours because is heavy and kinda bit large video but I once I have it done I'll create the thread. Images are already uploaded to minus.com

PS: please verify if you have adb access while in CWM and let me know

~ Veronica
[Barnes & Noble Nook Tablet] :
I do have adb acces in CWM, aready tried to fix the partition table with parted in adb but that didn't work....
[Barnes & Noble Nook Tablet] lavero.burgos:
UPDATE!

Is ready, here's the link of the thread http://xdaforums.com/showthread.php?t=1570022

~ Veronica
[Barnes & Noble Nook Tablet] WnG88:
Just ran into the same issue. CM7 was working fine yesterday. This morning, wireless was down and wouldn't reactivate (through settings - kept saying turning off...). Rebooted, and it hung up with a blank screen. A couple of more times holding a power+N and it booted into CWM and now its just rebooting into CWM. I have CWM internal install, and it won't get past CWM to boot into CM7. I get the log cache error in CWM as well. Wipe / restore didn't work. Trying ADB now...

Edit: see Lavero.Burgos thread on rewriting the partitions w/ Video (previous post).

I got the NT working with the fix in post 1 of this thread, i.e. letting "parted" repair the errors in the partition. For the Noobs and people like out there who have forgotten all about ADB after initially rooting: to get ADB working / connected to your NT (while in CMW):

1. Download / extract the adb+USB drivers zip to its own directory on your PC

2. Connect the Nook to the computer via USB

3. In the Command Prompt on PC (Start Menu >> Run>> cmd) go to the directory and type "adb devices"

3a. Some basic commands for adb to work: "adb devices", "adb kill-server", "adb shell"

4. Make sure the Nook is showing up on the pc in ADB

5. type "adb shell", then follow the instructions on post 1.

Thanks for all the help.
[Barnes & Noble Nook Tablet] movrshakr:
OP says, "If it still doesn't work, run the parted command again then download Adams total wipe and run that."

Would you mind including a link to "Adams total wipe" as part of that sentence? Some of the other things you reference there DO have links to them. Thanks.
[Barnes & Noble Nook Tablet] soshite:
Hm. It seems I can't get it fix my "errors", and you said it needs to fix the errors in order for Adam's ubuntu wipe to work. Because it was trying to write to mlo, like mine. Errr. Hm. I'm out of ideas
[Barnes & Noble Nook Tablet] DarkDvr:
It worked!

Used parted, then used AdamOutler's method for a Full Wipe through ubuntu. NT recovered into stock ROM, then rebooted to CWM, installed CM7 and boom! I'm back in business.

Donated to both of you, thanks a lot guys!!
[Barnes & Noble Nook Tablet] sailerph:
Hello, Is there another link to the ntcm7 parted binary script ? The link here is not working Thank You Again
[Barnes & Noble Nook Tablet] lavero.burgos:
http://dl.dropbox.com/u/21630798/Tutorials/Nook Tablet/NT_repartition_files.zip
[Barnes & Noble Nook Tablet] HoDiep:
Hello I'm still stuck in CWM. I followed this way but still not working. I stuck at

abd shell

~ # parted /dev/block/mmcblk0

parted /dev/block/mmcblk0

GNU Parted 1.8.8.1.179-aef3

Using /dev/block/mmcblk0

Welcome to GNU Parted! Type 'help' to view a list of commands.

(parted) print

print

print

Error: /dev/block/mmcblk0: unrecognised disk label.

(parted)....(im stuck here)

I'm using NT 8G

Thanks
[Barnes & Noble Nook Tablet] panicinduced:
NT stuck in cwm, can't install cm7 from sdcard.

I need your help. I'm close to giving up and throwing my NT away if there's no way to have my issue fixed :( I'm not a technology savvy person, I just follow youtube videos for updates and even though I try to be patient with all the instructions around, I just couldn't because I am using a mac and most of the fixes are in windows :(

Anyway. I followed xda's instructions in updating to CM7. I encountered an error in CWM saying unable to mount sdcard android_secure. I didn't know what to do, so I went to different website as to how this fixed. I saw someone saying "format system" so I did. I rebooted the tablet, then I was back on the CWM screen again. Unfortunately, I tried numerous times to click "install zip from sdcard" and I couldn't find the file for the CM7 zip file so I chose "choose zip from sdcard". And that's where I'm stuck right now. I am using a MAC laptop, I tried to do the ubuntu thing but when i saw that i needed to install a .exe file, I stopped reading it. Is there a way to have my tablet fixed? I wasn't able to backup my files before I decided to restore to factory settings. please help!
[Barnes & Noble Nook Tablet] lavero.burgos:
Hi, if you format system that's OK but after that there won't be any Operative system installed.

You're stuck in the way that you can't find the CM7 .zip? or that it doesn't let you install (errors showing up)?

By formatting system shouldn't brick your tablet but if you formatted anything else than system, data, cache, sdcard then that's another story and you'll have to restore your partitions.

You can Google: how to burn an image to a sdcard in MAC and use that method to burn any image without the need of .exe to un-brick your device.

~ V
[Barnes & Noble Nook Tablet] panicinduced:
hello! thank you for your reply! i followed through the instructions however i am not sure of the term burn? do i just drag and drop the file into my sdcard? i also followed the instructions on how to burn the image in a terminal, however i am confused with this part, and i am also getting an error that says "no file directory found" dd if=NameOfNookieFroYoImage of=/dev/disk# bs=1m <--that's the part i'm confused. what is the name of the image? i get the error no file directory found whenever i tried to do this..

thanks again for your help. :)