yashsingh1/xdaforums huggingface dataset:
[Barnes & Noble Nook Tablet] rigbyrobot:
Permission denied

I'm roooted on firmware v1.4.0. I'm using ubuntu 11.10, and i can not seem to get any of the scripts to run, nor am i able to just run the commands with out getting something in the nature of, failed to copy '/home/nookroot/rooting/local/local.prop' to '/data/local.save': Permission denied. any help would be greatly appreciated, thankyou

--next day--

For anyone that has similar issues, I was able to get by the the permission denied error by using the adb hijacker app, then using the adb remount cmd, I was able to push the all three files in the adbupdate.cmd script, but then ran into the same issue as GiGaLeOnZa did with the failure of the update, and oddly lost sound on the rooted 1.4.0 install (could be a totally different issue all together though, had been experimenting for a while by this point ).

Im curious if the method GiGaLeOnZa and I used to initially root 1.4.0 caused the problem or if like I GiGaLeOnZa blocked the ota, (and though I thought I understood that a manual update would still work) and thats where we find our similarity in process and out come. either way, ive just did a full reload of stock 1.4.0 and wipe and going to try from step 1. Thankyou for all your hard work Dean, keep it up and ill keep donating :)
[Barnes & Noble Nook Tablet] DeanGibson:
For those already rooted w/ 1.4.0

If you update, or let the NT update, then you will have to go back to 1.4.0 stock firmware.

Instead:

Manually do the two pushes instead to /data/local/tmp/

Then, type "adb shell" and enter the following commands:

su

mv /data/local/tmp/local.* /data/

exit

exit

Then manually do (eg, cut and paste to the PC command line) the remaining steps in AdbUpdate.cmd. Then, AdbRoot-2.cmd

UPDATE: I've split the "AdbUpdate.cmd" script file (and updated ReadMe.txt) to better support this (experimental) case, and released a new version (v0.9).
[Barnes & Noble Nook Tablet] GiGaLeOnZa:
bit stuck

Hey Dean, I'm a bit stuck at a certain point, any advice?

I followed everything to a T. I am good at following directions, so the proper drivers, sdk, etc etc is all installed. I can push via adb, and everything up to step 7 is smooth as can be.

The 1.4.1 update gets pushed via step 7.1, "rooting\AdbUpdate.cmd" and like the directions say, I unplug the Nook when the command completes. I get a reboot, then 90 or so seconds later I get the "nook shutting down" message and a reboot.

However... instead of updating, I see the update start for a 1/10th of a second and then I get a failure message that I should restart and try again.

I tried it again, starting from step 6. It failed a 2nd time. Trying it again, I happened to notice that auto mount was off when I did it both times, your tut says "disable auto mount" which insinuates it was enabled to begin with? trying now... just thought I'd post my results.
[Barnes & Noble Nook Tablet] DeanGibson:
What did you start with ???

Every time you reboot the Nook Tablet, it resets "Auto Mount" to on.

What did you start with; a freshly returned-to-stock v1.4.0, a rooted v1.4.0, or something else? You may need to revert to stock v1.4.0 (see related threads here on XDA forums) and then "Erase and Deregister" your device, and then reregister it. That's what I do every time I test the scripts, and it takes about 15 minutes.
[Barnes & Noble Nook Tablet] GiGaLeOnZa:
started 1.4.0 stock, now i'm rooted.

my girlfriend just got this nook tablet yesterday. it came STOCK with 1.4.0 and i rooted it via http://xdaforums.com/showthread.php?t=1354487

i then followed a tutorial to load the framework needed for market to work. perhaps that fubar'd it. i'll do a factory reset... it's good to know I'll get back to 1.4.0 fresh each time, i'd hate to do a 15 minute downgrade each time I failed!

i'll try it after a fresh restore via power and N button, and see where it gets me. if that works, then those of us who started with 1.4.0 can do a factory refresh (much faster) than a downgrade. i'll be willing to try it, if that doesn't work, i'll downgrade... then root, then retry this tut.

might as well see if it's absolutely necessary for us 1.4.0 guys.
[Barnes & Noble Nook Tablet] DeanGibson:
Terminology

I never do the "reset+n" button restore, because if you've ever upgraded to v1.4.1, then it won't get you back to v1.4.0. I do this:

Copy the "revert to v1.4.0" acclaim_update.zip file to the root directory of the SDcard.

Reboot and wait for the v1.4.0 factory image to be reinstalled. That will clear out Gapps (including the Android Market), but not other apps.

"Erase and Deregister" the device (which reboots). That will clear out the other apps.

Reregister the device.

Then I apply my procedure from scratch.

There is quite a bit of confusion about what constitutes a "factory restore" in the threads, and different techniques (I haven't spent the time to research them all). Some of the techniques (eg, the one above) don't clear /data, but people think it does, which causes confusion and problems.
[Barnes & Noble Nook Tablet] GiGaLeOnZa:
sweeeet, i got past the failure point. might be good to point out in the OP that any1 that has a nook tablet with 1.4.0 STOCK, can do a factory restore and still follow this method. that was pretty easy.

i just factory restored it in 3 minutes, then went to the xda thread to redownload the nt settings. it was faster than pushing via adb, and i didn't have the apk on my laptop.

started from step 6, and now the nook has rebooted with 1.4.1. i will continue on and report any issues if i find any, thanks for the great write-up and speedy response

---------- Post added at 03:14 AM ---------- Previous post was at 03:10 AM ----------

yea, i've read that once you get to 1.4.1, you can't restore back to 1.4.0 even if you started with it... i was just stating that you can head back to 1.4.0 if you mess up, whereas your tut says to start over with a fresh 1.4.0

you CAN do a factory restore if you started with 1.4.0 and never got to 1.4.1. it cleared out whatever it needed to.

i say... rooting my thunderbolt 2 days after it was released was easier than this xD but thanks for your hard work, this worked mint.

---------- Post added at 03:20 AM ---------- Previous post was at 03:14 AM ----------

did i speak too soon? i'm now on 1.4.1 which appears to be completely unrooted... i can't get nt settings up :\ no adb access, and i can't get it via visiting xda
[Barnes & Noble Nook Tablet] GiGaLeOnZa:
don't be lazy!

so much for trying a work around, lol. followed your posted steps to a T. restored 1.4.0, re-rooted, updated and maintained root, all is well. thank you!!
[Barnes & Noble Nook Tablet] ravinious:
Success starting from Indirect's 1.4.0 root? / OTA block

Awesome work by DeanGibson in getting the 1.4.1 root off the ground so quickly. I have a few questions that don't appear to have been answered yet in this thread and would appreciate some insight.

First, for anyone who's tried to (or is contemplating) starting at Step 6 of this process based on a pre-existing 1.4.0 root from Indirect's package:

Any success, or is Indirect's procedure not compatible?

Does Indirect's "9.9.9" OTA block interfere with the upgrade to 1.4.1 at Step 7? And, if so, does rolling back the device manager to stock fix the issue?

Second, for DeanGibson: it would be really nice for me (and probably others) to continue to have an OTA block in place, given how aggressively B&N is pushing out the updates. Do you have any sense as to whether Indirect's 9.9.9 trick could work on top of your 1.4.1 root? Also could you be a little more specific about the app you mentioned from Brian that potentially disables the OTA updates? (I tried searching but came up empty.)

Tx
[Barnes & Noble Nook Tablet] Bobcat001:
Here's Brian's OTA block app: http://xdaforums.com/showthread.php?t=1418447

It's not clear to me if this can be un-done, or if it's a one-way thing only.
[Barnes & Noble Nook Tablet] DeanGibson:
OTA updates

I have not been following the OTA update blocks, since I have not blocked OTA updates (I want to see what happens without any block). Some of the earlier ones didn't work. However, I would think (but don't know) that any block that worked to block v1.4.1, should work with future OTA update attempts.

The immediately prior post to this one, contains a link to the app I was referring to.
[Barnes & Noble Nook Tablet] rigbyrobot:
All Is Well

I wouldn't be able to say for sure if the ota block was a problem or if it was the method i used to root 1.4.0 with out using deans method to root then adding the ota block before completing the rest of the process . I was rooted on 1.4.0 and had the ota block in place and got hung up at the install of 1.4.1. and eventually had to do a restore and wipe and start from scratch. I am curious if the up date path from /media/ is blocked with the ota block, and if it would have been possible to replace that step with loading the update on the root of the sd card and have it install like other stock update.zips and still be able to follow deans script to achieve root. I finally got through the whole process by running the cmds in the script manually, It was probably to do with my set up in terminal on my ubuntu install or some other user error on my part, but it seemed as though when i tried to run the scripts with "source ./rooting/adbxxxx.cmd" each line of cmd the script was trying to run was returning an error that could have been the spacing not translating over right? like it seemed that instead of inputting "adb push .rooting/xxx/xxx.prop /system/" it was inputting something like "adb push .rooting/xxx/xxx.prop/system/". I don't know, I could be just showing my ignorance, but if not and it helps, woohoo.
[Barnes & Noble Nook Tablet] ravinious:
Thanks all. This is helpful. The OTA block that Indirect set up is, in principle, reversible since I save backups of the com.bn.devicemanager files. I'll try to roll back to the originals, use Dean's package to do the update steps, and then reapply Indirect's fix. I think I'll wait for v1.0 of the 1.4.1 root package, though. I'll let you know what shakes out.
[Barnes & Noble Nook Tablet] sven42:
Still not working for me

I too have been struggling a little with the scripts running from linux (ubuntu 11.11). It seems all the scripts have tab characters between command arguments. I redid all the scripts copying and pasting into linux shell scripts (.sh files), replacing tabs with spaces, and included the #!/bin/sh hint on the first line before they would work.

I've used the .9 version of the scripts twice now. I start each time by reverting to 1.4.0 using the acclaim_update.zip and deregistering and deleting the device each time. I get no errors and everything seems to work. While I do get google apps, market and the ability to install applications set up, l seem to lose root and superuser privileges on the nook tablet after upgrading to 1.4.1 and resetting the /data/local.* files. Titanium backup wont work and any other application that requires a rooted device complains that the nook isn't rooted.

Am I missing something or do we not expect to actually have root access at the end of all this? It is nice to be able to install applications again, but I really wanted to be able to back things up using Titanium. Do I need to just go back to 1.4.0 and freeze everything there for a while?
[Barnes & Noble Nook Tablet] Schwooter:
So far, everything has been going smoothly until I've reached step 6.1. As I try to use the command "rooting\AdbUpdate.cmd", I reach the point where the commands "adb shell mv /data/local.prop" and "adb shell mv /data/local.root" are used, but they both return "failed on '/data/local.prop' - No such file or directory exists.", same goes for the variation of the file with .root.

Under this, I'm told that if anything fails, to use Ctrl-C and end the update. Is this failure to find directories normal? Or am I missing something here?
[Barnes & Noble Nook Tablet] sven42:
Schwooter,

It looks like you are not using the latest version of the script. Try using version .9 available from the original post. There are several options for copying those files in case the direct copy does not work.
[Barnes & Noble Nook Tablet] Schwooter:
Wow, I feel like an idiot. Got it working now, thanks.
[Barnes & Noble Nook Tablet] rigbyrobot:
try using the market to dl/install the superuser app, once installed, open app, go to settings, and select update binaries at the bottom of the list. then make sure busybox is installed

https://github.com/ChainsDD, his superuser.apk is the one i used, grabbed it from the market. i also installed busybox installer v2.0 from jrummy, also in the market, lets you choose your busybox version
[Barnes & Noble Nook Tablet] DeanGibson:
DOS/Linux format issues

Yes, that should work, but not be necessary.

I do not have my Nook Tablet connected to any of my five Linux boxes. However, I just did a brief test on one, and the issue is the extra CR that are in DOS format files. The files were originally in Unix format, but someone suggested I convert them to DOS format so that "NotePad" could display them properly.

The script files are now back in Unix file format, with a note about the format in the ReadMe.txt file (which remains in DOS format).

Unix users of v0.9 (and previous versions), convert the script files to Unix format with your system utility program dos2unix.

Unix users of the next version (v0.11, to be posted shortly), you should be OK (as should Windows users). Windows users who need to display the script files (eg, for cut/paste) can use the Windows "type" command instead of "NotePad".

Sigh ...
[Barnes & Noble Nook Tablet] riggly:
Hey guys my nook tablet updated yet I still have some 3rd party apps my sd card is wiped clean but do i need to downgrade to 1.40?
[Barnes & Noble Nook Tablet] DeanGibson:
Minimal rooting

Yes, I also personally install a version of "busybox". The rooting procedure that I provide is intentionally "minimal", for the following reasons:

I think a user should be able to choose his/her own utilities, apps, etc. I don't believe in (but don't have a problem with) a rooting procedure that "includes the kitchen sink".

The more stuff I include, the more stuff I have to keep track of, if it is updated or has problems.

Edit: I have since added "busybox" to the install.
[Barnes & Noble Nook Tablet] AdamOutler:
DeanGibson, you may find some valuable tools in this thread for your RC. They are all development and debugging tools. My release is incomplete and I didn't want to start a whole new "root your nook" thread.

http://xdaforums.com/showthread.php?p=20959864#post20959864
[Barnes & Noble Nook Tablet] DeanGibson:
"Recommended reading"

So noted. As I mentioned above, I'm aiming for a "minimal root" procedure for the reasons stated. However, I encourage anyone who has suggestions for additional tools (busybox being the most important in my mind for command-line users, which you include), to add notes to this thread with recommendations.

Similarly, the Gapps that I provide is minimal, unduly so in my opinion, so suggestions of compatible Gapps packages are also encouraged.
[Barnes & Noble Nook Tablet] DeanGibson:
Steps after the procedure is complete

The first thing I personally do after rooting v1.4.1 with my procedure, is register with the Google Market. Note that the Market app I provide sometimes Force Closes after installing an app, but this is not a permanent issue, as it will shortly update itself from the Android Market and the problem will disappear.

Then (using the Market), I download and install:

SuperUser

AdbWireless

ConnectBot

TitaniumBackup

Samba Filesharing

Note that the SuperUser app will report that the installed version of "su" is out of date, and asks if you want to update "su". Do it!

You can also use the Android Market to install a "busybox" installer; I just use one I have hanging around.
[Barnes & Noble Nook Tablet] DeanGibson:
Install SuperUser from the Market

Install "SuperUser" from the Android Market, and then update "su" when it suggests to do so.
[Barnes & Noble Nook Tablet] lavero.burgos:
Yes if you want to install more apps because it wont let you sideload any other app, so you'll have to go back to 1.4.0 eventually
[Barnes & Noble Nook Tablet] GiGaLeOnZa:
when i was having issues, i then followed it all from the beginning as dean suggested. my problem was that after rooting using the zergy method, it didn't install any of the framework files necessary for the market. i think i used a version that didn't include those files, i then used another rooting method on top of the other one without starting fresh with the acclaim_update 1.4.0, might have caused some issues for me.

as for re-rooting, i couldn't use zergy's bat file, int he beginning it said an adb device was connected i hit y and enter, said a tablet wasn't recognized... i think it had something to do with the android SDK and me trying to install different usb drivers than the one he provided. i re-wrote the bat deleting the prompts and just using all the essential adb commands, it went without a hitch. strange tho, considering i started fresh, prob those google usb drivers. though i could push any app install or file through adb?

i can send any app through adb still (is this what ppl call sideloading? can't find a definition) though i couldn't do step 6.1 rooting/adbprep.cmd it failed. the adb command worked. i took some of my fav apps like andftp, speedtest.net, wifi analyzer, root explorer etc. and adb'd them on no problem, and market works for everything else. i am a happy camper.

just thought i'd share my experiences... start fresh!! root via zergy or whatever, forget about the market and framework for now, follow dean's guide, and you'll be set! update SU, busybox, and go from there. use adb for anything you can't find on the market (yet, till there's a fix for that) and call it a day.

I will keep OTA blocks off the nook til I hear more about 1.4.2 and what it does to the current 1.4.1 root. if it denies the restore of 1.4.0 AND 1.4.1, we'll be looking at a fix and fast. I have faith in people like Dean and Zergy!! Thanks a million dude, you're work is greatly appreciated by my girl and I.

send me a PM i'll gladly buy you a beer or coffee xD
[Barnes & Noble Nook Tablet] Bobcat001:
I chickened-out. Since I had used a different method to root 1.4.0, I decided to simply block updates using the TitaniumBackup/9.9.9 method. It seemed safer, and I wouldn't have to listen to complaints from my daughter that I broke her Nook.
[Barnes & Noble Nook Tablet] l3ft3r1s:
Hey there, newbie question!

After this procedure, will the NT get future OTA updates?

Do we have to disable OTA updates in order to keep root and android market?

Thanks for the guide, nice work btw!
[Barnes & Noble Nook Tablet] DeanGibson:
OTA updates

Yes, unless you use one of the several other procedures here on XDA-devs to block OTA updates. I don't block OTA updates, so I have no recomendation.

While no one can tell about the content of future B&N OTA updates, then answer is almost certainly yes. Whether you will be able to able to reroot after a future B&N update is also unknown, but the answer to that is probably yes.
[Barnes & Noble Nook Tablet] DipDog3:
You should be fine until B&N releases 1.4.2 and then it will probably update your Nook again and you will lose your root.
[Barnes & Noble Nook Tablet] rgbatduke:
I'm having exactly the same issues that sven42 is having. I've done installs all the way through twice now, starting from 1.4.0, getting root, installing the 1.4.1 zip -- but after the 1.4.1 upgrade happens, root goes away.

Since one needs root to install market etc, I assume that you mean to install market and superuser.apk BEFORE running AdbUpdate.cmd and popping it up to 1.4.1. I actually did try that one once as well, but perhaps I did something wrong because /system was still read only and although su seemed to "work", with the system not writeable I couldn't complete the install (or install new software after the incomplete install).

I will try following these instructions, before upgrading to 1.4.1 and see if it can hang on to root and the ability to remount rw afterwards.
[Barnes & Noble Nook Tablet] DeanGibson:
I need details

That is INCORRECT !!! I have run through this procedure multiple times as I have documented, and it works EACH TIME.

Further, installing Market before running AdbUpdate.cmd will simply result in the Market being erased by the v1.4.1 update.

Note that "/system" only needs to be writable during the short period after the two "adb remount" commands in the script. "/system" is not (AND SHOULD NOT BE) writable after this procedure is complete. That's true for ANY rooting procedure. Other than when installing system apps (eg, "su" or Gapps), "/system" should not be writable.

What version of my file did you use? If you are installing v0.9 via Linux, please get the current version (see the release notes at the beginning of this thread).

What type of PC and OS are you running the scripts on?

What makes you think you don't have root? If you are using the command prompt character ("$" or "#") after you type "adb shell" to determine if you have root, that's bogus as well.

What error messages are you getting? "Root goes away" is not very specific or helpful.

How does your PC command-line output differ from the "rooting/Expected.log" file that is provided?

After you completed the documented install procedure (it's unclear from you message if the procedure completed without a specific error), did you register with the Market app, and then install SuperUser from the Market?
[Barnes & Noble Nook Tablet] leftydave:
Can only install apps from market and nook shop

I went through this, and it works great, thank you for all the hard work Dean!!

I was wondering if anyone else is having a problem installing third party apps. If I go into settings and check the "Unknown sources" box, it is immediately unchecked when I go back into settings.

I cannot install apps from the Amazon Market, or .apk files that I have downloaded/copied to the device. Using adb works, or course, but who wants to have to do that for every application?

Anyone have any ideas?

Thanks!
[Barnes & Noble Nook Tablet] rgbatduke:
1. NT-1.4.1root_0.11.zip

2. Fedora 14 Linux laptop (I'm an old unix/linux guy and fairly expert FWIW).

3. The first symptom is that AdbRoot-2.cmd fails. Completely. Every step worked perfectly up to that point. That step just doesn't seem to work. The files won't copy in because the target directories are all read-only:

Off

========================================================================

This script completes the rerooting of a freshly upgraded Nook Tablet.

remount failed: Operation not permitted

push: ./rooting/gapps/system/app/GoogleCalendarSyncAdapter.apk -> /system/app/GoogleCalendarSyncAdapter.apk

failed to copy './rooting/gapps/system

(etc)

After the second boot (following the 1.4.1 update and/or AdbUpdate.cmd) I can still connect with adb. If I crank adb shell, I can actually look around a bit. No su, and if I copy it onto the nook (into say /data/local/tmp) and try to run it by hand I get no joy.

I can easily believe that I'm doing something wrong with my own efforts in the shell, because I don't yet understand either the nook's layout or android -- very linux like but yet different. But basic stuff -- cat, mv, ls -- all seems to work. But not remount -- I get a permission error.

As for 4 and 5 -- I'll try yet again to follow your instructions, but as I said they worked perfectly -- and then they failed, as noted above. FWIW, the long listing of the B&N update zip file is:

-rw-rw-r-- 1 rgb rgb 297726806 Jan 4 00:03 nooktablet_1_4_1_update.zip

in case B&N is moving that around without changing the number. I'll check back after it either succeeds or fails.
[Barnes & Noble Nook Tablet] rigbyrobot:
try the adb hijack app in the nook froums, then try an adb remount the next time you run into the permission issues