Skip to content

Armbian-unofficial_26.11.0-trunk_Anbernic-rg-rotate_sid_edge_7.1.13

Latest

Choose a tag to compare

@crackerjacques crackerjacques released this 05 Oct 13:34

MangoWM on Anbernic RG Rotate

Do this entirely at your own risk!

I've tried it a lot of times for debugging, and while I haven't bricked it, that possibility can't be ruled out.

Requirements:

  • RG Rotate
  • USB Cable
  • Linux Computer
  • MicroSD Cards

I haven't tried these processes on Windows or macOS, but I imagine someone has probably created a utility for them.

Prepare


# Enter this dir with Your favorite Terminal Emulator
# Then

wget https://github.com/crackerjacques/build/releases/download/testing/Armbian-unofficial_26.11.0-trunk_Anbernic-rg-rotate_sid_edge_7.2.9.tar.xz # OS Image

tar Armbian-unofficial_26.11.0-trunk_Anbernic-rg-rotate_sid_edge_7.2.9.tar.xz
cd Armbian-unofficial_26.11.0-trunk_Anbernic-rg-rotate_sid_edge_7.2.9

# bootrom tools
git clone https://github.com/beebono/rg-rotate-linux.git
git clone https://github.com/TheGammaSqueeze/UnisocBypass.git

Copy tools in working dir.

cp -r rg-rotate-linux/tools/spd_dump/ .

cp UnisocBypass/fdl/*.bin spd_dump/

mv Armbian-unofficial_26.11.0-trunk_Anbernic-rg-rotate_sid_edge_7.2.9.spl.img spl-open.img # rename short name

cp spl-open.img spd_dump/

Burn Custom SPL BootRom

First, remove the microSD card from the device and power off.
Then, plug in the USB cable while holding down the Home button in the center of the Rotate.

If the device is recognized, the lsusb command will display:

Bus 001 Device 034: ID 1782:4d00 Spreadtrum Communications Inc.

This device will appear.

Then, unplug the USB cable, and

cd spd_dump

sudo ./spd_dump --wait 300 keep_charge 1 \
  fdl fdl1-dl.bin 0x5500 \
  fdl fdl2-dl.bin 0x9efffe00 \
  exec \
  w splloader     spl-open.img \
  poweroff

# and plug in the usb cable to Rotate 
# If you install udev rules and reload, you won't need sudo.

And press and hold the Home button while plugging in the USB cable to begin the process.

When it succeeded

Start to write partition splloader, type CTRL + C to cancel...
[========================================] 100.0% Speed: 18.60Mb/s
Write Part Done: splloader, target: 0x400000, written: 0x400000

Message like this appears.

flash MicroSD Cards

cd ..

sudo dd if=Armbian-unofficial_26.11.0-trunk_Anbernic-rg-rotate_sid_edge_7.2.9.img of=/dev/sd[your_sd] bs=4096 status=progress conv=fsync

# or use balena-etcher

Boot

Slot in MicroSD Card and press power button to long.
when apper Booting... it was succeed.

  • If you want to be connected to Wi-Fi from the start, create a file named not_logged_in_yet and place it in /root in MicroSD Card. https://docs.armbian.com/user-guide/autoconfig/
  • ssh passwd is root 1234 in default
  • It supports USB-to-serial conversion. You can log in using picocom or minicom.
  • You can also plug in a keyboard using a USB-C adapter.

Setup MangoWM with my riced.

git clone https://github.com/crackerjacques/anbernic-mangowm.git

cd anbernic-mangowm/

./setup.sh

# and choice options.

Update

cd ~/.config/mango
git pull
# when update appeared

sudo sh rotate/install.sh