1
0
Fork 0
mayvaneday/garden/android_root/nook1.gmi

70 lines
1.8 KiB
Plaintext
Executable File

# Rooting the Barnes & Noble Nook 1st Generation
## Stuff you need
=> ../../dl/nook/ Individual files
=> https://upload.letsdecentralize.org/misc/nook.7z All the files in one .7z pack
=> ipfs://QmPV9YTCNV3StpfbbXGpcJQWDbxstrato1keqprvBG7Gw9 All the files in one .7z pack (IPFS)
## Instructions
1. Get a server running on port 80 on a machine on the same Wi-Fi network as the Nook.
All the server needs to host is "exploit.html" from the pack linked above. For best results, rename the HTML file to "index.html".
2. Crash your Nook's browser to enable ADB.
Using the Nook's browser, navigate to the web server via its local IPv4 address. The browser should refresh a few times and then crash to the home menu.
3. Connect to the Nook over ADB.
```
adb connect YOUR_NOOKS_LOCAL_IP_HERE
```
If ADB refuses to connect, run step 2 repeatedly until ADB manages to connect. It could take between one and one hundred tries.
4. Get and edit "/init.rc".
```
adb pull /init.rc
```
Open "init.rc" in your favorite text editor on your local machine. Find the line that says:
```
service adbd /sbin/adbd
```
Below that should say "disabled". Change that to "enabled".
5. Get root access.
While still connected to the Nook over ADB, run:
```
adb push ratc.bin /sqlite_stmt_journals
adb shell
cd /sqlite_stmt_journals
/system/bin/chmod 777 ./ratc.bin
./ratc.bin
```
Several lines of output will appear. Do not press anything. A few seconds later, adb will disconnect you.
```
adb kill-server
```
6. Push the patched "init.rc" to the Nook.
Repeat step 3 to reconnect to the Nook over ADB. Then run:
```
adb push init.rc /
```
After a reboot, your Nook should now be rooted.
The default launcher will not show third-party apps. "ru.mynook.launcher.apk" included in the pack is an alternative launcher that will show all apps installed, including third-party ones.