yashsingh1/xdaforums huggingface dataset:
[NOOK Tablet 7" Guides, News, & Discussion] ipdev:
"QUICK" Guide - BNTV450 Nook 7

Root using Magisk.

MagiskManager 6.0.0 Download

Magisk 17.2 patched v2.0.5 Download

Using Magisk Manager and the provided Magisk patched boot image.

Note: When booting an image from "fastboot", you should not see the initial "orange boot" screen.

Make sure to grant permission if and when prompted on device.

Some of the adb and fastboot commands may require input on the device.

On device

Go to Settings - About and tap on the build number seven times to enable Developer options.

Go to Settings - Developer options and Enable USB debugging

Connect to computer and Allow USB debugging?

On computer

adb reboot bootloader

Wait for device to boot into fastboot mode then.

fastboot boot m172_v205_boot.img

Wait for device to boot then.

Reminder. Make sure to grant permission if and when prompted on device.

adb install -r MagiskManager-v6.0.0.apk
adb shell su -c "dd if=/dev/block/mmcblk0p7 of=/sdcard/bntv4-boot.img"
adb shell su -c "dd if=/dev/block/mmcblk0p8 of=/sdcard/bntv4-recovery.img"
adb pull /sdcard/bntv4-boot.img
adb pull /sdcard/bntv4-recovery.img

Test the images you just made.

adb reboot bootloader

Wait for device to boot into fastboot mode then.

fastboot boot bntv4-recovery.img

Wait for device to boot into recovery mode then.

On device

In Stock Recovery use the volume down key to highlight Reboot to bootloader and press the power button.

Wait for device to boot into fastboot mode then.

On computer

fastboot boot bntv4-boot.img

Wait for device to boot then.

On device:

If you haven't setup WiFi, do so now.

Open MagiskManager

Tap on Install

Select Install

Select Patch Boot Image File

Tap on Internal storage

- Note: If Internal storage is not displayed. Tap on the 3-dot menu (upper right corner) and select Show SD card.

Scroll down and tap on bntv4-boot.img

When Magisk is done patching the image file, select CLOSE

You can close MagiskManager as well.

Copy and test your Magisk patched boot image.

On computer

adb pull /sdcard/download/patched_boot.img
adb reboot bootloader

Wait for device to boot into fastboot mode then.

fastboot boot patched_boot.img

On device

Open MagiskManager

Note: You should see that Magisk is installed and active.

To do a quick check.

On Computer

adb shell
shell@st16c7bnn:/ $su
shell@st16c7bnn:/ #exit
shell@st16c7bnn:/ $exit

If it worked, and you are ready to say goodbye to stock Non-root.

adb reboot bootloader
fastboot flash boot patched_boot.img
fastboot boot bntv4-recovery.img

Once it's booted into Recovery, unplug the device.

On device

In Stock Recovery use the volume down key to highlight Wipe cache partition and press the power button.

-- Wiping /cache...

Formatting /cache...

Cache wipe complete.

Then with Reboot system now highlighted press the power button.

You are now rooted and running Magisk.

Last edited 23.Sep.2018

Links to my shell logs.

Unlock bootloader. Pastbin

Root. Pastbin
[NOOK Tablet 7" Guides, News, & Discussion] arrmusic:
volume button does not react

Hi

unlocking does not work

As mentioned in the other discussion, the volume up button does not seem to react and so the unlocking does not work. Also one user suggested using the reset button after pressing the volume up button for the unlock; that also does not work for me :(

Do u have any other suggestions to unlock ?;
[NOOK Tablet 7" Guides, News, & Discussion] ipdev:
I never ran into this problem. So short answer - No.

Can you point me to that other discussion?:confused:

What do you get if you run fastboot oem lks

fastboot oem unlock is supported on this device. You could give that command a try and see if there is a difference.

Not sure what you have tried.

I would start with "Factory Reset" in stock recovery. Skip through the initial setup and try again.

Note: Developer option menu has a toggle at the top, make sure it is turned On.
[NOOK Tablet 7" Guides, News, & Discussion] arrmusic:
Volume up button not recognised while fastboot unlock

Hi

Here is the discussion thread that I was referring to where people are stuck with unresponsive volume up button for fastboot unlock

https://xdaforums.com/nook-7/help/nook-rootable-t3510289

I didn't do the factory reset. So maybe I will do that and see if it works.
[NOOK Tablet 7" Guides, News, & Discussion] arrmusic:
unlock not working

Hi

Just to further update you on your reply; i did a factory reset and tried to unlock the bootloader but i get to the same problem; the volume button does not respond; so stuck with the message 'press the volume up button to unlock the bootloader'

I did the fastboot oem lks and that commands executes well and it gives me a OK output.

Cheers & New year greetings!
[NOOK Tablet 7" Guides, News, & Discussion] arrmusic:
Any update on the unlock issue

Hi

Is there any update on the unlock issue i reported some time back? My last update on this was executing the command => 'I did the fastboot oem lks and that commands executes well and it gives me OK output.'

not sure if my last update was interpreted in the right way; it does nothing when i type fastboot oem lks except saying it is OK (which i suppose is the expected output of fastboot oem lks). So i do not know how to get around the volume keys not being recognised to go further in unlocking

I still can not use the volume keys for the unlock as it does not seem to react. just stuck a bit on this :(
[NOOK Tablet 7" Guides, News, & Discussion] ipdev:
[MENTION=7834315]arrmusic[/MENTION] I guessed it it looked more like this. ;)

fastboot oem lks
...
(bootloader) lks = 1
OKAY [ 0.000s]
finished. total time: 0.000s

lks = 0 would be unlocked.

I am looking for a way to un-brick these. I think that may be the best way to correct the button problem also. ;)

What os version are you running? (BNTV450-vx.x.x-20xxxxx)

What do you get when you run fastboot flashing get_unlock_ability ?

Tested a few things tonight.

I was NOT able to re-lock the bootloader on either of my rooted devices.(BNTV450-v2.0.4)

Found some more inconsistencies with power and volume key boot combinations. (Among other things.)

"FAILED (remote: not support on security)" apparently is not just for unlocked devices.
[NOOK Tablet 7" Guides, News, & Discussion] arrmusic:
not able to unlock yet

Hi

Many thanks for your reply.

I seem to have the software version v1.0.2;

I tried to find by googling v2.0.4 but i am not able to find that security update anywhere to download; do you have the v2.0.4 file? can i have it somehow?

I ran the commands u had mentioned in your previous reply.

fastboot flashing get_unlock_ability

...

(bootloader) unlock_ability = 16777216

OKAY [ 0.012s]

finished. total time: 0.012s

fastboot oem lks

...

(bootloader) lks = 1

OKAY [ 0.004s]

finished. total time: 0.008s
[NOOK Tablet 7" Guides, News, & Discussion] 74178951237895321:
What is the origin of the boot.img?

What is the origin of the boot.img? I'd rather not just flash something without knowing where its come from.
[NOOK Tablet 7" Guides, News, & Discussion] ipdev:
v2.0.3 boot came from a supposed "N" rom for this device and was the first boot image I was able to make bootable. It was still API 23 "M" by the way.

I would have to find and unpack the original file to see what I edited to make it bootable.

All others are "dd" copies from my own device(s).

I am working on updating the OP and the "Quick Guide"

Boot Images

Download Magisk 15.3 patched v2.0.5 (Preferred and current boot image.)

;)
[NOOK Tablet 7" Guides, News, & Discussion] 74178951237895321:
Scatter file for Mediatek MT8163, opening the tablet

Can you post the scatter file for the Mediatek MT8163?

I've been trying to make my own image dumps for the Nook 7, but have run into an issue where the device won't stay in a readable mode for SP Flash Tools long enough while the battery is still connected. So, the solution for most phones is to disconnect the battery and have it powered over USB only so that it won't go past the preloader and into the charging mode.

But I can't get the darned thing open! My phone has a similar style housing and I had to use a suction cup on the glass while prying at the edges to gain access. But for the Nook 7 its just not working.

Edit: This started while trying to soft load TWRP to make the image dumps. When I do

fastboot boot twrp.img

It tells me that the kernel address lies outside of memory. Its possible to supply an address to load it at with the fastboot command which you are supposed to learn from the scatter file. I found what I thought was a valid MT8163 scatter file but using the address found within did not fix the issue.

I forgot you mentioned that you didn't pull the original image from your device yourself. I've been trying to root this without relying on images from others. Your latest guide to pulling and modifying your own boot.img is a decent enough middle ground for me to use. Thanks.
[NOOK Tablet 7" Guides, News, & Discussion] ipdev:
[MENTION=8895540]74178951237895321[/MENTION]
[NOOK Tablet 7" Guides, News, & Discussion] saagarjha:
I was able to get a successful root by following the steps in this thread in combination with those mentioned in this one. ipdev, just to satisfy my curiosity, where did you find this "N rom" image?
[NOOK Tablet 7" Guides, News, & Discussion] saagarjha:
So, I was dumb and went through with updating Magisk without checking this thread first, and now my tablet's stuck in a bootloop that I can't seem to get out of. [MENTION=7280276]ipdev[/MENTION], do you have any ideas on how this happened/how to get out of it? The tablet can't get past the "Orange state your device has been unlocked etc. etc." screen, and I can't get it to boot into recovery either (using Power+Volume Down, is the combination something else on this tablet?). fastboot won't discover it either, probably because it reboots within seconds and never gets to a point where it could be recognized. I'm thinking of letting it bleed out until its battery dies (unfortunately, the battery is soldered and glued in, so I can't just disconnect it), and checking on it in the morning to see if it will be cooperative enough to let me flash the modified Magisk image.
[NOOK Tablet 7" Guides, News, & Discussion] ipdev:
[MENTION=8811364]saagarjha[/MENTION]

I have a few in the same condition. As you noticed, the battery is soldered in so the best you can do is disconnect the screen. (Connector to the right of battery.)

One of these days, I was going to try sp flashtools to see if I could recover one of mine. (I'm not sure if it works with these.)
[NOOK Tablet 7" Guides, News, & Discussion] saagarjha:
I let the tablet run out of battery and then plugged it back in again and it immediately got stuck in the same bootloop, so it looks like it's actually bricked rather than just pretending. I think SP Flash Tools is the way to go at this point; we'd have to find a functioning preloader driver and scatter file to do that, however. It might be possible to simulate disconnecting the battery by shorting the battery's leads, but I'm not sure if this would work (or is even safe to do).
[NOOK Tablet 7" Guides, News, & Discussion] flippinpentagrams:
I was having trouble with unlocking the boot loader on my v1 launch version of this Nook. Recently I dropped it and got a new one via the replacement plan - this one was marked 'v2', came with a 2.x firmware that I wasn't able to even get on my launch Nook 7.

Anyway, this one unlocked without any problems. Thought this might be helpful to anybody having trouble unlocking the bootloader. Consider the revision of the Nook you have. Maybe the solution here is flashing the v2 firmwares to the v1? Hard to say.
[NOOK Tablet 7" Guides, News, & Discussion] kliu888:
unable to unlock

So I did "adb reboot bootloader" and the tablet rebooted and says "=> FASTBOOT mode..." on the screen.

I then did "fastboot flashing unlock" on the computer. Nothing happened on the device and my computer says "< waiting for device >". Could anyone please let me know what I did wrong? Thank you very much.
[NOOK Tablet 7" Guides, News, & Discussion] saagarjha:
fastboot flashing unlock is the new command to replace fastboot oem unlock, right? I'm not sure if the Nook supports it yet. Either way, I just looked through by bash history and can confirm that I was able to unlock with fastboot oem unlock, so I'd suggest trying that.
[NOOK Tablet 7" Guides, News, & Discussion] Batshua:
[MENTION=7280276]ipdev[/MENTION], can you confirm whether or not this will work on v1 firmware models? I think that's what I'm … stuck with. TODAY, it decided to install the November 5, 2017 OTA update. I … my … tablet … is extra special. I don't want to try this without a reasonable expectation that it'll work.
[NOOK Tablet 7" Guides, News, & Discussion] ipdev:
Unlocking the bootloader seems to be the hurdle on these devices.

After unlocking is when you start to enter the danger zone.

Hence the warning in the OP.

BE CAREFUL!

There are always risks involved when you start messing around with a device.

If something goes wrong, you may end up with a non-working "bricked" device.

This is especially true when you start flashing partitions. (In this case boot.)

As long as you test boot images before flashing, you should be fairly safe.

It is a good idea to patch and test boot images before you use Manager to update.

Note:

You may have been updated to v2.0.5 if you got Nov. 2017 update.

I'll have to fire up my v1.0.2 and see if it finally got an OTA. :)
[NOOK Tablet 7" Guides, News, & Discussion] Batshua:
How does one test a boot image /before/ flashing it?
[NOOK Tablet 7" Guides, News, & Discussion] saagarjha:
Using fastboot boot rather than fastboot flash, I'd assume.
[NOOK Tablet 7" Guides, News, & Discussion] ipdev:
[MENTION=8331261]Batshua[/MENTION]

To keep it simple.

fastboot boot NameOfFile.img Boots an image file leaving the original still installed on the device.

fastboot flash NameOfPartition NameOfFile.xxx flashes it to the device partition. Replacing what is currently installed in that partition.

So for testing, you would use fastboot boot NOT fastboot flash
[NOOK Tablet 7" Guides, News, & Discussion] Batshua:
Cool, thanks! I will proceed with caution tonight or this weekend.
[NOOK Tablet 7" Guides, News, & Discussion] Batshua:
Okay… So I was doing okay until I tried these:

adb shell su -c "dd if=/dev/block/mmcblk0p7 of=/sdcard/bntv4-boot.img"

adb shell su -c "dd if=/dev/block/mmcblk0p8 of=/sdcard/bntv4-recovery.img"

I got "permission denied". :confused:
[NOOK Tablet 7" Guides, News, & Discussion] flippinpentagrams:
You need to root your device first
[NOOK Tablet 7" Guides, News, & Discussion] Batshua:
I'm aware that my device isn't rooted yet. I don't see where I failed in following the directions so far, though. THAT is my problem.
[NOOK Tablet 7" Guides, News, & Discussion] ipdev:
Either you did not boot into a rooted boot image or you did not grant root access on the device when Magisk prompted for adb shell.

Open Magisk Manager and make make sure "Shell" is toggled on under Superuser.

If Magisk is not installed, go back a few steps and try fastboot boot one of the pre-patched boot images from the OP again.

If Magisk Manager is not installed, go back one step and install it.
[NOOK Tablet 7" Guides, News, & Discussion] king200:
I followed instructions in post3https://xdaforums.com/showpost.php?p=74961243&postcount=3

Worked perfectly. I missed the prompt for permissions of Superuser. I started over by reset in recovery. Now my quest will how to flash some apps without TWRP.
[NOOK Tablet 7" Guides, News, & Discussion] ipdev:
What are you looking to install?

If it's an apk file, you can install it using FileManager, PackageManager or adb.

If it's a zip file, you should be able to install it with MagiskManager.

Safe or Very Risky, depending on what you are trying to flash.

Note:

These devices are easy to brick. I test as much as posable, on other devices that are a little more resilient and recoverable, then as safely as I can on these.
[NOOK Tablet 7" Guides, News, & Discussion] king200:
I would like Xposed and GravityBox. Gravity box gives most AOSP modifications that I like. I also will be experimenting with ExtSdcard partitioned into internal and extended storage.
[NOOK Tablet 7" Guides, News, & Discussion] ipdev:
Safest way.

Install the Magisk version of xposed(SDK23) from Magisk Manager, Downloads.

Make sure to use the XposedInstaller that is linked in the module description. (Open link in browser)

Install Gravity Box(MM) from XposedInstaller, Downloads.

I haven't tried internal to external mounting yet. One of these days ;)

Be careful with the experimenting, these are easy to brick, and currently no way to restore them.
[NOOK Tablet 7" Guides, News, & Discussion] king200:
I'm trying a 32gb card formatted 50/50, portable/adoptable. The method I used is explained https://xdaforums.com/android/software/auto-formatting-sdcard-to-internal-t3583875 Seems to be working.
[NOOK Tablet 7" Guides, News, & Discussion] kbs24:
Any way to re-lock bootloader?

Before rooting successfully, I had noticed that the tablet randomly rebooted, or, did not wake up when power button pushed. I should have taken that as a serious problem before unlocking and rooting etc etc. But, now for sure, I know that I should return the device to B&N (they give 14 days) because after a few hours of not using, it refuses to wake up unless I connect to my pc and use adb commands. So device is ON but won't Wake UP!! I have not been able to relock bootloader. I did factory reset, and then tried various fastboot commands ( fastboot oem lock; fastboot flash lock; fastboot oem relock) to no avail. I don't see how I can return this with orange state appearing on boot. can anyone help me with this. I'm sure the tablet is defective, problem not caused by the rooting etc, but I need to get it back to a condition to return it to B&N. Many thanks.
[NOOK Tablet 7" Guides, News, & Discussion] ipdev:
[MENTION=2552811]kbs24[/MENTION]

I have run into this before, not sure were the problem is and haven't had a need to check for it.

You factory reset the device, make sure to enable Developer Options again and that it is not toggled off. OEM unlocking should still be enabled

All I can offer is that I just relocked my v1.0.2 device testing the commands.

The first two times I pressed volume down on the warning screen. The third time I pressed volume up.

$ adb reboot bootloader

$ fastboot oem lock

...

OKAY [ 35.004s]

finished. total time: 35.004s

$ fastboot flashing lock

...

OKAY [338.005s]

finished. total time: 338.005s

$ fastboot oem lock

...

(bootloader) Start lock flow

This may sound dumb but, I have found running fastboot commands very slightly depending on what is shown on this device and how it enters fastboot.

=> FASTBOOT Mode...

or

Select Boot Mode:

[VOLUME_UP to select. VOLUME_DOWN is OK.]

[Recovery Mode]

[Fastboot Mode] <<==

[Normal Boot]

=> FASTBOOT Mode...

You could try the same steps and see if it works. If it does, you will have to long press the power button to turn off after locking the bootloader. Power on and let it wipe and restore stock os.

If it doesn't work, what version are you running and what warning are you getting?
[NOOK Tablet 7" Guides, News, & Discussion] kbs24:
Thanks for this. I will try these things. However, what I wound up doing last night was starting over from the beginning with the rooting instructions. I figured, let's give it another shot and see if the tablet continues to misbehave . So far, the only time I have seen problem was immediately after Play Store updated one of the apps----it rebooted on its own, not a good sign.....so I turned off automatic updates, and I have had no problems ever since. I left it on all night, and it immediately woke when button pressed. For the moment all is working, so I am going to keep an eye on it. I have until July 5 to return. Fingers crossed. FYI version is 2.0.5.
[NOOK Tablet 7" Guides, News, & Discussion] Protonix26:
Unlocked Bootloader Message

How do I get rid of the annoying unlocked bootloader message? Is there a way to flash an image on top of it?
[NOOK Tablet 7" Guides, News, & Discussion] ipdev:
[MENTION=9443238]Protonix26[/MENTION]

Quick answer, No. It's part of the bootloader.

Most newer/better devices allow you to bypass the orange boot wait by pressing the power button.

By the way, I am not sure how this device actually counts 10 seconds. (More like 5 to 30 seconds.)
[NOOK Tablet 7" Guides, News, & Discussion] BluSpectre:
Well, I did everything and I am now stuck on the same thing that everyone else here is: The buttons don't register, and I can't remove the battery to force it off. BTW my device has v1.0.4 so I have the older version as well. Like you said, the older ones are a risk. I hope I didn't brick the thing.

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

BTW there is a reset button on the very top next to the USB port. That saved my device from being "bricked". I suggest using it on your bricked devices and see if it helps you too!

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

At this point, I'm probably borderlinging spam at this point;

Use the force reset button on the top next to the aux jack. It's hard to spot.
[NOOK Tablet 7" Guides, News, & Discussion] saagarjha:
This didn't seem to do anything in my case :(
[NOOK Tablet 7" Guides, News, & Discussion] BluSpectre:
That happens when your device got disconnected. If you are using TCPIP instead of USB that will happen. Simply restart the device and the process, but use USB instead.
[NOOK Tablet 7" Guides, News, & Discussion] toasterboy1:
Was able to recover boot looping nook using link posted by Articul8Madness. https://www.xsfirmware.com/nook-bntv450-mt8163-android-6-0-firmware-flash-files/ Cannot seem to get it to update from 1.04 as every time I touch system update it says settings stopped. Good news is that the volume button works in fastboot so I was able to unlock a previously unlockable device.
[NOOK Tablet 7" Guides, News, & Discussion] kbs24:
failed at the test of (see below)

"Code:

adb shell

shell@st16c7bnn:/ $su

shell@st16c7bnn:/ #exit

shell@st16c7bnn:/ $exit

If it worked, and you are ready to say goodbye to stock Non-root."

This failed. Any help would be very appreciated. My version of magisk is 17.1, Manager is 5.8.2. It does not show any "install" options or buttons. I feel that I must have missed a step somewhere......
[NOOK Tablet 7" Guides, News, & Discussion] saagarjha:
Don't copy the "shell@st16c7bnn:/ $" part, that's the shell prompt. From the screenshot, your su seems to work when you invoked it before.
[NOOK Tablet 7" Guides, News, & Discussion] kbs24:
Okay I see now. But, I was so confused I started over. Got all the way through to opening MagiskManager, but there is no "install" button and no apparent way to ask to "patch boot image file". Fyi, my version of magisk is 16.4, and my MM version is 5.8.2. Is there something in "settings" that I should be looking at? Thanks for the help!