A big thank you to the developer of ra1nbox. Without his brilliant idea, this project would never have been born. The spirit of sharing and innovation continues to inspire and advance the community. Salute to the genius behind ra1nbox, you have lit the flame.
Introduction
Yo, welcome to this tutorial to transform your NanoPi into a Palera1n Box.
Recommended Software
- Putty for SSH connection (Windows)
- Balena Etcher for burning the SD card
- winSCP for file transfers (Windows)
Download Armbian
- Armbian for NanoPi Neo 1
Armbian JAMMY CLI for NanoPi Neo 1
To download the latest version of Armbian JAMMY
scroll down, in "Other supported variants"
Burn the Armbian Image
Use Balena Etcher to burn the "Armbian JAMMY CLI" image onto a micro SD card.
SSH Connection
(*) to find the IP address of the NanoPi, I use the app (Network Analyzer) on my iPhone
(*) to connect via SSH to your NanoPi.
(option 1) Use the terminal (cmd) under Windows, and enter the command:
ssh root@192.168.1.91 (replace with the IP address of your NanoPi)
the password (root) is: 1234
(option 2) Use Putty to connect via SSH to your NanoPi.
Update
Now you are connected as root via SSH to your NanoPi
start by running:
sudo apt-get update
sudo apt-get upgrade
Install Dependencies
sudo apt-get install i2c-tools git vim armbian-config python3-dev python3-pil python3-smbus python3-pip python3-serial
Enable I2C0 and analog-codec
sudo armbian-config
System->Hardware->Enable (analog-codec) and (i2c0)
sudo reboot
Activate NanoHatOLED
- NanoHatOLED
Reconnect via SSH after the NanoPi reboot
git clone https://github.com/friendlyarm/NanoHatOLED.git
cd NanoHatOLED
sudo -H ./install.sh
Install Required Libraries
Reconnect via SSH after NanoPi reboots
sudo pip3 install --upgrade setuptools
sudo pip3 install sh
sudo pip3 install wheel
sudo pip3 install psutil
Install palera1n Dependencies
sudo apt install libc6 libncurses5 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libatk1.0-0 libgdk-pixbuf2.0-0 libglib2.0-0 libfontconfig1 libfreetype6 libgtk-3-0 libusb-1.0-0 libplist3 usbmuxd ideviceinstaller python3-imobiledevice libimobiledevice-utils python3-plist ifuse libusbmuxd-tools
Install mplayer, irecovery, usbmuxd, etc.
Execute the following command:
sudo apt install mplayer usbmuxd libjpeg-dev usbmuxd
First install more required dependencies and build tools:
sudo apt-get install pkg-config libplist-dev libreadline-dev libusb-1.0-0-dev build-essential checkinstall git autoconf automake libtool-bin
Install libplist
cd
git clone https://github.com/libimobiledevice/libplist.git
cd libplist
./autogen.sh
./configure
make
sudo make install
Install libimobiledevice-glue
cd
git clone https://github.com/libimobiledevice/libimobiledevice-glue
cd libimobiledevice-glue
./autogen.sh
./configure
make
sudo make install
Install libirecovery
cd
git clone https://github.com/libimobiledevice/libirecovery
cd libirecovery
./autogen.sh
./configure
make
sudo make install
Now install irecovery
sudo apt install irecovery
Install luma.oled
Enter the following command:
pip3 install luma.oled
Uninstall Pillow 10
Enter the following command:
pip3 uninstall pillow
Télécharge les Fichiers
Unzip the files into a new folder
Place it on the desktop of the PC
Transfer Files with WinSCP
Download WinSCP and use it to transfer the modified Python files.
(*) Run WinSCP and use the following settings:
(*) transfer all files
to the following NanoPi folder:
/root/NanoHatOLED/Bakebit/Software/Python/
Permissions and Reboot
Enter the following command:
chmod +x /root/NanoHatOLED/BakeBit/Software/Python/palera1n
chmod +x /root/NanoHatOLED/BakeBit/Software/Python/checkra1n
chmod +x /usr/bin/irecovery
sudo reboot
Merci s00r1
i will try to answer your questions on youtube or reddit