yashsingh1/xdaforums huggingface dataset:
[Barnes & Noble Nook Tablet] fattire:
bauwks you can't boot from the SD card without a USB physically attached? Also, when you guys talk about "dual boot" do you mean booting off SD as the 2nd boot, or real dual booting via uboot selection (default, key shortcuts, menu, etc.) + 2nd set of kernel/ramdisks?

Also, I love twrp 2, but why not regular cwm for now? You'll probably need to build it tho so the right partitions are set up.
[Barnes & Noble Nook Tablet] succulent:
Can you zip up what you have so far and upload it to multiupload.com? I just want to learn and follow the steps. :)
[Barnes & Noble Nook Tablet] AdamOutler:
Rooting won't solve the problem of loading firmware and bypassing security. It's a hardware initiated chain-of-trust. Root won't let you change the boot sequence.

As for warranty... It's actually kinda funny... One could argue this modchip is required by the Barnes and Nobel Terms of Service, to comply with the GPL.
[Barnes & Noble Nook Tablet] AdamOutler:
You do not need usb connected for the method im using. Dual boot is operational. Im working on porting ubuntu now.
[Barnes & Noble Nook Tablet] Maggot226:
Epic reasoning, first, and second, why do you need to load firmware or bypass security? I thought rooting would turn it into a full android tablet, what benefits would this provide to me?
[Barnes & Noble Nook Tablet] AugustusBot:
Im not a developer... and way too many of these posts in this thread annoy the life out of me... if you have no uboot, kernel, uart, etc data to add to the discussion, quit posting useless questions /hopes / dreams / life stories.

I can only imagine how actual devs feel about the ridiculous self involved posts. 'Can i has ICS now???'

/sigh.
[Barnes & Noble Nook Tablet] davewuvswaffles:
Root only allows for R/W access of the system files of the device.

Work is being done to bypass security so that we may run custom firmware, that is custom roms and kernels that grant us complete control of the device and allow developers to fine tune the experience from the ground up with their own framework and possibly even let them enable things like bluetooth that we currently can't use.

---------- Post added at 04:52 AM ---------- Previous post was at 04:49 AM ----------

Hear hear... let the devs do their work. If all this were so easy, they wouldn't be working round the clock to get it done.
[Barnes & Noble Nook Tablet] LiuAnshan:
This.
[Barnes & Noble Nook Tablet] ftokc:
I agree. Let's cut the crap!
[Barnes & Noble Nook Tablet] c0ldburn3r:
Adam will/are you planning on having the gentlemen that tried the JTAG recovery offer this as a service?

Two, did you work out the kinks with your total recovery option. Since we've had a few thread clean ups, I've lost track on the recovery progress.

I hate posting this but I'm more interested in a total restore if a boo boo happens during the road to custom firmware.
[Barnes & Noble Nook Tablet] cfoesch:
One could argue this, but it would not stand up in any US court of law. The GPL does not require that you have to include security signing keys and such. In our case, they need merely release enough that we are able to compile the source to a complete binary that would work on an unlocked bootloader. All the security wrapping around it is unrelated to the source code.

As an example, just because I distribute a compiled binary of a GPL program compressed with a proprietary compression algorithm does not permit you to require me to release the proprietary compression source code. If my bootloader only works if the binary is compressed with that proprietary compression, then too bad, you cannot produce new binaries that would work as a drop-in replacement.

As an example, I am distributing a copy of /system/bin/su in snowball-mod, which was compressed with windows zip functionality. Do you now have the right to demand Microsoft to release the zip source code, because you cannot reproduce the snowball-mod installation files without it? ... nope.

Likewise, I am running bash on cygwin on Win7. Bash is making system calls that call into Win7, does that mean that Microsoft is now obligated to release the source code for those system calls, because bash uses them? No.

It's a nice argument to make that we have to break their warranty in order to comply with the GPL, but it is also what is known as a "specious" argument... it looks reasonable, but actually carries no chance of being accepted legally.
[Barnes & Noble Nook Tablet] AdamOutler:
You're missing the point completely. Read here in the FAQ. http://gpl-violations.org/faq/sourcecode-faq.html Particularly this:

How can I verify that my source code release is complete?

This is quite easy. If you only use source code provided in that release, and you can use this source code to produce a working form of the executable code, then the source code release seems complete.

If the build process fails, or you end up with a non-working executable, or you have no way to install the resulting executable, then clearly something is missing.

The point of the GPL is to ensure openness. No, you don't get the source for compression utilities, because the compression utility is not licensed. No, you don't get source code for closed source licensing when you're running open source on top of it.

You DO, however, get linux source code which is compilable and installable.... EVERY SINGLE ****ING TIME. No manufacturer is exempt from it. If they want to lock it down some other way where the hardware checks the xLoader and the xLoader checks the kernel to ensure there's no problems, sure.. But, as an end user I have the right to compile their source and install it on my device.

Barnes and Noble made me waste hours of time compiling their invalid sources. Barnes and Noble is not some special little premadona. Barnes and Noble is a piece of **** in my mind. They're the ugly girl of the Open-Source world.

Take a look at the site name

http://images.barnesandnoble.com/PResources/download/Nook/source-code/nook_tablet_1-4.tar.gz

Capitol "PR".. as though it's a PR move to release code.

You can compile a kernel for every single device out there. Samsung lets you do it out-of-the-box with no restriction. Motorola releases proper sources late every single time. HTC makes you register and voids your warranty during the registration process. Every single respectable manufacturer out there releases proper sources which allow you to modify your device. Barnes and Noble is dead wrong on all levels.

1. Yes but its not hard work and you could DIY with a soldering iron and a screw driver. Its not hard. I've got some more chips on order for prototyping the tiny4313 and its going to still be a while before they're in production. Prototyping comes first. https://m.google.com/app/plus/mp/217/#~loop:aid=z13aixfr5zq1f3cxq04cd5gbiz3wg5eqqjg&view=activity. These new chips are much smaller. The ones I'm working with now are 14mmx10mm the new form factor is 4mmx4mm. Once they are flashed and prepared, installation will be only removing 2 screws and soldering 4 wires. It will be a very quick and painless procedure.

2. I've put aside restoration until I complete the chip which will enable insecure boot from sdcard. Once the device can boot insecure from sdcard, I'm sure it will be easy to script the recovery.

Another thing I'm looking at is to use the chip like a boot key... where you simply hold it in place for 30 seconds while you turn the device on.
[Barnes & Noble Nook Tablet] str3tchb0y:
Just to clarify in my brain, is that 2 screws total? Or 2 screws after opening the case? I am curious how many people would be willing to do this. I assume that having swapped out the chip would require a different mod than say one that boots on an unmodified NT. Would that be supported as much as the other if the other was accomplished?
[Barnes & Noble Nook Tablet] tep065:
would it be possible to have a chip placed in a thumbdrive of a sort like they did for the PS3 to jailbreak it? the ones that where banned in Australia? Something that has a micro usb connector that we could plug into our usb cable slot? So we just plug it in, boot, it does its job, remove the thumbdrive, go about your day. Even if its needed at every boot, it would be something we keep in our pockets and take with us :).
[Barnes & Noble Nook Tablet] rjin9673:
Have you tried Mint?
[Barnes & Noble Nook Tablet] mtelesha:
Personally I think Arch Linux would be a much more interesting and useful install. That way you can control everything that is installed and runs. Mint and Ubuntu are very bloated especially for something like a tablet.
[Barnes & Noble Nook Tablet] liquidzoo:
The beauty of Linux, any distro, is that you can debloat them to the point of them being tiny.

Don't like Gnome? Get rid of it. Go with LXDE, OpenBox, FluxBox, Enlightenment, XFCE, etc.

Ubuntu, Mint, and some other distros are much more user/newbie friendly than others. Ubuntu or Mint makes much more sense for the average (non Linux technical) user than Arch, Sabayon, Gentoo, etc.
[Barnes & Noble Nook Tablet] AdamOutler:
Exactly. LXDE is designed to be minimal. You can add packages to it. Full Ubuntu was optimized for touchscreens. I want to try using it like that.

Not to mention full Ubuntu runs fine on my 800 MHz netbook. There's no reason it should run worse on this device.
[Barnes & Noble Nook Tablet] cfoesch:
Bah! PWM all the way!!!
[Barnes & Noble Nook Tablet] Maggot226:
I'm confused here (not for the first time, curse my noobery -_-), has the source code been released? and if it has, does that mean we still have to install a mod chip? or can i just boot off my SD card like I thought I was going to be able to?

Thank you all for your time and effort into this, I cannot believe how far this has come, seriously ridiculous how helpful you guys are.
[Barnes & Noble Nook Tablet] Nuckin:
The source has been released and can be compiled but it lacks the security signatures required by the hardware for it to boot. So we get a fully compiled kernel for the Nook Tablet's hardware but the locked bootloader says "Nuh Uh!"
[Barnes & Noble Nook Tablet] AdamOutler:
Lets get something straight here...

The kernel still will not compile properly.
[Barnes & Noble Nook Tablet] 150pilot:
Adam, if soldering in an ATTiny4313 will get Ubuntu running natively on my Nook, then I want to be one of the first in line for a programmed chip and any instruction you might be generous enough to provide. Will be watching with great interest. Thanks for all of your efforts.
[Barnes & Noble Nook Tablet] AdamOutler:
This device booted from SDCard and no cable connected.

[youtube]C6RJxbjeP-M[/youtube]
[Barnes & Noble Nook Tablet] Montisaquadeis:
So no chip needed for that then? Or will we have to use the chip at some point to get that working?
[Barnes & Noble Nook Tablet] CelticWebSolutions:
I'm pretty sure that video states that we'd be able to do it without wires using a chip that he doesn't yet have one to show us of but is about the size of an SD Card
[Barnes & Noble Nook Tablet] Montisaquadeis:
I have never soldered before and I dont feel like breaking my extended warranty on this device either so I wilo not be doing a hardware mod for this. Now if everything could be done with just an sdcard that would be a lot better as i could just reflash the B&N rom onto the device if i need to take it in for whatever reason
[Barnes & Noble Nook Tablet] lavero.burgos:
Heck now how will i get that chip if im not in the US :D
[Barnes & Noble Nook Tablet] blazednova:
im sure your not alone in this fear, but we need to understand that the process needed to accomplish such plans are exponentially greater in their complexity than what one would expect looking at the surface. thats not to say they're impossible, but the time it would take to perfect such theories would probably drive a dev insane.
[Barnes & Noble Nook Tablet] 150pilot:
Sweet! Nice video update. Just what I was hoping to see. Now I am patiently waiting until you can chuck the UART, insert the ATTiny4313, button that baby up and run a native version of Ubuntu right on that sucker. Will be slick since Canonical has been optimizing their distro for touch screen input. Count me in for this ride. My soldering iron is warming up! :D
[Barnes & Noble Nook Tablet] bauwks:
u-boot exploit source code

I forked the NT source code repository on github and checked in the changes needed to build a 2nd u-boot.

So now you guys can build your own flashing_boot.img to boot unsigned code off of the SD card. The approach I used is modifiable to boot off the internal flash as well.

Instructions:

git clone git://github.com/bauwks/Nook-Tablet.git

cd Nook-Tablet/distro/u-boot

git checkout second-uboot

PATH=/usr/local/arm-2010q1/bin:$PATH (must have installed an ARM toolchain)

make nt2ndboot_sd_config

./tools/build_nt_2ndboot_img.py -o test.img u-boot.bin

(mount nook SD card on /media/boot)

cp test.img /media/boot/flashing_boot.img

Then you can create a boot.img without the 288 byte security headers before the kernel & ramdisk, then place it on /media/boot/boot.img

You'll see an extra splash screen on boot. That is the extra bootloader.
[Barnes & Noble Nook Tablet] sungod88:
So in the video that's a rooted tablet and you are getting logs on the computer. That is awesome my question is are the end results a more true os or will it still be android. Example will it look like ubuntu on my computer or will it look like an android os?. Also if the chip mod is safe enough for the average user it might be worth it, depending on how readily available the chips are.
[Barnes & Noble Nook Tablet] AdamOutler:
It does not matter what's on the screen in that video... the screen was just to show the touch event registered.

I've killed android and I'm working on making the framebuffer device work now. I think I need to rewire the /proc/ folder. Currently I'm working with a black screen that flashes white when I try to load Xorg, the process which is responsible for setting up a framework for GUI operations... its throwing errors..
[Barnes & Noble Nook Tablet] Maggot226:
So does this mean i can run cyanogenmod on my nook with an sd card?
[Barnes & Noble Nook Tablet] fattire:
Oy........
[Barnes & Noble Nook Tablet] taupehat:
:D Keep in mind, though - this is what the vast majority of those people Googling their way into this thread really want. The only post I'll make to this thread is to suggest that some kind of sticky/FAQ be headlined to indicate the large delta between what Maggott226 (and I) are hoping to see and the incremental and hard-fought steps that reflect the reality on the ground.

Thanks to all for the work you do.
[Barnes & Noble Nook Tablet] succulent:
Does androidmemith have a NT? He could be helpful with this method.

Being a noob, I attempted at building CM7 only to find out it take forever to do repo sync. Who's idea was it that make you download sources from so many devices? I downloaded over 6gigs of data and ran out of space on my virtual disk. lol.
[Barnes & Noble Nook Tablet] nemith:
Yes I do. I am already planning on CM9/Recovery as soon as I play around with this some more. :)
[Barnes & Noble Nook Tablet] fattire:
There's lots of playing going on...
[Barnes & Noble Nook Tablet] pokey9000:
Very, very clever!
[Barnes & Noble Nook Tablet] ftokc:
Yes! Count me in, too (unless the cost is horrendous). :)
[Barnes & Noble Nook Tablet] atomicpookavirus:
Those chips are less than $3.

:)
[Barnes & Noble Nook Tablet] CelticWebSolutions:
Sorry to ask what may have already been answered. Does your version also need uart to work? This thread is getting a little confusing in places. Lots of people saying they've managed things but I get the impression that most of you expect the rest of us to know the small details already when the vast majority of us don't.

As said above most people have landed here looking to be able to use a different rom in our Nook Tablets, linux is all very nice and I'd love a dual boot situation but I'd mainly like a decent android rom which isn't so messed up as the B&N one!
[Barnes & Noble Nook Tablet] nemith:
CWM thanks to 2nduboot

So just as a proof of concept and working towards ROM freedom here is the Nook Tablet running CWM.

If you guys follow my twitter you will see I had a picture of CWM running on this before. Before I was booting the signed kernel+ramdisk and after rooting the system killing everything and then starting cwm manually. It didn't work that well and required some 2ndinit and other hacks to get working and due to the NookTablet there was still a lot of work and that why you never saw anything.

Now with bauwks new found "hole" in the bootloader we can run native recovery and start working towards CM9 and beyond!.

[YOUTUBE]WQ93zmAz0G0[/YOUTUBE]

And with that I am going to bed.
[Barnes & Noble Nook Tablet] fattire:
Yeah, so game over.
[Barnes & Noble Nook Tablet] CelticWebSolutions:
And that did or didn't require uart?
[Barnes & Noble Nook Tablet] insafon:
not at all!

great work!
[Barnes & Noble Nook Tablet] lavero.burgos:
Omg omg this is getting hotter lol. If I'm not wrong and watched very carefully it does not require uart it has the USB cable plugged in nothing else. Am I right? Please its important to know "details" . Thank you all!

Sent from XDA using one of my Android Toys :P
[Barnes & Noble Nook Tablet] fattire:
Hahahah!

Welcome to the end of the thread!

Answer: No UART. No hardware mod.
[Barnes & Noble Nook Tablet] CelticWebSolutions:
That’s exactly what I was thinking!

This is excellent news if that's really the case :)

---------- Post added at 09:39 AM ---------- Previous post was at 09:38 AM ----------

In which case ...

MAY THE FUN BEGIN!!!

lets hope an OS which takes proper advantage of our tablets is not long coming :)
[Barnes & Noble Nook Tablet] ftokc:
Oops - wrong thread. Please disregard.
[Barnes & Noble Nook Tablet] kodjo:
Isn't it needed to attach the device to pc via USB in order to load second bootloader?

Anyway great work to all the devs :)
[Barnes & Noble Nook Tablet] fattire:
No.

.

(I should clarify that others have reported not needing to be physically plugged into for sd-boot... but I can't 100% confirm that until tomorrow).
[Barnes & Noble Nook Tablet] The_Joe:
Before I get too excited, you are saying that you have successfully bypassed the boot-loader allowing a custom rom, without any need to disassemble the NT OR have it hooked up to USB?

Is this booting from SD or from internal?

Pardon me if I am being dense, why is Adam using Uart if you have already solved the puzzle without it?

Although I am not completely retarded, I think many of us would benefit from you breaking your accomplishment down to the basics :)

(I know, noob question, maybe this thread is the wrong place. Should I flood his PM box instead?)
[Barnes & Noble Nook Tablet] CelticWebSolutions:
This is what I've been asking all the time, any time somebody seems to say they've managed it without having to mess about with uart or solder in in mod chips, Adam seems to completely shoot them down saying they are wrong and it won't work. I'm guessing he knows something we don't (which isn't hard cos I know bugger all about these Nooks lol). He appears to be putting a lot of time and effort in so he must be working on a 'better' solution to the pone staht are being discovered.

If there is now a relatively simple software hack then I personally prefer the software version even if it does have a slight quirk or two!

I'm guessing the system would boot form the SD card and loads it's Kernel from there but I'm hoping that once that's done that it will be able to store the main OS on the NT's own internal storage. So it just boots from SD and swaps straight over once kernel is loaded.

Am I correct or have I gone totally off the track and got lost ?
[Barnes & Noble Nook Tablet] The_Joe:
Adam is putting a lot of work into this, please be careful to not sound disrespectful to a man that obviously knows FAR more than either of us. IF he was wrong, then I am sure that people way smarter than us will happily tell him so.

Dont frustrate a man that puts many many hours into making the community happy. :)
[Barnes & Noble Nook Tablet] frodo9999:
I agree with that.

Adam put a lot of work with the hardware mod. If we have hardware and software mod to break the security we are in the best scenario.

Thanks to ALL DEVELOPERS¡¡¡
[Barnes & Noble Nook Tablet] CelticWebSolutions:
Agreed... Sorry Adam if that sounds disrespectful. Like I say I'm sure you will have a 'better' result but the lack of having to open up the NT sounds an attractive option at the moment. If thats not good enough I too will be buying one of your mod chips and cracking open the NT and getting my soldering iron out of the van.

---------- Post added at 10:56 AM ---------- Previous post was at 10:53 AM ----------

Agreed. A working option for everyone with all levels of capability is definitely the best way for things to be :)
[Barnes & Noble Nook Tablet] NookieStackhouse:
My understanding, from following this forum, is that Adam is working on something other than loading custom roms. My understanding is that he's working on a total recovery option for the Nooks in case we start loading them with customs roms and end up with pretty little paper weights. I think at this point that requires hardmodding the device. Adam please correct me if I'm incorrect (and thanks for all your hard work). Also I apologize for referring to you in the third person :)
[Barnes & Noble Nook Tablet] Indirect:
Damn, once again, I goto sleep and you all manage to find another security hole. Atleast wait until I'm awake to allow me to **** bricks at the appropriate time!

sent from my Evo Express Tablet
[Barnes & Noble Nook Tablet] rjin9673:
I usually take care of that in the morning so it hasn't affected my routine...
[Barnes & Noble Nook Tablet] AugustusBot:
They have very clearly explained their new process in this thread.

Uboot has a few cracks in it, which allow them to make custom calls. They call a second version of uboot w/o all the security checks, and then use that to call an unsigned kernel.

I assume, but could be wrong, that this is the fundamental security flaw in the boot process that everyone voted on in the other thread. At the very least, it sounds like a fundamental security flaw.
[Barnes & Noble Nook Tablet] Indirect:
Once I get the bins, I can make a one click app to flash the image (just extract, name, then reboot) I know it seems simple but this means then you can flash custom roms without a PC. :)
[Barnes & Noble Nook Tablet] dodgepot:
Is this the same loophole we all voted about the other day possibly?
[Barnes & Noble Nook Tablet] The_Joe:
This post feels like a mix of annoying press person and "I wntz ICS NOWZ!!" dude, but here goes.

So you are saying that its done, CM7 is just around the corner, and CM9 just down the block? Without hardware mod or a need to have USB plugged in or EVEN A COMPUTER AT ALL?!

This sounds, frankly, too good to be true.

What are you working on compiling to make the first NT custom ROM?

Indirect I look forward to your next piece of awesome. I hope it includes more humor, the Zerglings make great pets.
[Barnes & Noble Nook Tablet] CelticWebSolutions:
Doesn't it just! Fingers crossed for it all to work out as we're all hoping :)
[Barnes & Noble Nook Tablet] AdamOutler:
The method I'm working on will 100% boot from SDCard for 100% of the nook Tablets. I'm sure my method isn't for everyone. It will enable true dual boot by inserting a specially prepared sdcard. Remove the sdcard and the nook will show no signs of running a custom ROM. That's what I'm working on.

Using the methods I'm lying foundations for, development is as simple as putting your external SD into a reader, modifying content on your desktop, then inserting the modified content into your nook. Then when you remove the card, no Barnes and Noble employee could tell anything was different without opening the device. ;)

I'm already running a custom ROM.
[Barnes & Noble Nook Tablet] CelticWebSolutions:
Ah... I see. Sneaky ;)

Out of curiosity what kind of rom are you currently running?
[Barnes & Noble Nook Tablet] AdamOutler:
Ubuntu minimal... working on getting Xorg operational.