[UnBrick]TOTAL WIPE and reflash back to 1.4.0 via Ubuntu Recovery --Now Easier!!!!

Search This thread

javip

Senior Member
Dec 3, 2009
202
111
hello everyone.

i've read through this thread but have one questions.

all recovery guides i've gone through assume that there are partitions within /dev/block all my mmcblk* are missing in /dev/block

i tried running the sdcard with Adams image on it and it does boot to a BLANK screen. a little white line comes out first but the screen is blanked but lit.nothing happens even after leaving it running for a day i can run cwm and twrp from sdcard with no problems but both report that all partitions fail to mount.

sgdisk does not allow me to make any changes. i however don't think the nook is completely dead since it does boot up and there is no hardware damage. genptable shows partition info but i can't do anything with that info.
 

HuskerStorm

Member
Aug 31, 2010
16
2
I want to thank you so much for this but I do have one problem after running this. It flashes my nook back to stock which is what I want but when it goes to boot back up my touchscreen to view the "hot to use your nook" video or skip it doesn't work. Nothing on my touchscreen works! The volume turns up. I cant tell if the N button works or not. Help please! Im sooooo close to getting my nook back finally.
 

satan89

Senior Member
Sep 21, 2009
642
185
Bangalore, Mangalore
I want to thank you so much for this but I do have one problem after running this. It flashes my nook back to stock which is what I want but when it goes to boot back up my touchscreen to view the "hot to use your nook" video or skip it doesn't work. Nothing on my touchscreen works! The volume turns up. I cant tell if the N button works or not. Help please! Im sooooo close to getting my nook back finally.

You must have flashed multi touch firmware which works only on Cm10 roms. Stock firmware only supports 1 touch.
Make sdcard bootable cwm and flash Cm10 once again (sdcard bootable cm10 may also work) then install the 2 touch firmware, then return to stock.

Sent from my ST27i
 

Know-Fear

Senior Member
Jan 9, 2010
552
103
You must have flashed multi touch firmware which works only on Cm10 roms. Stock firmware only supports 1 touch.
Make sdcard bootable cwm and flash Cm10 once again (sdcard bootable cm10 may also work) then install the 2 touch firmware, then return to stock.

Sent from my ST27i

I had this same problem with mine. I have the NT running completely stock firmware after using Adam's method here. I was running CM10 on sdcard and all works fine with that. But when I try to get back into the stock setup, I have no response from the touch screen at all. With or without my cm10 sdcard inserted. /boggle
 

1_ton

Member
Apr 12, 2012
25
0
Pacific Northwest
AWESOME!

This post can unbrick any Nook Tablet as long as there is no hardware damage.

Introduction
Some of you might know that I've been working on getting Ubuntu 11.10 running on the Nook Tablet. Why Ubuntu 11.10? It's optimized for touchscreen. My work with Ubuntu is not totally ready yet. The touchscreen is totally wonkey and unusable for touch input.

...Well, without a 3.0 kernel tailored to our device, Ubuntu is quite unusable as a Graphical User Interface. I've tried to compile a few times without any real results to report. The best results I've come across use a 2.6 kernel based on the kernel used for our device by Android. Anyway, if anyone can help get us a operational 3.0, 3.2+ kernel with full support for our device, I can get Ubuntu running.

However, all is not lost. Ubuntu DOES boot on a 2.6 kernel and it WILL perform most tasks that do not require special device control, like wiping the disk and reflashing. I've come up with a total wipe and restore program for SDCard based on ubuntu.

So, as a result of my work, I would like to present the first ever Ubuntu Recovery. This will totally wipe your device. With the exception of the ROM Partition which contains serial information, every single partition will have zeros written to it then flashed with just enough to perform an initial factory reflash. Normally when you perform an update or flash of a device, it is simply formatted. A formatted device can be unformatted. A zeroed device cannot be unformatted. All information is overwritten with zeros.

This will also work if you've damaged the bootloaders or recovery partition.


how to create your own bootable Ubuntu Recovery SDCard


You will need:
  • A Class 4 SDCard with at least 4Gigs of space
  • 6 gigs of free space (for downloading sdcard image and uncompressing)
  • The SDCard Image: http://ge.tt/9rVFXxC?c

Linux/Mac Instructions
  1. Open a terminal in Ubuntu by typing "terminal" in the search bar then hit enter
  2. uncompress the Downloaded SDCard Image
    Code:
    cd ~/Downloads
    tar -xvwzf ./AdamOutlerUbuntuTotalReFlash.tar.gz
  3. With the SDCard or reader removed from the computer, get a list of all disks
    Code:
    ls /dev/sd?
  4. Insert your sdcard or usb sdcard reader, then press the up key and enter to repeat the last command. The new device will show up as sdb, sdc, sdd or sde. each new device gets a higher letter. Note this newly plugged in device.(ie. /dev/sdc)
  5. Use the following command to make your new SDCard, where "sdc" is the name of your SDCard device.
    Code:
    sudo dd if=./AdamOutlerUbuntuTotalReFlash of=/dev/sdc bs=4096; sync
    Wait 5-20 minutes (depending on SDCard speed) until the image burning completes.
  6. Shove it in your nook and turn it on by inserting the USB cable(do touch the power button, just insert the usb cable). Your nook will boot Ubuntu and perform a total factory restore. The process will take 15 minutes to complete with a Class4 micro SDcard.

Pro-tip: to copy and paste easily in Ubuntu, highlight text in the browser, then press the middle mouse button on the terminal.
Pro-tip: The tab key will auto-complete filenames.


Windows Instructions
Thanks to cyberma007 for Windows instructions.
  • Extract AdamOutlerUbuntuRecoveryImage with Winrar
  • Rename the resulting file to Add the .img extension to the filename
  • Download and open Win32 Disk Imager. note: The open source project can be found here: https://launchpad.net/win32-image-writer
  • Choose the drive letter of your SD Card from Win32 Disk Imager
  • Click the Write button
  • Turn of your nook and put in the SD Card and turn it back on.

Your Microsoft®™ Windows©®℠ computer sucks at reading anything except Microsoft formats. It cannot read the Open Source Linux EXT4 format. You will only see one partition after creating the SDCard but it will work fine. If you want to inspect the contents, install a Linux distribution on your computer.

znq6ur.jpg


Theory of operation
how it works
When you insert the SDCard and turn on the device this is what happens.
  • The device boots from SDCard.
  • The Ubuntu GUI will load. Personally, I recommend that you do not touch anything
  • You will be presented with a 100 Second countdown
  • If you wish to stop, press and hold power for 10 seconds before flashing has started
  • You will be presented with a progress bar status update only. Closing this will not affect the process. the only way to stop is to turn the device off.
  • At this point, the flashing process will begin
Flashing Process
After Ubuntu has booted here is the procedure which takes place
  1. MLO partition will be written with all zeros, then flashed
  2. U-BOOT partition will be written with all zeros, then flashed
  3. RECOVERY partition will be written with all zeros, then flashed
  4. BOOT partition will be written with all zeros, then flashed
  5. BOOTDATA partition will be written with all zeros, then flashed
  6. BOOTDATA is mounted and a command is sent to factory reset the device upon next boot.
  7. FACTORY partition will be written with all zeros, then flashed in two parts to work around a 120 second filesystem operation bug.
  8. A sync operation takes place to ensure all data is written to the device
  9. SYSTEM partition is wiped with all zeros
  10. SYSTEM partition is recreated as a blank EXT4 filesystem
  11. CACHE partition is wiped with all zeros
  12. CACHE partition is recreated as a blank EXT4 filesystem
  13. SDCARD partition is wiped with all zeros
  14. SDCARD partition is recreated as a blank FAT32 filesystem
  15. A sync operation takes place to ensure that all data is written
  16. You are notified to press and hold power. When the screen goes black remove your SDCard
note: Using a Class4 SDCard, the screen timeout will be aproximately 30 seconds after the entire operation has completed. Do not confuse screen-timeout (blank screen) with turning off the device (black, unilluminated screen). Turn the device off and then remove the sdcard or risk corrupting the data on the sdcard.

It's my intention that this may help someone. This will at least be one more method for people to try before giving up on restoration to 1.4.0. I generally receive 5-10 PMs per week requesting support on the acclaim_update.zip. Hopefully this will reduce those and give people another option to try.

Ubuntu isn't ready for daily use yet, but this recovery tool is more thorough than any other recovery method out there. I need some help porting the 3.0 kernel to the Nook Tablet.

I was able to restore my 16gb NT using the Windows method and some help and advice from a few members of the XDA Community. THANK YOU!
 

centenj

Senior Member
Feb 7, 2013
75
22
Help

Downloaded file and stays stuck at "writing zeros to MLO". Also tried everything from booting into CWM and flash .zip to it and all I get is
Cant mount/cache/recovery/log
Cant open/cache/recovery/log
Cant mount/cache/recovery/log
Cant open/cache/recovery/last_log


WTF!
 

datallboy

Senior Member
Feb 7, 2013
511
94
I've tried booting this method but every time I plug it into my nook it does not boot. Loads straight into stock Nook Tablet OS. Plugged in with USB still boots to stock.

Other question is I tried deleting the /root/recovery just to use as an operating system but it won't let me access the file because of permissions. I used the chown command to change permission, but nothing happened.

I've tried both Windows and Ubuntu Instructions, but nothing is working for me. Am I missing something? Or something in my process not working.
 

towir022

Senior Member
Nov 11, 2010
137
9
Banging My Head on The Wall Hard

So I have tried making an SD card from windows from Ubuntu and on 3 different computers.

I have tried a 8 GB class 4 san disk card and a 16gb class 10 san disk card. I can get the nook to boot from the card and then it does the countdown from 100. Then it says it is doing its thing and there is a progress bar. The problem is that the progress bar never ever moves. Also it never finishes. The screen blacks out after a while but it never turns off or anything. I have left it for 2 hours and come back to a timed out screen and you press the n button and the screen turns right back on to the progress bar with no progress.

I do not know what I could be doing wrong. I have never been unable to bring a dead android device back to life. Any suggestions are greatly appreciated.
 

oZo

Senior Member
Mar 29, 2008
127
13
You must have flashed multi touch firmware which works only on Cm10 roms. ....install the 2 touch firmware, then return to stock.

I also have the 10 Touch Firmware installed. And now the screen is unresponsive when restored to original Nook software
So where do I find the appropriate firmware for "One Touch"?
I have looked, but I don't know where it is.
Any help appreciated.
 

asawi

Senior Member
Oct 1, 2012
580
136
Sv: [UnBrick]TOTAL WIPE and reflash back to 1.4.0 via Ubuntu Recovery --Now Easier!!!

If you install CM10 again there should be a touch firmware app included. Use it to go back to stock touch firmware. I think you can do this while running CM10 from SD card.


Skickat från min NookTablet via Tapatalk 2
 
  • Like
Reactions: oZo

komputerfreek

Senior Member
Sep 17, 2010
124
5
For the life of me I can not get this to boot into the SD card. I currently have CM 10.1 installed and whenever I power on my nook, it goes directly into the cyanogenmod bootloader.
 

asawi

Senior Member
Oct 1, 2012
580
136
Have you tried turning off the NT completely, insert the card and then the chargeing cable connected to the wall charger?
Many NT need this procedure to boot from sd (or so I've been told, none of mine does...).
 

asawi

Senior Member
Oct 1, 2012
580
136
I suppose you don't get to "hold n for menu"? If you do, you can choose sd-boot from there.
I'm trying to look back to see what kind of problems you are having and what it is you're trying to accomplice, but I couldn't find it.
More info means better chance of useful answers.
 

komputerfreek

Senior Member
Sep 17, 2010
124
5
I suppose you don't get to "hold n for menu"? If you do, you can choose sd-boot from there.
I'm trying to look back to see what kind of problems you are having and what it is you're trying to accomplice, but I couldn't find it.
More info means better chance of useful answers.

I tried the alternative to the linux method (just the stock BN image written to the SD card) and it worked immediately. Only thing is that the touch screen does not work (I do not mind, sending it out to be replaced, I read that I could flash CM10 and update the driver, but do not care). Sorry I could not find a fix for my issue as I would have gladly posted a fix to stop others from encountering the same thing.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 75
    This post can unbrick any Nook Tablet as long as there is no hardware damage.

    Introduction
    Some of you might know that I've been working on getting Ubuntu 11.10 running on the Nook Tablet. Why Ubuntu 11.10? It's optimized for touchscreen. My work with Ubuntu is not totally ready yet. The touchscreen is totally wonkey and unusable for touch input.

    ...Well, without a 3.0 kernel tailored to our device, Ubuntu is quite unusable as a Graphical User Interface. I've tried to compile a few times without any real results to report. The best results I've come across use a 2.6 kernel based on the kernel used for our device by Android. Anyway, if anyone can help get us a operational 3.0, 3.2+ kernel with full support for our device, I can get Ubuntu running.

    However, all is not lost. Ubuntu DOES boot on a 2.6 kernel and it WILL perform most tasks that do not require special device control, like wiping the disk and reflashing. I've come up with a total wipe and restore program for SDCard based on ubuntu.

    So, as a result of my work, I would like to present the first ever Ubuntu Recovery. This will totally wipe your device. With the exception of the ROM Partition which contains serial information, every single partition will have zeros written to it then flashed with just enough to perform an initial factory reflash. Normally when you perform an update or flash of a device, it is simply formatted. A formatted device can be unformatted. A zeroed device cannot be unformatted. All information is overwritten with zeros.

    This will also work if you've damaged the bootloaders or recovery partition.


    how to create your own bootable Ubuntu Recovery SDCard


    You will need:
    • A Class 4 SDCard with at least 4Gigs of space
    • 6 gigs of free space (for downloading sdcard image and uncompressing)
    • The SDCard Image: http://ge.tt/9rVFXxC?c

    Linux/Mac Instructions
    1. Open a terminal in Ubuntu by typing "terminal" in the search bar then hit enter
    2. uncompress the Downloaded SDCard Image
      Code:
      cd ~/Downloads
      tar -xvwzf ./AdamOutlerUbuntuTotalReFlash.tar.gz
    3. With the SDCard or reader removed from the computer, get a list of all disks
      Code:
      ls /dev/sd?
    4. Insert your sdcard or usb sdcard reader, then press the up key and enter to repeat the last command. The new device will show up as sdb, sdc, sdd or sde. each new device gets a higher letter. Note this newly plugged in device.(ie. /dev/sdc)
    5. Use the following command to make your new SDCard, where "sdc" is the name of your SDCard device.
      Code:
      sudo dd if=./AdamOutlerUbuntuTotalReFlash of=/dev/sdc bs=4096; sync
      Wait 5-20 minutes (depending on SDCard speed) until the image burning completes.
    6. Shove it in your nook and turn it on by inserting the USB cable(do touch the power button, just insert the usb cable). Your nook will boot Ubuntu and perform a total factory restore. The process will take 15 minutes to complete with a Class4 micro SDcard.

    Pro-tip: to copy and paste easily in Ubuntu, highlight text in the browser, then press the middle mouse button on the terminal.
    Pro-tip: The tab key will auto-complete filenames.


    Windows Instructions
    Thanks to cyberma007 for Windows instructions.
    • Extract AdamOutlerUbuntuRecoveryImage with Winrar
    • Rename the resulting file to Add the .img extension to the filename
    • Download and open Win32 Disk Imager. note: The open source project can be found here: https://launchpad.net/win32-image-writer
    • Choose the drive letter of your SD Card from Win32 Disk Imager
    • Click the Write button
    • Turn of your nook and put in the SD Card and turn it back on.

    Your Microsoft®™ Windows©®℠ computer sucks at reading anything except Microsoft formats. It cannot read the Open Source Linux EXT4 format. You will only see one partition after creating the SDCard but it will work fine. If you want to inspect the contents, install a Linux distribution on your computer.

    znq6ur.jpg


    Theory of operation
    how it works
    When you insert the SDCard and turn on the device this is what happens.
    • The device boots from SDCard.
    • The Ubuntu GUI will load. Personally, I recommend that you do not touch anything
    • You will be presented with a 100 Second countdown
    • If you wish to stop, press and hold power for 10 seconds before flashing has started
    • You will be presented with a progress bar status update only. Closing this will not affect the process. the only way to stop is to turn the device off.
    • At this point, the flashing process will begin
    Flashing Process
    After Ubuntu has booted here is the procedure which takes place
    1. MLO partition will be written with all zeros, then flashed
    2. U-BOOT partition will be written with all zeros, then flashed
    3. RECOVERY partition will be written with all zeros, then flashed
    4. BOOT partition will be written with all zeros, then flashed
    5. BOOTDATA partition will be written with all zeros, then flashed
    6. BOOTDATA is mounted and a command is sent to factory reset the device upon next boot.
    7. FACTORY partition will be written with all zeros, then flashed in two parts to work around a 120 second filesystem operation bug.
    8. A sync operation takes place to ensure all data is written to the device
    9. SYSTEM partition is wiped with all zeros
    10. SYSTEM partition is recreated as a blank EXT4 filesystem
    11. CACHE partition is wiped with all zeros
    12. CACHE partition is recreated as a blank EXT4 filesystem
    13. SDCARD partition is wiped with all zeros
    14. SDCARD partition is recreated as a blank FAT32 filesystem
    15. A sync operation takes place to ensure that all data is written
    16. You are notified to press and hold power. When the screen goes black remove your SDCard
    note: Using a Class4 SDCard, the screen timeout will be aproximately 30 seconds after the entire operation has completed. Do not confuse screen-timeout (blank screen) with turning off the device (black, unilluminated screen). Turn the device off and then remove the sdcard or risk corrupting the data on the sdcard.

    It's my intention that this may help someone. This will at least be one more method for people to try before giving up on restoration to 1.4.0. I generally receive 5-10 PMs per week requesting support on the acclaim_update.zip. Hopefully this will reduce those and give people another option to try.

    Ubuntu isn't ready for daily use yet, but this recovery tool is more thorough than any other recovery method out there. I need some help porting the 3.0 kernel to the Nook Tablet.
    10
    Note: to neuter recovery and just use ubuntu, remove the file called /root/recovery from the sdcard before loading into your Nook.
    10
    Here is the rehosted file and new instructions. Let me know if there are any problems so I can redo the first post.


    You will need:

    Instructions:
    1. Open a terminal in Ubuntu by typing "terminal" in the search bar then hit enter
    2. uncompress the Downloaded SDCard Image
      Code:
      cd ~/Downloads
      tar -xvwzf ./AdamOutlerUbuntuTotalReFlash.tar.gz
    3. type "ls" to get a file listing and locate the name of the new file. (ie AdamOutlerUbuntuTotalReFlash).
    4. With the SDCard or reader removed from the computer, get a list of all disks
      Code:
      ls /dev/sd?
    5. Insert your sdcard or usb sdcard reader, then press the up key and enter to repeat the last command. The new device will show up as sdb, sdc, sdd or sde. each new device gets a higher letter. Note this newly plugged in device.(ie. /dev/sdc)
    6. Use the following command to make your new SDCard, where "AdamOutlerUbuntuTotalReFlash" is the name of the uncompressed file and "sdc" is the name of your SDCard device.

      Code:
      sudo dd if=./AdamOutlerUbuntuTotalReFlash of=/dev/sdc
      Wait 5-45 minutes (depending on SDCard speed) until the image burning completes.
    7. Shove it in your nook and turn it on. The process will take 15 minutes to complete with a Class4 micro SDcard

    Pro-tip: to copy and paste easily in Ubuntu, highlight text in the browser, then press the middle mouse button on the terminal.
    Pro-tip: The tab key will auto-complete filenames.
    4
    Which kernel branch did you try to build?
    I've tried several. The problem is in configuration. I eventually settled for the stock 2.6 android_4430BN_defconfig. It seems to function best for this until we have a proper 3.0 kernel.
    4
    Thanks Adam very nice work. Question what if we want to revert to 1.4.0 or 1.4.0 is it possible or we will be stick it lol. Can this be supported for dual/multi boot?

    ~ Veronica

    Sent from XDA premium using my Nook Tablet :p
    Thats what this does. It reverts you to 1.4.0. It uses Ubuntu as a dedicated recovery. If you would like to dual boot, just remove the /root/recovery file. You can boot Ubuntu or normal by inserting and removing the sdcard. But like i said, the touchscreen is wonkey and there's no way to fix most of the problems without a 3.0 kernel.



    Very good work Adam.
    I have one trivial question... Why on all your projects do you use Ubuntu and not any other distro?

    I use Ubuntu on my desktop. I like Ubuntu because it has a large user base and if i come across a problem, it is easier to correct or has generally at least been discussed. For a mobile device, it makes more sense than other Linux distributions because newer versions have been optimized for touchscreens. In general, i find Ubuntu supports more things than other Linux distributions.