yashsingh1/xdaforums huggingface dataset:
[Nook HD, HD+ General] Windsor1959:
Even though I had blocked OTA 's using SQLite editor, my HD just updated to 2.0.5. All my apps are there, but root is broken. Titanium Backup can't work. The su command fails in Terminal. I'll see if I can re-root.

---------- Post added at 07:22 AM ---------- Previous post was at 07:00 AM ----------

Well, I tried to re-root, using someone0's method like before, but I can't get root back. A word to the wise. I tried the software update button yesterday, not knowing there really was an update on the way. Don't do it!

I have all my apps, and Leapinlar 's SD swap trick survived, but not root. Any ideas?

---------- Post added at 07:37 AM ---------- Previous post was at 07:22 AM ----------

PS - Market and gapps work fine.
[Nook HD, HD+ General] someone0:
First, let's be clear, it's not blocking OTA update. The sql database was there to determine whether the update would be automatic or manual. The mod only change the automatic update to manual.

I'm wondering why do we have 2 contradicting report about the root. I would say if you have the SD swap working, then you can boot into CWM also, and try to fix root manually. Once you boot into CWM, you automatically have root access. Fixing the root at that point is like you are booting from a Linux liveCD to fix your Linux OS on the HDD. If you don't have the CWM, then I would say try looking at the code manually and apply it manually and see at what point it doesn't like the code(meaning which bug/loophole get fixed).
[Nook HD, HD+ General] Windsor1959:
I think that the other person assumed that if Play Store works, root must be intact. Not necessarily. And since I have an HD, not an HD+, CWM isn't an option. But I will see what else I can try. The good thing is that everything that doesn't require root works fine. I haven't found any changes to my HD since the update, except for loss of root and inability to get it back. When I run the makeroot.bat command, everything seems to install. But afterwards apps that need root can't find it.
[Nook HD, HD+ General] Trance-M:
Could it be you tried apps which don't need root access? Does e.g. Titanium backup (still) work?

I will wait a little, but also am curious if my tv app works if root access is lost as it does't while rooted.
[Nook HD, HD+ General] Nuor60:
I loaded titanium backup in anticipation of the the sky falling with 2.0.5 firmware. I've attempted to change the the backup location and can't find a way to open a browse window. I suspect it may be an issue with not "seeing" the window or button because a of white text on white background. Anyone else noticed anything like this? thanks
[Nook HD, HD+ General] maxspr1:
"I think that the other person assumed that if Play Store works, root must be intact. Not necessarily"

My apologies--you're right--I guess I did a really half-assed check, because Titanium Backup doesn't work, but that appears to be the only thing having problems. As far as i know, that's all I have that needs root (but "as far as i know" apparently isn't all that much).

I'm surprised that alternate stores/enable unknown sources wasn't killed, preventing me from getting and installing outside apps. As controlling as B&N seems to be, you'd think this was the first thing they'd knock out.

I hope no one downloaded the update because of my post. If so, again, I apologize.
[Nook HD, HD+ General] Trance-M:
In my opinion you don't need to apologize. Most here are aware of some risks.

It even could be B&N didn't do anything on purpose to prevent rooting with the update, but my B&N experience is pretty minimal.
[Nook HD, HD+ General] Windsor1959:
Definitely no need to apologize! I invited the update on myself by trying the "software update" button yesterday. The 2.0.4 update didn't break root, but 2.0.5 seemingly does. It also broke my SD card swap that I did courtesy of Leapinlar's tips. I thought it didn't, but now I see it did, I was a little ticked at B&N for that. But then I realized that, when I had a Nook Color, an OTA would often wipe out any non-B&N apps altogether. So they are a bit better on that account. But the root methods we have been using don't seem to work on 2.0.5. You don't suppose that B&N broke root deliberately?
[Nook HD, HD+ General] someone0:
When you say it break root, do you means apps that need root access doesn't work, or you mean going into shell and su doesn't work? In the earlier case, maybe you just need to rerun the superuser app again to initiate it. Also, what happen if you adb shell and then su, do you get $ or # prompt? It maybe that update break the startup run on the superuser, and you may just need to re-nudge that.

This sound a lot more like superuser got broken, maybe just the start up of superuser. If you didn't very see any error when you run makeroot.
[Nook HD, HD+ General] Windsor1959:
Well, I saw that my apps that require root (Titanium, Button Savior) no longer work. And, when I do ADB shell and su, I get /system/bin/sh: su: not found. Then I get 127lshell@android:/ $

Not sure what it all means. Thanks for your help.
[Nook HD, HD+ General] fattire:
Jumping into this after reading just your post,but if you can boot into cwm you can just put su back.. usually though it's in /system/xbin/ not /system/bin.. also make sure that permissions look like this:

-rwsr-sr-x root root 95912 2008-08-01 05:00 su

if it doesn't, you can try:

chmod 4755 /system/xbin/su
[Nook HD, HD+ General] someone0:
Judging from this post in other thread, it seem B&N lock this one up.
[Nook HD, HD+ General] Windsor1959:
Okay. When I tried rerooting with someone0's method, I get one error - unable to chmod /data/su/system: operation not permitted. Since I have an HD and not an HD+, CWM isn't available yet.

When I go into advanced shell and try the chmod that fattire suggested, I get unable to chmod /system/xbin/su: no such file or directory.

I'm calling it a night now, but I'll try again tomorrow. Thanks again.
[Nook HD, HD+ General] fattire:
Ah, that's a pisser. Oh well-- choices I guess are:

1. look for another in.

2. replace ramdisk on new rom with old one (or fixed new one) and proceed as normal. (requires booting off SD for now anyway)

3. don't upgrade

4. run CM instead.
[Nook HD, HD+ General] someone0:
Somebody is working on CWM for HD, you may actually have to wait until there is CWM for HD.

Aside from that, does 2.0.5 break booting from SD on HD+?

---------- Post added at 07:41 PM ---------- Previous post was at 07:40 PM ----------

Choice 2 & 4 are not available for the HD though.
[Nook HD, HD+ General] fattire:
Oh there's no cwm for HD yet? Well that should be not a big deal... Just need a good recovery.fstab and recovery_ui.c ... I'm surprised no one built one by now...
[Nook HD, HD+ General] someone0:
I guess we don't have a lot of dev in the HD/HD+. Just to be clear I'm not a coder. I could write some simple scripting, but that's all.
[Nook HD, HD+ General] verygreen:
Indeed, I think one of the easier ways would be to reuse 2.0.4 boot image. Assuming not many files changed in the rom itself (certainly kernel changes were minimal), those could just be symlinked to somewhere safe to avoid tripping the check in ramdisk.
[Nook HD, HD+ General] roustabout:
Root is broken, and there now exists a directory at

/system/sbin

2.0.5 installs whether you ask for it or not; my device was set to not auto-update and no, I did not poll for updates this time - I did it last time by accident.

My guess is that that directory simply being there is a leftover from when the post boot script worked. I tried shortening that script to just mount /system rw and nothing useful happened.

Has anyone else had any luck talking to CWR via ADB on these devices? I'd actually rather not do a device wipe just now, but as it happens I do have a backup from last night off-device and three days, more or less, of fiddling-around time available.

I've not been able to get CWR to listen on ADB, at least not to win 7.

I think CWR could be used to copy files into /system/sbin, though, and establish root that way? There is still no mention of /system/sbin in the manifest file.
[Nook HD, HD+ General] jasonwho:
first is there a way to revert back to 2.0.04 ff you never did the cwm method to back up your rom files? I too had set OTA to disabled and so I thought it was disabled I guess it did not work. I tried to run the allinone fix on 2.0.05 and of course it wont work gives the SU error others have reported when gaining SuperUser root access.

I did this change when typing in the su command in the allinone fix. I put data/su/su in where typically su is in the cmd. Its not 100% working this way and it will give errors.. The allinone fix is not working on changeing the databases to change OTA and Enable Unknown Source see this cmd attempt: (bold is the change in the command i ran from the script which i did manually instead of using the bat.)

C:\adb>adb shell /data/su/su -c /data/su/settings.sh

Error: unable to open database "/data/data/com.android.providers.settings/databa

ses/settings.db": unable to open database file

show new install non-market apps setting

Error: unable to open database "/data/data/com.android.providers.settings/databa

ses/settings.db": unable to open database file

Error: unable to open database "/data/data/com.bn.devicemanager/databases/device

manager.db": unable to open database file

If you see 'install_non_market_apps|1' above

then you have allow install Non-Market apps.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

show new Nook OTA update setting

Error: unable to open database "/data/data/com.bn.devicemanager/databases/device

manager.db": unable to open database file

If you see 'com.bn.device.fota.mode|fota operation mode|fota|manual' above

then you have set Nook OTA update to manual.

C:\adb>

So its not working to change databases. and I followed the script each step as i did the commands in CMD manually.

Now I was able to get Google play to load again by using /data/su/su in the script, it did report errors and following the allinone script before again putting in /data/su/su instead of su in the su commands When I loaded google play I was even able to download and install a game from google play. so Enable Unknown Source must be active. I do have super user installed but I did not load nook color tools yet. so not sure why its allowing installation of apps from device. But is good news its working.

This hopefully help out those who got hit with the 2.0.05 upgrade like I did and needed to get google play back, also make sure you have your launcher to get to google play.
[Nook HD, HD+ General] fattire:
Yup. If the ramdisk is identical except for the newly-introduced BN bug, and the kernel is cool too (was there new source?), the boot.img is already signed so could probably be re-used with this new update. Why anyone wants to use BN's OS is beyond me (although admittedly I've never used it) but I can't imagine it's better than CM.
[Nook HD, HD+ General] bokbokan:
I have uploaded a video of CM10 (verygreen HD+ version) running in HD with my port of cyanoboot from fattire source.

https://www.youtube.com/watch?v=dil0_aSZnaw

---------- Post added at 06:46 PM ---------- Previous post was at 06:41 PM ----------

For those having problem with their HD, I'l try to come up with a cwm card.
[Nook HD, HD+ General] Little-Boy-Lost:
I may be able to help with cwm card. I've decompiled hd+ one and think I can do it :)
[Nook HD, HD+ General] ShapeShifter499:
noooooo! New update killed the root! D:

luckily I have the Google app store, Amazon app store, and the Swype keyboard installed so I'm ok for now, but is there away around this new root block? Also any updates on cm for nook hd (the smaller one)? This really feels like I'm at the early days of when Apple started blocking rooting/jailbreaks but instead its with Barnes and Noble and their Nook tablets lol
[Nook HD, HD+ General] yelloguy:
Better is subjective. I use Nook for mostly reading and BN's OS does a phenomenal job of showing epubs and the home screen is pretty good for book covers and all. I have use Nook Color for over a year and thanks to devs like yourself, I have enjoyed CM7 and CM10 for using NC for web browsing and RSS feeds etc. Because that stuff frankly sucks on BN OS. But for reading they have done a good job IMHO.

I now have a Nook HD and since I don't have an alternative, I am stuck with BN. But I find the new profiles feature quite a nice touch. I have mostly been reading epubs but when I have to see a PDF or browse the web, I prefer a laptop. Can't wait for SD Card install of CM10 for Chrome and Google Reader.
[Nook HD, HD+ General] bunodosoma:
A big thank you for all those folks who are working so hard to make this the HD+ a daily driver. Just a quick thought for those who acquire a HD + and want to lay out as the HD+ root/B&N OTA saga plays out. Don't turn the HD+ on until you set up a sd card with Verygreen's CM10. Use the sd card to boot from the very beginning. I may be wrong but this should put the B&N OTA's on hold until things settle out. So far I'm loving the display,speed and form factor of the HD+. Sound not so much, everyone seems to be whispering in movies but earbuds fix that. Game sounds are a decent volume.
[Nook HD, HD+ General] Rattor:
If my Nook HD+ is on already, is it safe to use Wi-Fi? Does the update work only on boot, or is there a risk of update even without rebooting?
[Nook HD, HD+ General] someone0:
No, the /system/sbin has always been there since version 2.0.0 The real problem is the hook shell script file is now no longer run at startup. Hence we took advantage of it was autorun with root privilege, and now it no longer does. Everything else that suppose to run as root to give us more privilege fall apart.

---------- Post added at 09:58 AM ---------- Previous post was at 09:50 AM ----------

I use skip OOBE and I left wifi on all the time, never turn that off and still on 2.0.0

The real problem is gonna be whoever purchasing a new Nook HD/HD+ and it now may come with 2.0.5
[Nook HD, HD+ General] Rattor:
Personally I use my Nook mainly for reading and watching videos, and the stock OS does that just fine, with a little rooting and sideloading. The stock reading app is better than using the Nook app on CM. The stock OS also tends to have better deep sleep battery performance, and when you're traveling long distances by air, battery life weighs a bit more to me than performance.
[Nook HD, HD+ General] fattire:
Looks cool. Which version of cyanoboot's menu are you using? I noticed that it's not using the new "N" glyph... were you using the most recent source from here, particularly this and this commit?
[Nook HD, HD+ General] dbh369:
Ok, me too. But this update also to have borked my library! Right now it says I need to repurchase. Now for me, two things happened: I got updated. meanwhile I also started up my son's nook for Christmas and connected it to my account. I went back to my machine, noticed the update and that my library was gone. Note it still shows online and on my son's machine... I didn't attempt to root my son's machine.
[Nook HD, HD+ General] dbh369:
No way for me to get to books that were previously purchased through the nook that has the mod. Even loading the nook app through play doesn't work, I keep getting "nook has stopped" errors. Anyone else having trouble getting to content or is this my private hell? Repurchase doesn't work, says I should check my library. Side loading from nook pc doesn't work either.
[Nook HD, HD+ General] bokbokan:
Thank you fattire for your nice work in cyanoboot. I'm basing my port from the latest source, I've overlooked the "N" glyph that you had committed.

Will be using the new glyph in my next iteration.

Regards
[Nook HD, HD+ General] fattire:
Cool... nice to see cyanoboot making it to the new Nooks :) BTW-- have you considered using the power button or something to select the menu item instead of the long hold? Also, aren't there volume buttons?
[Nook HD, HD+ General] bokbokan:
As you commented somewhere that the volume buttons in NT lacked the driver found in NC, is seems the HD (Col/Row keyboard thingy) is similar with the NT in this regards. Since no time to study the code yesterday while porting, even the power button wont work on me. So opted for the 'hold' technique.

Will try to look at the kernel source and if possible to make the vol buttons works for more natural interface.
[Nook HD, HD+ General] verygreen:
It's not hard to flash 2.0.4 back from cwm booted off sdcard, if desired.
[Nook HD, HD+ General] someone0:
True, but I said that at 10AM this morning before leapinlar made that tool available at 1PM. Also he made it so flashing back to 2.0.0 because of the 2.0.4 bug.

That said, we can't assume B&N won't make a 2.0.6 that will simply block SD boot also or even hardware revision.
[Nook HD, HD+ General] fattire:
Yeah I think Rebellos got the volume buttons working. The power button is usually just a matter of setting the proper gpio for that button, which is usually found somewhere in the board file in the kernel source. I thought I had a version of the ovation/hummingbird kernel in github... but I guess only xloader/uboot...

Looking quickly at arch/arm/mach-omap2/board-ovation-buttons.c:

/* GPIO_KEY for Tablet */

static struct gpio_keys_button ovation_gpio_keys_buttons[] = {

[0] = {

.code	= KEY_HOME,

.gpio	= 32,

.desc	= "SW1",

.active_low	= 1,

.wakeup	= 1,

},

[1] = {

.code = SW_LID,

.type = EV_SW,

.gpio = 31,

.desc = "HALL",

.active_low = 1,

.wakeup = 1,

.debounce_interval = 5,

},

};

Dunno what SW_LID is... These values are the same for hummingbird btw... I presume you use 32 for the home button now right?

Also, do you support all the various u-boot.* configuration files yet?
[Nook HD, HD+ General] bokbokan:
Yes 32 it is. I have peek at the kernel code yesterday and not finding the power button gpio, did not bother to dig deeper.

If you mean support for both ovation and hummingbird, not yet. My code is a real mess and I still have to clean it a bit to work for both. But eventually it will.

Also, booting to emmc still not working. I think its the offset thing.

u-boot.device and u-boot.altboot worked initially but eventually gone. Have to investigate the issue further.

Still using separate kernel and ramdisk files for both normal and recovery boot. Eventually be using *.img.

No fastboot.
[Nook HD, HD+ General] leapinlar:
I also made it 2.0.0 because that is the only full zip I had. The 2.0.2, 2.0.4 and 2.0.5 were all just small incremental patch files. I suppose some users have full zips if that is how their device was shipped. But, like you said, a secondary benefit is avoiding the kernel sdcard bug.
[Nook HD, HD+ General] bokbokan:
I'm not sure this is already mentioned, but just in case. For those sd card having problem booting, the work around

is to boot to stock, insert sd card and perform a reboot either using adb or install app that will reboot the stock rom.

It seems the internal ROM code has problem detecting the sdcard coming from a cold boot. The card i'm using in my testing

have no problem booting warm yet wont boot after a shutdown.
[Nook HD, HD+ General] JGLChilly:
For what it is worth, Chrome works perfectly when side loaded. In order to side load without root, install on a PC the nook hd drivers, the android SDK, the nook HD SDK, and then use the android debug bridge from a command prompt to install apps (*.apk format) to a connected nook. Also, epubs from the Google Play store should be accessible via the Sony Reader android app if side loaded. I installed launcher pro, drop box, amazon kindle, Sony Reader, amazon mp3, Facebook, yahoo mail, adobe acrobat Reader, and neutron player without a problem. You can still access all the standard B&N apps by toggling between launchers with the n button. I did all this yesterday on 2.0.5. B&N posted in their online developer Web pages incredibly specific directions on how to set up windows, Mac and Linux to side load.

Enjoy and good luck!
[Nook HD, HD+ General] verygreen:
Well, I forgot to press "submit", that's why it appeared so late :o

That said, there is no way B&N can block sdcard booting with a software mod. Doing a HW mod at this stage is a major PITA for them too.

And in addition to that they would need to retrain all their reps on how to perform unbricking if sdcard boot would no longer work.
[Nook HD, HD+ General] dbh369:
I just unboxed a new HD yesterday, it was still on 2.0 and immediately updated to 2.0.5, don't think they are going to change the shipping rom for awhile...

---------- Post added at 02:05 PM ---------- Previous post was at 02:03 PM ----------

you can install amazon but can you then download apps with it? I think not without root...so you can set 'unknown sources'.
[Nook HD, HD+ General] yelloguy:
Thanks for the directions.

I am just trying to avoid (A) installing all the SDK's and (B) messing up my clean stock ROM. I got Dropbox and Dolphin apps from the BN store. I can copy epubs and PDFs via Dropbox and Dolphin is slightly faster than the stock browser. That meets all my needs. As for wants, I want Chrome, Kindle, EZ-PDF, Google Reader etc. I will wait for an SD card CM10. If it doesn't show up, I might install the SDK's and look into messing with the code to get that going for myself as well as others.
[Nook HD, HD+ General] leapinlar:
You can flash my zip that sets unknown sources with cwm. You do not need root to do that. Go to my thread in the dev section and look for the one attached to the post. It can be used on any stock ROM as long as it has been booted once.
[Nook HD, HD+ General] bokbokan:
Experimental Nook HD CM10 sdcard ROM posted in this thread
[Nook HD, HD+ General] mzjc:
Can you post the link to this? Thanks. Do you have the Google Play store installed?
[Nook HD, HD+ General] leapinlar:
If you go to my HD+ tips thread linked in my signature, I have it linked there.

Sent from my Nook HD+ Running CM10 on SD
[Nook HD, HD+ General] Chi Ahrens:
CM10 on HD

Well ****, I still can't post in the dev forums. Anyways, I got the CM10 working in HD. I spent the most time with the fat partition. I only have ubuntu and OSX. I tried gparted and a few other partition tools and couldn't get it working. I finally just imaged the HD+ CWM recovery, mounted /sdcard in the HD+, copied over the files from boot partion of the HD CWM recovery to the boot partition of the HD+ CWM, then I was able to mount /sdcard in HD. Anyways, so far so good. Thanks leapinlar and everyone else that made it possible.
[Nook HD, HD+ General] angellsl:
You only need to format your sdcard partition to fat32 using your computer, before mount it after first cwm boot.

I used gparted.
[Nook HD, HD+ General] vimesxda:
cm10 hd+

Hey, new to tablets and a lot of the acronyms used on this forum but starting to get familiar. I got a nook hd+ at christmas thinking i could make a cm10 sdcard boot as i dont really want to root it if i can avoid it. So far i tried writing the cm10 image file auto installer in bobokans thread and then realised after going to the trouble of installing a vm linux to use dd that it was only for nook hd and not the + .

So after spending hours trying to get it working i realise i need to try the manual method in verygreens thread but i'm not quite sure how to go about it. The first thing it says is to build the source which i have no idea how to do. So could anyone guide me through the process of following the verygreen cm10 instructions? I see it says you can download the source but then i don't know where to put it, would you write the image file first then unzip the source onto the card also, really not sure how to follow the thread so help would be much appreciated.

My sdcard is a sandisk class 4 32gb formatted to fat 32 which i believe is a compatible card. Thanks to leapinlar too for the help so far.
[Nook HD, HD+ General] lkmiller:
Scroll down further in verygreen's opening post and you will see "If you do not want to build from source..."
[Nook HD, HD+ General] vimesxda:
Yeah i read that part i'm just not clear on what you do with the source file, do you write the image to the sdcard and put the source in cm10 sdcard folder or do you just copy the source onto the sd card then point cw to it when prompted? Cheers