RG505M Initial Setup

RG505 TECHNICAL SPECIFICATION

ColorGray, Turquoise, Yellow
Screen4.95-inch OLED touch screen, resolution 960*544,PSP pixel to pixel display,2x Rendering resolution support
CPUUnisoc Tiger T618 64-bit octa-core 2*A75@2.0GHz+6*A55@2.0GHz
GPUMali G52@850Mhz
RAM4GB LPDDR4X
Memory128GB high-speed eMMC 5.1 HS400
TF CardStandard Version(memory configuration:4G DDR4+128G eMMC)-(no game sd card) ;
Standard Version(memory configuration:4G DDR4+128G eMMC)+128G (compatible 3154 games) ; 
Standard Version(memory configuration:4G DDR4+128G eMMC)+256G (compatible 4242 games)
WIFI/Bluetooth2.4/5G WIFI 802.11a/b/g/n/ac,Bluetooth 5.0
SystemAndroid 12(upgrade version)
GamesSupport Android games, support 20+ kinds of simulator.
 Support users to download games in relevant formats
Softwarebuilt-in game front-end,Supports multimedia network play
LanguageMultilanguage
SpeakerHigh quality double horn stereo speaker
BatteryLi-polymer 5000 mAh, 2.5 hours full charged, lasting 8 hours
TF cardSupport tf card max to 512GB
Other functionBuilt-in Hall joystick, 6 axis Gyroscope Sensor, Support OTA  update,support built-in WIFI online fighting,streaming,cast,vibrating motor, support 3.5mm stereo earphones,
energy saving setting, display brightness and other functional properties settings
AccessoriesUSB charging cable, giftbox , user manual, screen protector
Box specificationlength 23.4cm*width 11cm*height 3.1cm*weight0.469 kg
Console specificationlength 18.9cm*width 8.7cm*height 1.8cm*weight0.286 kg

Source: https://anbernic.com/products/rg505

Improving RG505M’s Software Using GammaOS

Information

GammaOS is based on LineageOS 19.1 (Android 12). It provides a debloated and performance optimized experience for users who are looking to get the best out of their Anbernic RG405M and RG505.

Features:

  • Based on debloated and clean LineageOS 19.1 build, Android 12 for a smoother experience. GammaOS includes Google Services and Play Store. GammaOS Lite excludes Google apps and services for extra performance headroom.
  • Daijisho launcher as front-end, pre-configured with RetroArch for some systems. (Optimized settings for GB,GBC,GBA,NES,SNES,Genesis,PSX) (BIOS files need to be supplied by you).
  • Aurora store included.
  • Adguard ad blocking included as default (can be disabled via Private DNS settings).
  • Magisk/root included. Ignore any warning about additional setup required, this is a false flag. Magisk is working fine.
  • 60hz refresh rate fix for display (stock is 61.2hz and can cause frame pacing issues with emulation).
  • Oversharpening display fixed.
  • Analog stick calibration for more tighter controls.
  • CPU, GPU, Memory now using performance governors for extra performance boost.
  • Experimental GPU drivers taken from Retroid Pocket 3+.
  • L2/R2 fixed for apps and games with issues with those buttons. Change between XBOX and NS button layout by holding L3+L1+R1. Settings saved across reboots.
  • Toggle between performance modes by holding down R3+L1+R1. Options are: Max Performance (everything set to max frequency, uses the most battery life), Normal Performance (scales frequency according to load), Power Save (lowers all frequencies to minimum for max battery life, useful for GBA and below). Recommend enabling threaded video in RetroArch for Power Save mode, or change emulators to less demanding ones. Timelapse of Tetris playing for 24 hours on power saving mode: https://www.youtube.com/watch?v=wx2tqjy9iKY
  • SafetyNet fix, present as Pixel phone: for fixing TMNT etc (Activated by toggling Magisk > Settings > Enable Zygote and reboot your device). Ignore any warning about additional setup required, this is a false flag. Magisk is working fine.

Other Information:

  • RetroArch hotkey: (RG405M) Home/Back button / (RG505) Select Button
  • RetroArch menu toggle: (L3 + R3). Choosing the Close Content option closes the game and goes back to Daijisho
  • RetroArch shortcuts (Hold hotkey down) + L1 = Slow Motion | L2 = Load State | R2 = Save State | R1 = Fast Forward | X = Show FPS | Y = Screenshot

What’s missing:

  • Built-in button to on-screen mapping software, alternative solutions can be found in app store.

Source: https://github.com/TheGammaSqueeze/GammaOS

Video guide here for a brand new install from stock firmware:

Downgrading to Stock Firmware if Required

RG505 Unbricker: https://drive.google.com/file/d/1WNildo8TZDW6L4tzY9SDEjL3NhPGg_gG/view?usp=drive_link

Video guide here to restore to stock firmware:

Installing Ubooquity on Ubuntu

Introduction

Ubooquity is a free, closed source home server for eBooks and Comics.

Ubooquity supports many types of files, with a preference for ePUB, CBZ, CBR and PDF files.
Metadata from library management software Calibre and ComicRack are also supported.

Ubooquity is a cross platform, light, Java 8 (Oracle) based. It allows for creation of user accounts and set access rights for each shared folder.

http://vaemendis.net/ubooquity/

Server accessable via browser:

http://server:2202/

http://server:2203/admin/

Installation

Introduction

Ubooquity does not modify any file outside of its own directory, the only other addition is Oracle Java 8.

Java 8 Installation

I’ve opted to install Java 8 within a user space rather than server wide to keep Java compatibility for other applications.

Java 8 was installed within Ubooquity’s directory.

Move the .tar.gz archive binary to the current directory.
Unpack the tarball and install Java
tar zxvf jre-8u73-linux-x64.tar.gz

Ubooquity Installation

  • First, download the Ubooquity package from here.
  • Extract .jar file to installation directory.
  • Installation directory should only have Java 8 and the Ubooquity.jar file.
  • Run Ubooquity.jar via terminal

Ubooquity First Run

Run command /path/to/jre/bin/java -jar Ubooquity.jar -mode=silent in terminal.

Ubooquity is now running and should display its desktop interface:

Check the Allow remote administration check box. Then click the Apply and restart server button on the bottom right.

Configuration

The only remaining thing to do is to choose which folders you want to share.

  • Click on the Admin screen button. The administration page will open in your browser, asking you to choose an adminstrator password.
  • Once you’ve chosen one (and entered it gain to log into the administration zone), click on either the Comics or Books section, depending on what you want to share.
  • Just click on the Add folder button, share a folder and you’re almost done.
  • Don’t forget to click on the Save and restart button (upper right corner).

Miscellaneous

The User Manual contains much more information about what you can do with Ubooquity.

In case you prefer to learn as you go, here are a few useful tips to get you started:

  • As long as Ubooquity is not running, you can move its directory anywhere you want on your device. Ubooquity has all it needs in its own folder.
  • By default, the admin page cannot be reached from another machine. You must activate the “Allow remote administration” option (either in the desktop interface or using command line options) to do that.
  • To access Ubooquity from another device (from your local network or from the Internet), don’t forget to properly configure your firewall and/or router.
  • If you ever need to reset your administrator password, just delete the webadmin.cred file in the Ubooquity folder.

Setup Auto Start On Boot

  1. Open Startup Applications via the Activities overview. Alternatively you can press Alt+F2 and run the gnome-session-properties command.
  2. Click Add and enter the command to be executed at login.