yashsingh1/xdaforums huggingface dataset:
[Nook HD, HD+ General] wayover13:
I guess my remaining query about doing this upgrade has been addressed, at least in part, through a bit of experimentation. I was under the impression that, in order to restore data that got wiped when I installed LineageOS, I'd have to run some sort of restore routine. Perhaps by booting into TWRP, or perhaps through the installed Android OS. But on rummaging through my new installation last night, I discovered that all of the data I had in the internal memory of my Nook was still present. I am deducing from this that, when I backed up the device before wiping it and installing LineageOS, some sort of back-up file was created, one that would be auto-detected by a new Android install and that would be automatically restored as part of the installation process. Am I correct in inferring that this is how the process works? It would be nice to get confirmation on that before upgrading my other Nook: the one I upgraded yesterday has a cracked screen and I use it for testing, but the one I'm really interested in upgrading is the mission-critical one whose data I would not want to lose. Further input on this aspect of the upgrade process will be appreciated.
[Nook HD, HD+ General] digixmax:
Custom recoveries such as TWRP and CWM support backup and restore functions to back up and restore (by default) the content of the 3 partitions:

- /boot partition: boot.img file

- /system partition: the Android OS and basic apps that come by default with a ROM

- /data partition: user-installed apps (from GApps package or App stores)

Both backup and restore functions need to be explicitly invoked through the recovery's backup/restore menu options. You can create multiple backup versions (dated & time-stamped archive files), and later select a particular backup version to restore from.

Flashing a new ROM build would replace the content of /boot and /system partitions, whereas flashing a new GApps package version (typically should be preceded by a "wipe /data" operation) would replace the content of /data partition.

The user-media content (ebooks, photos, music, video, etc.) is stored in the /user-media partition which should not be affected by the ROM and GApps flashing operations of most recent and current custom recoveries (I seem to recall that some really old versions of custom recoveries as well as the stock recovery's "factory reset" option does wipe out the content of the /user-media partition).
[Nook HD, HD+ General] wayover13:
Thanks for that helpful explanation, digixmax. So I guess the restore function being described is meant to work kind of like Mac's time machine or the Windows equivalent? You set up your tablet and get it working in a way you consider optimal, then do a back-up? And, if something later borks things up you can go into TWRP and restore the system to that previous point?

So it sounds like the internal memory must be divided into a few partitions, yes? And the /user-media partition doesn't get touched during a reflash? That's the way I can think of that would allow for preserving that data; putting the /home directory on a separate partition is how some Linux users preserve important stuff they want to persist across OS reinstallations.

On the more important Nook I now want to upgrade, I believe I've put most of the important data on the external SD card; I'll need to remove that card anyway in order to insert another from which I can reflash it with LineageOS. So maybe I'm not risking much there anyway.

Does anyone have any idea for how much longer new releases of LineageOS will be developed for these Nook devices? I suppose it's up to the good will of amaces, who has been rendering this wonderful service to us Nook users thus far?
[Nook HD, HD+ General] digixmax:
Yes.

Below is the storage partition structure of the Nook HD+ 16GB model:

xloader	128K	/dev/block/mmcblk0p1

bootloader	256K	/dev/block/mmcblk0p2

recovery	15M	/dev/block/mmcblk0p3

boot	16M	/dev/block/mmcblk0p4

rom	49M	/dev/block/mmcblk0p5

bootdata	49M	/dev/block/mmcblk0p6

factory	459M	/dev/block/mmcblk0p7

system	688M	/dev/block/mmcblk0p8

cache	475M	/dev/block/mmcblk0p9

userdata	13G	/dev/block/mmcblk0p10

The logical separation of the user media-content from the "/data content" within the /userdata partition is explained in item #9 of leapinlar's post https://xdaforums.com/showpost.php?p=34168454&postcount=1.

In my experience, a newer version of OS or app can be a mixed blessing: more feature enhancements but often at the expense of more taxing consumption of the tablet's CPU and RAM.
[Nook HD, HD+ General] little callow kid:
Going back to stock with TWRP.

What is the procedure for going back to stock when using TWRP? Leapenlar explains it with CWM here: https://xdaforums.com/showpost.php?p=42406126 but at the begining of your very helpful PDF you mention that installing the backup program enables going back to stock.

Would you happen to know where to find a .rar file for TWRP 3.1.1 for humminbird and ovation?

I'm trying something somewhat experimental with my nook hd. I'm hoping to actually get Nougat on it by using TWRP (which, worst case cenario I can upgrade once I flash the earlier version) since CWM is phasing out. But use a more updated gapps and the Nougat file https://www.dropbox.com/sh/cek7xg5c...8Sa/cm_hummingbird-ota-NMF26Q.161222.zip?dl=0 from Mr.LarryQ on Wordpress here: https://nookhdplusandroid7.wordpress.com/2017/02/26/installing-android-7-on-a-nook-hd-for-free/
[Nook HD, HD+ General] little callow kid:
Going back to stock with TWRP.

Sorry for the duplicate.
[Nook HD, HD+ General] PeteInSequim:
I'm not sure I understand your question, but it sounds like you want to install Nougat the hard way; by starting from Stock.

I can't help you with this, but please be aware that installing Nougat as provided by [MENTION=4473900]amaces[/MENTION] has never been easier. Following are the steps:

1. Download these files for Nook HD+ (Ovation)

from this page:

sdcard-reco-ovation.img.xz, lnos_ovation-ota-NJH47F.171021.zip, twrp-3.0.1-0-ovation.zip

Or these files for Nook HD (Hummingbird)

from this page:

sdcard-reco-hummingbird.img.xz, lnos_hummingbird-ota-NJH47F.171021.zip, twrp-3.0.1-0-hummingbird.zip

2. Download the current ARM 7.1 pico file and its MD5 checksum from opengaps.org. Since we're cramming a lot into limited storage, you might want to prepare a gapps-config file to include with your installation.

3. Use the - - - .img.xz file to build a bootable microSD card, using a card at least 1 gB capacity (I prefer 8 gB). This file is a compressed image that when decompressed and written onto the microSD card will make it bootable to TWRP. If you use a Linux desktop computer for this, use the archive manager to do the whole job with one click. If you are Windows-oriented you will have to first decompress it, then install the decompressed image onto the card. Sorry, I've never done this and can't provide instructions.

4. When the bootable microSD card is ready, drag and drop or otherwise copy the Inos, TWRP, and gapps zip files, the gapps MD5 file, and the gapps-config file onto it.

5. Eject the microSD card, mount it in your Nook, and power up. It will boot to TWRP. Follow the usual wipe and install procedure for zip files from the microSD card. The preferred order is Inos ---, TWRP---, and gapps---.

6. Post a reply to this post to let us all know how it worked for you.
[Nook HD, HD+ General] little callow kid:
Thanks for your response. Sorry for my ignorance. These files will be very helpful, but if my nook is at stock now? I thought I needed the full .rar file to root from stock. I suppose I can root CM 12.1 the use amaces files on that. I thought I was taking a short cut. I guess not.

I can burn the .img file to the SD card using the method you've explained. But can I still return to stock? My main concern is that I want to make sure I have the ability to do so.
[Nook HD, HD+ General] digixmax:
To root amaces' LNOS ROM, just flash the addonsu-xx.y-arm-zip file at https://notredame.app.box.com/s/26a4bygh9vbaw7jjq08xr5evomvaw5ww.

While in SD-card recovery, if you make a full back up of your stock ROM (onto the SD-card) before flashing custom ROM/GApps, then you should be able to boot into SD-card and restore stock ROM from this full backup.

Alternatively, you can go back to stock ROM using the leapinlar's stock ROM & recovery files at https://xdaforums.com/showthread.php?t=2062613. (You should check and make sure that the link to his files are still live).
[Nook HD, HD+ General] ST Dog:
No need to root stock since the Nook HD will boot from an SD card.

Once you boot to recovery on the SD card you can access the whole tablet to back and/or flash.

I never rooted stock on my tablet.

In ran CM11 from the SD card for years before finally installing to emmc and moving to LN14.

If a SD install of LN14 ever existed I'd still be runing from SD.
[Nook HD, HD+ General] little callow kid:
I was able to root the stock to Android 7. But now I want to make sure I can go back. I now have Android 7 on there. But, I would like to be able to just take the SD card out and there the stock is. I'm just not really following on how it's done I guess. How did you do it? Can it be done with Android 7? It's not my first time doing this, like when I did CM11, I was able to use leapinlar's post to get back. But the SD card removal method would be so much easier, once it was set up. Plus, my husband would feel better if he could keep stock on his HD+, but have the option of a better system. Here's what I did do.

I know I'm way overthinking this, but, I guess it's what I know. Using my un-rooted stock Nook HD:

First I'm using this link file and extracting it, then dragging the MLO (first) to the SD card. Then I copy the other files that were unzipped.

Then I'm dragging Android 7 CM to the SD card still zipped.

Lastly I'm dragging the gapps 7.1-pico file down to the SD card along with any other zips that I might find useful, such as Unknown Sources and also TWRP 2.5 .rar zipped file.

Properly ejected from my laptop, I put the SD card into my powered down Nook HD and fire her up. I backed up and restored the system to the external_sd. Did a factory wipe and reset, then I flashed my zips. Yadda yadda, and I now have Android 7.1.1. Otherwise classic old school procedure, but no stock... :\ Any tips on what I might do to do what you did to get stock to stay?
[Nook HD, HD+ General] nmyshkin:
First, you seem to be under the impression that the 7.1 OS is running from the SD card. That is not correct. The TWRP wipe/flash process removes stock entirely from your Nook's innards and substitutes Android 7.1. You should remove the SD card when the process is complete and put it somewhere safe. If you want to use an SD card to store data, etc., you need an additional one. The card you used to flash 7.1 is just for backing up, restoring, flashing new OS, etc.

If I understand you correctly you want to be able to boot into stock or 7.1 at will (from the SD card?). Such a thing is not possible. You can only have one operating system at a time and it's

internal

. If you want stock, you will need to go into TWRP, wipe out your 7.1 and restore the stock backup. If you want to go back to 7.1, you will have to repeat the procedure, wiping out stock and reflashing 7.1 (presumably from a backup). This is no way to live :eek:

Is there some reason you desperately want access to stock? Do you have a bunch of B&N purchased books you want to access? If that's the case, you can just install the Nook app on your 7.1 system, sign in, and all your books will be there. The only other advantage of stock I can think of is a working HDMI port, but if that's the issue you can install a CM 12.1 or CM 13 build that will still preserve that function and will be just as functional as 7.1

So why do you need/want stock so much?
[Nook HD, HD+ General] ST Dog:
So much there... need to come back to this on a computer.
[Nook HD, HD+ General] digixmax:
To accomplish what you want requires a ROM build that was compiled to run off an SD card. The most recent version of Android OS for which there were such SD-based builds was v4.4.x (KitKat) dated circa 2013/2014 -- see https://xdaforums.com/showthread.php?t=2583952 or https://iamafanof.wordpress.com/2013/12/20/cm11-0-kitkat-android-4-4-2-for-nook-hd-xx-20dec2013/.
[Nook HD, HD+ General] little callow kid:
Thanks ST Dog, I knew I had been able to do it once. It was Kitkat. Sorry for the long posts.

I have apps in the Barnes & Nobel App store that I have paid for that I don't want to pay for again in Google, mainly. Still trying to figure out if it's possible to sideload them. So far I haven't been able to find a reliable APK that has them. I was able to do get it all set up so that I can go back to stock reliably. I can't, for the life of me, use TWRP or CWM to go back to stock (via backup or using the plain stock files) when the recovery program is on the internal memory. Doing it from the bootable SD card works like a charm however and I'm pretty satisfied with my comfort with that method. But there's a part of me that is a little OCD as to why it doesn't work on the internal recovery program. Whatev' I guess. As long as there aren't any drawbacks for the internal recovery program not being able to boot it back to stock. Maybe it will help people for me to share how to do it on here now that I've figured it out. Just afraid it might be redundant.
[Nook HD, HD+ General] ST Dog:
Don't think there's much hope to get from the B&N store to newer ROM.

Unless you can fond a version if the B&M app stone app that works on 3rd party ROMs. I don't recall ever seeing anything like that, not even for CM10.

K'd just bite the bullet and forget/repurchase those apps.

Stick with the N ROM you like.

I think there was an option at option point to run the B&N ROM from an SD card. If you can find the thread/files that night help you.

---------- Post added at 10:21 PM ---------- Previous post was at 10:16 PM ----------

Found it

https://xdaforums.com/showthread.php?t=2330083

You may have to create your own images though.
[Nook HD, HD+ General] pernat:
Hi,

Sorry, I'm new to this, and would like to ask a few questions, if you don't mind. Forgive me if slip into idiocy at any point. :D

I have a Nook HD+, still with ROM it came with, or "stock" as I believe it's called, and I'm just debating whether to try installing CM12.1, as instructed in the first post of this thread, or jump straight to trying this, as I know CM12.1's getting a little long in the tooth, I think, based on Android 5 (5.1?).

Can I use this technique to go straight from stock to "Nougat", or is there an interim step? Is this just as easy as installing CM12.1, or would you recommend should I stick to the first post if I'm a "N00b"?

You say this will install Nougat on my Nook. Is it the standard version of Nougat, or is it the LineagoOS port/variant? (which, incidentally, I don't have any issue with, and might even prefer)

"Download the current ARM 7.1 pico file" that's the standard ARM version I need, not ARM64, isn't it? (I'm not exactly sure if the Nook has a 32 or 64bit chip in it, to be honest :o)

Thanks for any help.
[Nook HD, HD+ General] pernat:
Anyone still around?
[Nook HD, HD+ General] ST Dog:
You can go straight to N.

The files mentioned in the post you quoted are for Lineage.

The Nook CPU is 32bit.
[Nook HD, HD+ General] riyanchain:
Can I power off my tablet with power button?
[Nook HD, HD+ General] snartfan:
Is there anyone still reading this thread

? :)

NOOK HD+ Question

: Does the HDMI-out function work in ANY recent builds?

I ask because I remember hearing the HDMI adapter wasn't working in Android7/CM14 but it was working in Android5.1/CM12.1
[Nook HD, HD+ General] purenoise:
Did install Android 7, but even slimmed-down gaps-pico

was not able to get flashed.

Now thinking about resizing partitions, is it possible ?
[Nook HD, HD+ General] ST Dog:
It's possible. I recall steps being mentioned here on XDA in the past.

Look for repit
[Nook HD, HD+ General] PeteInSequim:
If I had to guess (and in this case I do) I'd declare that altering the battery percentage monitor is not a UI alteration that would impede a dirty install. Its just the manifestation of a setting, not replacement of a default UI element with a different one. Similarly the desktop icons you mention are replications of the solidly-defined ones in the apps presentation.

Again this is a guess that I cannot substantiate with any hard facts that I've found. If you try a dirty install after messing with these things, please let us know how it goes.
[Nook HD, HD+ General] PeteInSequim:
I'm doing a lot of guessing this evening, and my mention of CM-13 was yet another guess. But its probably a pretty good guess. Since Marshmallow is now the top of the heap from upstream, there's not likely to be much higher order CM-12 stuff on the way.
[Nook HD, HD+ General] PeteInSequim:
On page 16 of the instructions are some factoids about TWRP. Under the heading Keep the read-only status is a brief mention of this, and a recommendation to keep the read-only status. There's also a link to the developer's page that goes into detail about this.

It has been my observation that this screen appears on the first opening of TWRP, then never again.
[Nook HD, HD+ General] PeteInSequim:
The issue that stumped me when trying to prepare a microSD that boots to TWRP was making the installer to move the TWRP image file into position. I think this page is the genesis of the booting techniques that apply here, but I just don't have the smarts to make it work. Maybe someday I'll work on this more seriously, but meanwhile I've started some hot new projects that need my attention a lot more.

If you do tinker with making a bootable microSD for TWRP, please keep me posted on your results.

One more thing: I just ran across this about dirty flashing, which you might find informative.
[Nook HD, HD+ General] siccoblue:
Nope it's ovation, I've two of the same hd+ got it working on the first, attempted the second and got thrown that error, flashed the first back to cwm recovery and tried formatting and reflashing twrp and got thrown that error on the first one as well, tried re downloading the zip remaking the SD and nothing, can't seem to get it working
[Nook HD, HD+ General] PeteInSequim:
Its not clear to me from your explanation exactly what steps were taken. It sounds like you installed successfully on #1 HD+, but not successfully on #2 HD+.

Then you used CWM recovery for something; was it to restore your previous OS?. Did you reboot to the microSD card and use that CWM? What do you mean by "tried formatting and reflashing twrp", e.g. what did you format? I can't think of anything that should need to be formatted.

Could you mention the individual steps, each with some more detail?
[Nook HD, HD+ General] fullboogie:
One heck of an instruction manual, my friend. I wish there had been something this easy when I first modded my HD+, but to be honest, all the slogging through threads actually made me understand what to do and why I needed to do it.
[Nook HD, HD+ General] PeteInSequim:
Thank you. This was my first ROM experience and as you said, it was quite intimidating. But also quite gratifying after all the discovered bits and pieces fall into place and it works. To quote the immortal words of Hannibal Smith (the A team, an old TV series): "I love it when a plan comes together".
[Nook HD, HD+ General] dbrons:
Just installed this. I had 10.1 and it was good but had a couple errors I would sometimes get. This 12.1 so far seems great. Simplified and very smooth running. I like the interface, browser, launcher much better than what I had in 10.1

Thank you very much- it was pretty simple, only issue I had was getting the card formatted and getting it to boot up. I tried a few times and got it :)

Dave
[Nook HD, HD+ General] zenlifexxa:
Thanks so mush for the tutorial! I followed the tutorial had everything done in ~=15 minutes.

Everything works great!

One question. I backed up my nook + using the Titanium backup.

How do I root this device? Thanks again!
[Nook HD, HD+ General] br0adband:
Excellent write-up, done in the style I do myself when explaining things meaning more info than most people care about or want because I don't want 'em coming back at me saying "YOU DIDN'T TELL ME THAT..." :D

Used that method and those files to make two Nook HDs current with CM12.1 in about 15 mins total time for both of 'em. And yes it does pretty much breathe new life into the Nook HD with snappier performance from Lollipop.

Great work, PeteInSequim, and don't ever let anybody telling you "you're too wordy, you could have explained it much easier without all the excess verbiage..." - instead tell 'em to stuff it and stop being so inattentive. :)
[Nook HD, HD+ General] PeteInSequim:
I'm happy you found it helpful.

I'm sorry I don't have foolproof rooting instructions for you. A few releases ago there was a setting in Developer Options that made root access really simple. But this disappeared after the 20150906 build and I haven't seen it return yet.

The unofficial releases are still in a state of flux. Each release offers some improvements as far as I can tell, but until things stabilize a bit I'm limiting my usage to just ordinary stuff.
[Nook HD, HD+ General] kenryandub:
Does not power off

Great ROm and instructions Thanks

Very fast and clean, wifi speed much stronger now :)

I installed ROM and Pico Gapps, installed a few general apps, gmail, youtube etc

However

When i shut down the Nook , it restarts, this happens, with the power lead in use or unplugged

Any ideas please ?
[Nook HD, HD+ General] dbrons:
hmmm, I'll be interested as well. After checking I see mine is restarting too.

But yes, otherwise running great.

Dave
[Nook HD, HD+ General] PeteInSequim:
This is a very common problem which, it seems, no one has a solution for. In my case it happens in about 60 % of the shutdowns, but there are a few Nook owners who don't experience it at all.

The work-around of course is to press and hold the power button when you see the reboot starting, which will force a shut down that stays.

I think this phenomenon is not closely related to CM-12.1. I've seen it with CM-11, and I've seen reports of this behavior on various stock Android devices. Once I experienced it after a shutdown from TWRP that had been directly booted from power up; CM-12.1 had not even been launched.

Although I have no trustworthy statics yet, a shutdown after heavy exercise, such as a viewing Netflix video, seems more likely to stick than one after just a few minutes of browsing.

There is one thing I've noticed in a few cases after a forced a shutdown: If left unused for a few days, the Nook's battery has become fully depleted. It doesn't happen every time, but when it does a charging session is needed before it can be restarted. I've started powering up daily to check the battery state, but have not yet caught it in the act of a power-off discharge.
[Nook HD, HD+ General] kenryandub:
Hi Thanks for coming back to me..

I think I may have got lucky with the auto power up issue; :good:

I booted into TWRP, (I dont have the nook in front of me), but AFAIR , I went into one of the TWRP options, which started to do someting in cmd line , since then no auto power on issues.

I have one other question please, where do I look for the latest Nook Version of CM12.1 ( I know these ROMS change / improve ) as time goes on. I used the hyperlink in your excellent PDF, to download the ROM , and can see that the ROM is current, but of course if a few weeks/monts, there will be an updated version (I am using the 9 inch Nook HD Plus)
[Nook HD, HD+ General] zspeciman:
kenryandub, I also have the power up issues. Always had it cm11 m12 and now on 12.1. Please post how you got to the twrp options to address this problem, I would like to duplicate it, perhaps that will solve that issue.