Skip to content

Instantly share code, notes, and snippets.

@llipe
Last active June 10, 2024 17:29
Show Gist options
  • Save llipe/f0d0a18d13657dbfb7b35f0106c35841 to your computer and use it in GitHub Desktop.
Save llipe/f0d0a18d13657dbfb7b35f0106c35841 to your computer and use it in GitHub Desktop.
Retro gaming links and information

Retro Game Links & Information

ROM Sets

ROM set with ~2000 games.

Cloning SD Cards w/ MacOS

Reference: https://www.cyberciti.biz/faq/how-to-create-disk-image-on-mac-os-x-with-dd-command/

# 1. Get the list of connected devices to identify the source SD card (ej. disk2)
diskutil list

# 2. Unmount the SD card (replace disk2 with the info you get from diskutils. You will get a "Unmount of all volumes on disk2 was successful"
diskutil unmountDisk /dev/<disk>
diskutil unmountDisk /dev/disk2

# 3. Create a dd image from the SD card
sudo dd if=/dev/<disk2> of=backup.my.sdcard.img.dd bs=512

# 3. Alternatively, you can create a gziped image using this command...
sudo dd if=/dev/disk2 bs=64K | gzip -c > backup.disk.img.dd.gz

It will take some time on Step 3, and you won’t see any updates on the screen. You can press the ctrl+t (hold control key and press t) to see dd command progress on macOS

# Output example on Ctrl+T
load: 1.87  cmd: dd 42576 uninterruptible 126.32u 679.81s
47270793+0 records in
47270793+0 records out
24202646016 bytes transferred in 9989.241152 secs (2422871 bytes/sec)

To restore the dd image, change the input (IF) and output (OF) files.

diskutil list
diskutil unmountDisk /dev/disk2
sudo dd if=backup.my.sdcard.img.dd of=/dev/disk2
### Restores compressed image and write /dev/disk2 ###
sudo sh -c 'gunzip -c backup.disk.img.dd.gz | dd of=/dev/disk2'

Install ArkOS

This instructions are for a Powkiddy RGB20s

  1. Download the compressed .xz image from from one of the links at bottom of this page. Use the RG351MP file. RGB20s is basically a clone of RG351MP.
  2. Extract the image file from the downloaded .xz file with The Unarchiver
  3. Insert the SD card into your SD card reader.
  4. Identify your sd-card using diskutil list. The device id should be something like /dev/disk2.
  5. Unmount the disk
diskutils list
diskutils unmountDisk /dev/disk2
# Unmount the sd-card using diskutil unmountDisk /dev/disk5.
  1. Flash using something like sudo dd if=ArkOS_.img of=/dev/rdisk5 bs=4M status=progress.
  2. When the restore task has been completed, safely eject the SD card.
  3. Insert into your rk3326 or rk3566 device and power on the device.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment