Hacking the new Nook GlowLight

Search This thread

bigtexan99

Senior Member
Nov 29, 2008
59
1
can't resize partition on Nook Glowlight

I followed the instructions on here and successfully rooted my white Nook glowlight. Thanks!!

Now, I'm trying to resize the huge B&N partition and grow the user side load partition.

Again following the instructions I run omaplink omap3_aboot.bin u-boot-ng2-exp-v03.bin uImage-ng2-130-stk uRamdisk-noogie and connect the glowlight. Then restart the PC and boot into Gnome gparted.

All the expected partitions are visible and I tell the system to shrink the B&N partition down to 250mb and apply it. It processes for a while, and then fails with the following error. I restarted everything, went to the terminal in Gparted and ran the suggested e2fsck command and it appeared to process fine. Retried to resize and I get the same error. Any suggestions?

GPARTED Command and Output:

resize2fs -p /dev/sdb9 205808k

resizing the filesystem on /dev/sdb9 to 51452 (4k) blocks
Begin pass 2 (max- 12512)
Relocating blocks xxxxxxxxxxxxxxxx........................
resize2fs 1.42.12 (29-Aug-2014)
resize2fs: attempt to read block from filesystem resulted in short read while trying to resize /dev/sdb9
Please run 'e2fsck -fy /dev/sdb9' to fix the filesystem
after the aborted resize operation.
 

bigtexan99

Senior Member
Nov 29, 2008
59
1
Thanks Kramar. I retried it with the 'newer' aboot.bin but I received the same short read error when trying to shrink the partition.

Any other suggestions?
 

bigtexan99

Senior Member
Nov 29, 2008
59
1
screenshots

Sure, here are some screenshots. AFter the resize fails, there is no difference in the partition info, so there is not a separate screenshot of that.

I appreciate your help!
 

Attachments

  • nook_gparted_partitioninfo_before_resize.jpg
    nook_gparted_partitioninfo_before_resize.jpg
    47.3 KB · Views: 164
  • nook_gparted_output_after_resize_command_fails.jpg
    nook_gparted_output_after_resize_command_fails.jpg
    51.1 KB · Views: 143
  • nook_manualy_running_e2cfs.jpg
    nook_manualy_running_e2cfs.jpg
    63.5 KB · Views: 144

Kramar111

Senior Member
Feb 16, 2014
320
145
Near Center of Ukraine
Last edited:
  • Like
Reactions: bigtexan99

bigtexan99

Senior Member
Nov 29, 2008
59
1
Partial Success

Thanks, yes I had been unplugging and re-plugging the glowlight as recommended.

It turns out I was able to resize the troublesome /dev/sdb9 partition by doing it in much smaller chunks than trying to shrink it all at once. I shrinked it down 200 or so megabytes at a time and it was successful, it just took a while.

Now, I have a unallocated block of 2.0 Gigs. I went to /dev/sdb5 and tried to resize it, but it says the maximum possible is its current size of 508. I'll go review the threads again, but if someone can help me resize /dev/sdb5 to use the unallocated block I'd appreciate it.

Update: Okay, I see now that I have to 'move' them across the block over to the right. Trying that now, but not having any luck. I'm getting errors.
 

Attachments

  • 20150418_123429.jpg
    20150418_123429.jpg
    45.9 KB · Views: 76
Last edited:

bigtexan99

Senior Member
Nov 29, 2008
59
1
I've been able to shrink the B&N partition, but when I try to move the remaining partition to the right I get the attached error.

Any help would be appreciated.
 

Attachments

  • 20150418_144949.jpg
    20150418_144949.jpg
    157.1 KB · Views: 65

Kramar111

Senior Member
Feb 16, 2014
320
145
Near Center of Ukraine
@bigtexan99
do you have full backup?
first action with sdb9 must shrink&move to the right at the same time (drag LEFT, not right border of sdb9!)
that's why I asked for a screenshot before the first click "apply"
you may see it on screenshots in my instruction for "Resize partitions with GParted Live on USB."
 

bigtexan99

Senior Member
Nov 29, 2008
59
1
Drag the left border??? I totally missed that!!! Okay, so I restored my Nook Glowlight back to its original state and tried to drag the left border.

Sadly, I just get the same 'short read' error.

I don't know why I'm getting that or what to do.
 

bigtexan99

Senior Member
Nov 29, 2008
59
1
Kramar, thanks for not giving up on me! I reran the e2fsck command and it repaired some blocks. I then tried to resize the partition by grabbing the left side and moving it over 100mb. It failed. I've attached all the screen shots for you to see.
 

Attachments

  • 20150419_220034.jpg
    20150419_220034.jpg
    234.8 KB · Views: 178
  • 20150419_220605.jpg
    20150419_220605.jpg
    158.5 KB · Views: 175
  • 20150419_220752.jpg
    20150419_220752.jpg
    173.7 KB · Views: 181
  • 20150419_220853.jpg
    20150419_220853.jpg
    174.9 KB · Views: 171
  • 20150419_221011.jpg
    20150419_221011.jpg
    194.4 KB · Views: 164
  • 20150419_221047.jpg
    20150419_221047.jpg
    152.4 KB · Views: 158

bigtexan99

Senior Member
Nov 29, 2008
59
1
Yes, I did refresh devices after running e2fsck. Okay, tonight when I get home I will try it on a different computer, burn the gparted image to a usb stick, and a different USB cable.
 

bigtexan99

Senior Member
Nov 29, 2008
59
1
I'm cursed!

I tried it with a new image of gparted on a USB stick. A different computer. A different USB cable. All new omaplink, aboot.bin, uimage, uramdisk files.

Same result!! It throws the same error when trying to resize the partition by dragging it from the left to the right: "could not stat device".
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    Tarball for easy rooting with Linux

    First of all, many thanks for your great work!

    I created a collection of files that should make rooting the Nook with Linux a breeze. It contains the files needed to boot cwm using the x-loader-usb method provided by straygecko and a couple of scripts I mostly took from NookManager and modified according to my needs, plus (also from NookManager) the binary files to be installed on the Nook.

    There are scripts to boot cwm, patch the uRamdisk for ADB, install busybox, su, ReLaunch, enable non-market apps, disable and re-enable all B&N apps, and some more.

    There is also a script that patches the uRamdisk to make /sdcard a symlink to /data/media, since some apps (notably recent versions of CoolReader) need an SD card present to work properly and there is enough space at /data. I haven't encountered any problems with this approach yet. Comments are very much appreciated.

    Last but not least there is a detailed README file. Make sure to read it carefully. It contains (among others) a section on how to setup ADB on Linux and, most importantly, tells you what the scripts do, how to use them, and whether they have any additional dependencies you need to install on your computer.

    I used these scripts several times successfully to root my Nook and I hope they will be helpful for other people as well.

    Edit 2014-02-04:
    • Add a script to check for necessary tools and libraries and document in the README
    • Add note about yiselieren's problems with USB 3.0 to the README
    • Add note about the libusb-0.1 dependency

    Edit 2014-02-02: Update README: At one point it said "hyphens" where it should have said "quotes"
    9
    A short recap of how to root the new NG2:

    All of these methods use the Texas Instruments OMAP processor USB bootloader.

    The desktop system that you connect the Nook to can be either Linux or Windows.
    This only details the Windows method.

    The bootloaded system can be either noogie or Clockwork Mod or a modified stock Nook.
    For now, we are only using the noogie method.

    The bootloading sequence can be either aboot, u-boot or x-loader, u-boot.
    For now, we are only using the aboot, u-boot method.

    Preparation
    In Window, we need drivers to communicate with all USB devices.
    The bnusbdriver.zip attached below is the modified stock driver.
    Unzip it and when installing or re-installing select this driver manually.
    Manually means saying, "No, I will select" until you get down to "Have disk" and select the specific directory.
    The driver info is unsigned, although the drivers themselves are stock Windows.

    Collect the necessary files.
    omaplink.exe can be found in the signature below.
    The four files can be downloaded here: http://forum.xda-developers.com/showpost.php?p=49779966&postcount=285

    Booting
    Fully power your Nook down with the USB disconnected.
    Run this command on the PC.
    Code:
    omaplink omap3_aboot.bin u-boot-ng2-exp-v03.bin uImage-ng2-130-stk uRamdisk-noogie
    Plug the USB into the Nook.
    Whenever a "New Device" popup appears manually select android_winusb.inf to be loaded then start this step over.
    omaplink should get as far as "Waiting for ADB..."
    It won't find it just yet, use ^C to exit.
    At this point there should be a new removable disk mounted with a dozen files on it, including uRamdisk

    Rooting
    Follow the directions here for modifying uRamdisk http://forum.xda-developers.com/showthread.php?p=49070213#post49070213
    Reboot to a rooted Nook with ADB over USB access
    7
    I just got a new Nook GlowLight (NGL), and came here assuming I would find all sorts of wonderful information about rooting it, and cool hacks I could do to make it more usable. Imagine my surprise when I could only find a couple of threads about it at all, with almost zero information! Finding information is definitely hampered by the name of the device. Any time I google for Nook GlowLight, 99% of the results are instead about the completely different product, Nook Simple Touch with GlowLight. Frustrating!

    Anyway, in an effort to get the ball rolling, I will post the little bit that I have been able to find out about my NGL.



    I cannot seem to ADB into it. I plugged it in, but ADB does not recognize it. It shows up as a regular mass storage device. The USB VendorID is 2080, and the ProductID is 0007. There seems to be no information out there anywhere about 2080:0007, unfortunately.



    I took the back cover off to see if there was a magical "press here to root" button. Sadly, there was not. Since there does not appear to be a NGL teardown annnnnnnnnnnnnywhere on the whole wide Interwebs, I took some amateur photos of mine to share. I didn't want to chance breaking it, as I can't really go and buy a new one right now, so it's not torn down to the individual components, sorry. Hopefully it will be enough to spark some ideas, at least.

    I don't know much about hardware hacking, but I've heard about JTAG ports being used to get inside of plenty of Android devices. One of the things I noticed was four unmarked copper pads on the board. That seems about right, as apparently most JTAG interfaces have either 4 or 5 lines, plus Ground. I created a picture with the four unmarked pads + Ground marked.



    I know it's not much, but hopefully this information will spark some ideas from people with more experience in cracking these devices! If anyone else has additional information to add, please post it here.
    6
    Here's the files to boot Noogie on the NG2

    I've been busy with business year-end stuff and haven't had time to look at this lately. Thanks to Renate for prodding me via PM to get the proper set of files together in one place as the bits and pieces are scattered throughout this thread. The attachment is the set of four files to use with Renate's omaplink to get your NG2 booted up into Noogie. This is for the aboot/fastboot method which seems to be the only reliable method right now. With this method you can get your boot partition mounted in Windows so you can make the necessary changes for root. But you will be unable to backup your entire nook storage. When I get a chance I'll see if I can get a reliable version of the x-load method working so you can do backups.

    Use with omaplink like this:

    omaplink omap3_aboot.bin u-boot-ng2-exp-v03.bin uImage-ng2-130-stk uRamdisk-noogie
    4
    OK, I sorted out how to compile the NST u-boot and applied the patches to it from the diff file provided in the Nook Color usb boot package. I ran into an issue where it won't work using virtualbox so I had to boot with a live CD to get the NST to boot over USB into CWM but it worked! ADB works fine but for some reason backup doesn't seem to work. It hangs on "Backing up boot...." - the first partition to backup. But ADB is a good start so you can explore your Nook Glowlight.

    I looked at the kernel source for the Nook Glowlight and it has a different u-boot config. I'm not sure how different but I think the best next step will be to compile a Nook Glowlight u-boot before giving this a try on a new glowlight.