yashsingh1/xdaforums huggingface dataset:
[Barnes & Noble Nook Tablet] scgt1:
Ok so here is the deal...

For some reason what ever the NT was used as while hooked to the computer is what it starts as when unhooked, unless its plugged into the wall charger. Say earlier I had nook (SD card out) transfering books over. I unhooked the nook properly through the device connection. Then shut it down and put the SD card back in. Went to the living room fired it up and nook stock loads. My fiancee's did the same damn thing. Until I hooked them both back up to the wall charger. Everytime its plugged in it boots up the NT to what ever it should (1. Nook Stock if no SD) (2.CM7 if SD is in the slot) but if its hooked to the computer for data and shutdown then restarted it loads up what ever was used last depending on if the SD card is in or not.

That's pretty damn annoying. Hopefully the cyanoboot fixes any of that from happening.

Now onto where and how to put the *.img file on the SD.

Of course when I plug it in up comes the CM7 where I'm met with if I want to turn on USB mass storage device or what ever. If I shut it down on this screen nothing will show in file manager that I can access. It states this drive needs to be formated.

When I select to use the NT as a mass storage device Up pops two drives:

My Nook (which is the actual internal NT Drive for stock Nook OS. Which is E: has 3.16GB free of 7.45GB(

Then the last partition on the SD card which is the one I increased to allot for the rest of the unallocated space on the card after writing CM7 to the SD. (G: which is labeled removable disk. 25.6GB free of 26.5GB)

The other three partitions I saw on the SD card before increasing the last partition are no longer visible in Mini Tool Partition Wizard like they were before I increased the final partition size.

Kinda lost here now.
[Barnes & Noble Nook Tablet] scgt1:
Had a wild hair and pulled the SD card out and put it in the card reader. What do you know the illusive partition I couldn't find is there. Renamed the original img file and put the cyanoboot file on plopped it back in the nook and started it.....

Into Nook stock just as I suspected because that was the last thing that was used. Sigh

Power down.

Unplug wall charger.

Plug wall charger back in.

Wait a second or two.

Cyanoboot loading....

It said hold n for menu (while it was already loading SD card) Screen goes black and I then get the normal teal green loading image for the android cm7 OS. I never got a menu to load one (Stock Nook) or the other (CM7).

I guess I didn't press and hold it soon enough the first time. Is there a way to adjust the boot delay time? I mean jesus it hardly gives you any time.
[Barnes & Noble Nook Tablet] Solar.Plexus:
Just hold it in as soon as it prompts you to. If it says that it's loading something, you've waited too long.
[Barnes & Noble Nook Tablet] tucstwo:
The files are gone from the OP with this. And there are differen't files strewn about the thread. I don't even know which are the right ones. I've been trying to get Cyanoboot to boot on my NT for 4 days now and it just never wants to boot up. It always goes straight into the NT stock software.
[Barnes & Noble Nook Tablet] Solar.Plexus:
The cyanoboot files that you got from succulent's blog should work fine.
[Barnes & Noble Nook Tablet] fattire:
Sorry about the file in the OP being gone... goo.im had a crash and lost some files. That version was old anyway. If i get a chance, I'll rebuild and update it, unless rebellos or someone wants to host the new files, in which case I can just link there.

/still haven't run it on NT :P
[Barnes & Noble Nook Tablet] Rebellos:
We are usually keeping these binaries up-to-date. ;)

https://github.com/CMNookTablet/android_device_bn_acclaim/tree/jellybean/prebuilt/boot
[Barnes & Noble Nook Tablet] tucstwo:
I tried that one. I'm not having any luck. I dont know why but no matter what I do, I CAN NOT get Cyanoboot to boot up. Tried so many different things. Different cards, different computers, different sd card writers. nothing. I dont know.
[Barnes & Noble Nook Tablet] Solar.Plexus:
Have you followed the instructions from post #94 of this thread?
[Barnes & Noble Nook Tablet] fattire:
Two small things...

Hey guys,

I was fooling with the NookColor Cyanoboot and I think I found some minor aesthetic things that might want fixin'. I'd do it myself, but I don't have a NT to test with so figured rather than try it and post binaries, I'd post to give anyone who wants to learn to make cyanoboot an excuse to build it yourself :)

1.

First replace the video_font.h file from here where I remapped the ^ to create a "n" (upside-down "U") shape.

Then here, on line ~220, this line:

lcd_puts(" Press N to select");

Can be changed to:

lcd_puts(" Press ^ to select");

You can use that anywhere the "n" is referenced.

2.

You can double-check my work here, but I'm pretty sure that in this file:

around line 638,

sprintf(s, " %u", bootcount);

should be

sprintf(s, " %ul", bootcount);

since it's an unsigned long.

That's it. If rebellos or someone wants to try it, feel free to commit it or send me a pull request and I'll do it. Source is here.

ft
[Barnes & Noble Nook Tablet] Rebellos:
Thanks!

@1 if noone does, gonna pull it next week.

@2 AFAIK %u defaults to unsigned int, and int=long in ARM so I think no need to modify it.
[Barnes & Noble Nook Tablet] tmjohnsonfse:
I may try to do this. I am new at all of this, so this may be a good project for me to learn from. If I have any questons is it OK to pm you?

I will let you know how it turns out either way.
[Barnes & Noble Nook Tablet] fattire:
Sure.. gl!

Btw rebellos-- on nookcolor, I got "EMMC 0" w/ %u and "EMMC 01" w/%ul fwiw. Your mileage may vary :)
[Barnes & Noble Nook Tablet] fattire:
more tweaking...

Oh, to whomever-- I just did two more minor changes on the NC's CB that would probably be good for NT as well.

menu timestamp reflects build time and not menu.c modification timestamp

make the "n" glyph a little wider and shorter (modify to taste)

Both can apply easily to NT. If you can't get to it, I can add these little bits too and just post the binaries...

ft
[Barnes & Noble Nook Tablet] tmjohnsonfse:
I got my environment up and running tonght. I will try and get this started tomorrow. Sorry for the delay.
[Barnes & Noble Nook Tablet] jotekman:
So. Let's say a relative coding idiot wanted to install cyanoboot into emmc.

Running CM7 from emmc currently.

Can anyone make a quick guide for the morons who would like this?

Read the 1st post thoroughly, but don't really know how to get what where and in which partition at which offset.

Thanks for the help in advance.

-Jotek
[Barnes & Noble Nook Tablet] DanGeorges:
Restore Stock Bootloader

If I install this Cyanoboot bootloader on my nook tablet, what is the process to restore the stock B&N bootloader, if that's even possible?
[Barnes & Noble Nook Tablet] TheForceUnleashed:
Just flash the stock rom back. Besides, who would want to leave an awesome bootloader like Cyanoboot?
[Barnes & Noble Nook Tablet] DanGeorges:
When you say "just flash the stock rom back," will this really replace the cyanoboot bootloader? In my experience with android phone ROMs, they don't touch the bootloader. This Nook Tablet development, however, has (for some odd reason) chosen to ALWAYS INCLUDE a modified/custom bootloader for the ROM installs.

This is a bad idea.

Cyanoboot, although sorta interesting (not what I would consider awesome, though), isn't necessary. There is no reason to replace a bootloader on a device. It's too risky.

Three questions for anyone here:

if I want to flash the stock ROM, where can I find such a file, and why would it overwrite a bootloader? How can that work unless the stock ROM zip file reverts the bootloader?

Is there any way to run Cyanoboot from an SD Card? If so, where can I download this bootloader to test it?

There doesn't seem to be a download link in this thread. Anyone know where it might be?
[Barnes & Noble Nook Tablet] fattire:
CyanoBoot: just "sorta interesting"?

No offense Dan, but you really have absolutely no idea what you're talking about, and that's too bad because your objections are discussed in the original post.

There's a really, really good reason why "for some odd reason" ROM installs always include a modified bootloader. CyanoBoot, in the case of the Nook Tablet, is a second bootloader. Aside from all the menuing stuff and multiple boot modes, it integrates the fix by Bauwks which gets past the locked, signature-verifying native bootloader (which, incidentally, is not replaced or your system wouldn't boot). CyanBoot is not just "sorta interesting": a second bootloader with the signature fix is

absolutely required

if you want to be able to use a custom ROM or recovery or anything but the signed, stock operating system from Barnes and Noble.

Use Google. The stock ROM is available from Barnes and Noble.

The original post explains where the 2nd bootloader goes. It does NOT overwrite the signed first bootloader.

Really? Read the original post, which explains it briefly. You can also consult the source as well as the subsequent posts in this thread. There are also additional links within in the thread, and finally, any SD-bootable ROM or recovery likely has an integrated CyanoBoot or 2nd bootloader containing Bauwks' fix.

You cannot just flash CyanoBoot over the signed bootloader and expect anything to work. You'll have an unbootable system and need to recover from SD card. CyanoBoot must be prepared with a boot.img, system.img (or flashing_boot.img) as described in the OP.

There is a link to source in the first post. CyanoBoot is not a simple bootloader image that can just be flashed into place. Because it is acting as a second bootloader, there are special considerations that must be implemented-- namely putting it at byte zero of boot.img and system.img and then shifting the previous contents 512 blocks. This isn't just done for the fun of it, but because it is necessary due to the fact that the original bootloader is locked and looking for a signed boot.img and boot.system and CyanoBoot defeats this "bug".

But you clearly didn't read the first post. Maybe you should.
[Barnes & Noble Nook Tablet] DanGeorges:
Wrong. I know what I'm talking about. ROMs don't overwrite bootloaders in my experience. I've flashed custom bootloaders via ADB, but I've NEVER seen a ROM (at least for my device) actually include a bootloader. It's just not necessary. Once you've rooted your device and installed CWM recovery (or an equivalent), you just flash the ROM's zip file.

So you're saying that with CWM recovery installed on the device, I can't install a ROM via the typical zip file method? This is a complete surprise. See this article: http://raywaldo.com/2012/09/root-for-nook-tablet-1-4-3/ and jump to the section "Flash Jelly Bean Android 4.1.1". Looks like you can flash a ROM here via the way I've always done it.

It overwrote mine when I installed a ROM (NT_CM7beta_Ribbon_ICS_v1.zip) and hosed the system. Not even the repart.img would fix it.

I did, man.

I did read it. Clearly you didn't read my post completely. You may have read the words, but you don't seem to have actually thought about my questions...
[Barnes & Noble Nook Tablet] fattire:
Okay...

Really? You're really going to double-down on this?

Glad you qualified it with "in my experience". Your limited experience obviously doesn't include the Nook Color, which does replace uboot. And your experience clearly doesn't including careful reading of threads relating to the Nook Tablet's locked bootloader, otherwise you'd understand why the second bootloader is necessary. You'd understand that is does NOT replace the original stock bootloader, but suppliments it in a way that is absolutely necessary.

So none out of all the your device(s) had to deal with a locked bootloader. So?

A lot of "devs" have a reputation for delivering the smackdown on people who drop into a forum throwing around attitude without knowing what they're talking about.. and believe me, I'm trying hard really to be polite and not condescend here... So yeah, I get it- you've installed CWM on a device or two and you think you understand the process. But not every device is the same. I'm about to jump on a plane, so I'll try to make this as simple as I can:

Unlike many devices that work exactly how you describe (root, install a recovery, and flash the rom), the Nook Tablet has extra security-- a design flaw from Barnes and Noble-- that has to be fixed/circumvented. That is, there is a signed booting process where once the power turns on, the pre-bootloader (aka "x-loader" aka "mlo") will not run unless it is signed by Barnes and Noble, and contains a digital signature that can be verified as authentic. The pre-bootloader then loads the bootloader (u-boot) which also has a digital signature which is checked. The bootloader and pre-bootloader can not be replaced-- the hardware will not run unsigned or improperly signed files. The signed bootloader (u-boot, remember), then loads the boot.img (or recovery.img) file which ALSO has a digitial signature that is ALSO signed by barnes and noble. (If you are booting from SD card, there is a FAT file called flashing_boot.img that works the same way).

So there is a boot chain: hardware->mlo->uboot->kernel/ramdisk (aka boot.img/recovery.img) and every step of it is signed. If you replace any of these parts with a custom version, the boot stops.

Without going into technical detail, CyanoBoot implements Bauwks' fix for this. The technical detalis as far as implementation go are in the first post, which you should read. The menu stuff is just extra.

Crap. Plane is leaving.

Surprise! (You can of course flash via the typical zip menu as the zip will install everything for you. The second bootloader is part of boot.img/system.img/flashing_boot.img, but this is described in detail in my previous posts and in the original post which you claim to have read, so you know this already)

Yeah, I guess you're right and I don't know what I'm talking about. You put me in my place and shut me down.

I have learned a lot here. You have learned nothing.

Damn. Gotta shut off electronic devices.
[Barnes & Noble Nook Tablet] DanGeorges:
Yes, I am new to the Nook.

And I believe that your original reply to my questions that said I didn't read the OP was the reply of attitude, as well as the "you don't know what you're talking about" comment.

The Nook Tablet dev forums here at XDA are more fragmented than the ones for the HTC Aria, and it's very difficult to find clear information on most of the development efforts.

For example it's still not clear if you can remove Cyanoboot once installed (short of possibly a stock restore) or if you'd even want to.

But you're wrong. I did learn from your post. It explained quite a bit that I didn't see (or missed) from the OP.
[Barnes & Noble Nook Tablet] Solar.Plexus:
It's hard to correct fattire in his own thread. On the project he CREATED.

+1 fattire
[Barnes & Noble Nook Tablet] fattire:
The attitude started here:

etc. I guess it wasn't just your dismissive, smug tone that set me off-- there's plenty of that in every corner of XDA-- but that was coupled so smoothly with a profound lack of accuracy. Nevertheless, Dan, I apologize if my response was inappropriately harsh-- as I mentioned, I was in an airplane terminal and didn't have much time to temper my response-- so I say, let's just all be friends and move on, shall we?

Answer: You don't want to. Not if you're running a non-stock distribution. At least unless and until someone comes up with a solution that doesn't require circumventing the locked boot chain. Bauwks' fix to this problem however was incredibly ingenious and works well. You don't have to use CyanoBoot, you can use a vanilla u-boot without the menuing and boot modes and all that if you like. But why?

Fair enough... we're all learning together, and I'm sure there's a ton of shīt you could teach me some day.. hoping you will.

Cheers.
[Barnes & Noble Nook Tablet] daedricgeek:
How to use AltBoot ?

Hi ,

I'm trying to dual boot CM10 and CM7 . I have a NT 16GB with CM10 0.06 installed .

I have cyanboot and CWM 6 installed .

I have CM10 on emmc . Now my question is this :

Is it possible to install cm7 in emmc somewhere so that I can use it as a altboot ?

If so which version and where?

If not , what is the easiest way to put CM7 on sdcard so I can use cyanboot to select it at startup ?

Thnx
[Barnes & Noble Nook Tablet] Solar.Plexus:
The most simple way to have your CM10 and CM7 dual boot would be to do CM7 from an SD card. To do this, all you'd do is write the CM7 image to your SD card then swap out the flashingboot.img (on the first partition of your card) with the one from CyanoBoot.
[Barnes & Noble Nook Tablet] daedricgeek:
OK , thnx for the help , but what about ALTBOOT ?

I was hoping to avoid reformatting the sdcard ...

Thanks
[Barnes & Noble Nook Tablet] haraveli:
Restore

Im selling my nook and I want to return to stock rom, but when I flash the stock image into the sd card cyanoboot doesnt recognize the sd card as bootable (i've done this before I installed cyanoboot) I want to know is there a way to go back to stock rom after you've installed cyanoboot
[Barnes & Noble Nook Tablet] Rebellos:
Tried anything from the tutorials? For eg. there's a sticky thread: http://xdaforums.com/showthread.php?t=1470910
[Barnes & Noble Nook Tablet] fattire:
Nook HD and HD+ bootloader source out

Quick heads-up for anyone interested: Source for Nook HD and HD+ bootloader is out from BN. I've put it on github for closer examination, but don't have time to look right now.

Codenames: hummingbird == HD and ovation == HD+

Looks like they may be employing similar x120 header stuff as in NT. (line 93 or so)

As with the NT, I don't have a device and don't want one, but may fool with the source anyway.

Update: Rooted. Unlocked bootloader runs.
[Barnes & Noble Nook Tablet] lepa71:
I was just wondering if any of you have the same issue. I'm running TeamB cm7 and I did try SGT7 when it got released first time and now I seems to have 2 cyanoboots. Any idea on how to erase old one?
[Barnes & Noble Nook Tablet] skygunner:
does this work with the cw10 http://xdaforums.com/showthread.php?t=1458630&page=15

installed into the internal emmc?
[Barnes & Noble Nook Tablet] beobu:
Re: Say hi to "CyanoBoot" -- a 2nd bootloader/w menu aka "ub2" - (WIP)

I do not know why but cwm of my cyanoboot is too old, 5.x, so I got boot loop when I flashed cm10.1. Now I can use cm10 after many time reboot. But how can I update cwm to latest version to flash again? In recovery or in android is OK. Thx!
[Barnes & Noble Nook Tablet] digixmax:
CWM is totally separate from Cyanoboot.

You can get a more recent version of CWM (or TWRP) from http://xdaforums.com/showpost.php?p=25786947&postcount=1.

Or, you can use/flash Succulent's CM10.1 builds (http://iamafanof.wordpress.com/2012/12/20/cm10-1-jellybean-android-4-2-1-for-nook-tablet-1221/) which come with CWM included in the ROM zip package.
[Barnes & Noble Nook Tablet] lillo95:
so

how can i remove Cyanoboot?

i've restored factory image, but nothing, when i root it and flash back cwm the cyanoboot is still here
[Barnes & Noble Nook Tablet] satan89:
How do you expect to enter cwm without cyanoboot? And why would you want to remove it in the first place? It adds options to boot into emmc and sdcard Rom and recovery and alternate recovery also.

If you really really don't want it, flash stock image again root it, then use indirect's nook recovery flasher (an older version, not sure of the newer one's stability)

Sent from my ST27i
[Barnes & Noble Nook Tablet] DanGeorges:
I used Indirect's Nook Recovery Flasher to install CWM Recovery, and don't need Cyanoboot at all.

In my opinion, Cyanoboot is not safe to load or use and leads to lots of problems. It hosed my first Nook tablet (hard brick).

I suggest rooting, flashing CWM recovery, and then loading a 3rd party launcher (like ADW Ex).
[Barnes & Noble Nook Tablet] Demetris:
oh no, not you again!

Stop misinforming people please.

I think fattire explained you crystal clear what is cyanoboot.
[Barnes & Noble Nook Tablet] DanGeorges:
Just my opinion. No misinformation intended.
[Barnes & Noble Nook Tablet] lillo95:
i tried this awesome bootloader

but isn't useful for me

sorry

but how i can flash stock image back??

i've used this metod

http://xdaforums.com/showthread.php?t=1402190

several times

but cyano still remain y.y
[Barnes & Noble Nook Tablet] DanGeorges:
Try this method: http://raywaldo.com/2012/06/how-to-un-brick-a-nook-tablet-8gb-or-16gb/

This will get your nook back to the stock configuration.

Here is my recommendation on how you can preserve what you have:

1. Load Titanium Backup and back up all your apps that you'd like to keep

2. Using the unbrick method above, restore the Nook back to factory state

3. Root using this method: http://xdaforums.com/showthread.php?t=1529553

4. Load Nook Tab Recovery Flasher if you'd like to get CWM recovery: http://xdaforums.com/showthread.php?t=1650927

5. Check out this link for blocking OTA updates and for loading a new launcher: http://xdaforums.com/showthread.php?p=24843139

I did this, and now my nook is rooted with ADW EX launcher. No problems that I can find.

And no Cyanoboot - so you're good to go!
[Barnes & Noble Nook Tablet] lillo95:
alredy followed

doesn't work

when i install a custom rom this cyanoboot still appear

it's really hard to remove
[Barnes & Noble Nook Tablet] fattire:
As explained numerous times in this thread, you need a second boot loader such as cyanoboot to run any non-barnes and noble third party ROM. The nook tablet has a locked bootloader which prevents a non-stock, unsigned operating system from loading, and cyanoboot fixes this. The menu stuff and other features are all extras.

The claim above that cb "bricked" a device is highly suspect on numerous counts.

I recommend reading this thread where I and others explain what the second bootloader is for, and why it is a requirement on the nook tablet as well as nook HD and the new kindle fire HDs, all of which have locked bootloaders that required fixes.
[Barnes & Noble Nook Tablet] DanGeorges:
I thought you wanted it back to stock...

If you want to load a custom ROM, the only way to do it, as I understand, is to boot via the SD card or internally via Cyanoboot, which is typically included in Nook custom ROMs.

So my instructions work, but only to the point where you loaded a custom ROM - which itself included Cyanoboot.

If you don't want Cyanoboot, please don't load a custom ROM.

PM me for more information.
[Barnes & Noble Nook Tablet] lillo95:
yes yes yes

it's necessary

but before installing this cyanoboot i was able to load any custom rom

so, how i can remove it and replace??

and cyano give me an error every time: Normal SD boot overriden. Alt boot from EMMC...

booti: bad boot image magic (in memory)

how can i resolve that??

if i can't remove this **** bootloader at least i want to make work properly
[Barnes & Noble Nook Tablet] digixmax:
It's hard for folks to help when it's not clear what it is that you're looking to achieve -- keep the NT emmc on stock or rooted stock, and run a custom ROM on SD?
[Barnes & Noble Nook Tablet] DanGeorges:
If I understand correctly, this person wants the ability to load custom ROMs without replacing the Nook bootloader with Cyanoboot. The result would be to use the SD card as storage and NOT run a ROM from the card.