Published the first Custom Firmware for the Anbernic RG405M portable console
Published a new Custom Firmware, but not for PlayStation 3 consoles , no less for Wii U consoles, but for the recent Anbernic RG405M portable console .
If you have had the opportunity to buy this Chinese console with a compact and rather refined design, you will be able to experience the installation of GammaOS , a deflated Android operating system with multiple performance boosts.
GammaOS provides a powerful and optimized experience for all those users looking to get the most out of the Anbernic RG405M portable console .
Characteristics
- Based on a clean and unlocked LineageOS 19.1 build, Android 12 for a smoother experience. Non-essential apps removed.
- Daijisho launcher as front-end, pre-configured with RetroArch for some systems. (Settings optimized for GB, GBC, GBA, NES, SNES, Genesis, PSX).
- Play Store and Aurora store included.
- Adguard ad blocker included by default (can be disabled via private DNS settings).
- Magisk/root included (can be enabled after device reboot).
- Fixed 60Hz refresh rate for display (stock is 61.2Hz and can cause frame pacing issues with emulation).
- Fixed oversharing display.
- Analog stick calibration for tighter controls.
- CPU and GPU now use performance throttles for an additional performance boost.
- New GPU drivers taken from Retroid Pocket 3+ for yet another performance boost.
What is missing
- Built-in button for on-screen mapping software, workarounds can be found in the app store.
- L2/R2 fix for some Android games (also a problem in Anbernic stock firmware), due to missing GAS and BRAKE emulated joypad input. Unable to fix without Anbernic kernel sources.
Instructions
Only for unlocked bootloader, flash via fastbootd
Prerequisites
- Extract the folder
GammaOS
and its files before proceeding. - ADB and Fastboot tools + driver, make sure you install the universal ADB driver, then restart your computer: https://github.com/K3V1991/ADB-and-FastbootPlusPlus
- Unisoc drivers (included in the archive
.zip
inside the folderUnisocDrivers
): Run the programDPInst64.exe
in the relevant OS folder (Win10 drivers will also work on Win11. Also available here: https://github.com/TheGammaSqueeze/GammaOS/releases/ download/GammaOS_v1_RG405M/UnisocDrivers.zip ). - Enable USB debugging on the RG405M: https://developer.android.com/studio/debug/dev-options
Unlocking the bootloader
- Connect the Anbernic RG405M handheld console to the PC via USB cable while booting into Android, open a command prompt window and issue the following command:
adb reboot bootloader
- After rebooting you will see the text “fastboot mode” on the screen next to the Anbernic logo.
- Open this site in Google Chrome: https://thegammasqueeze.github.io/subut-rehost/
- Click the Connect button.
- Click on “fastboot gadget” and connect.
- Click the Unlock button.
- A warning will appear on the device “Warning: Unlock device may erase user data. Press volume down button to confirm that. Press volume up button to cancel.”
- Press the Home/Back button on the RG405M to proceed.
- Wait for it to complete. The console will display the message “Unlock bootloader success!”.
- Make sure all Google Chrome windows are now closed before proceeding.
- In the command prompt window, enter the following command:
fastboot reboot fastboot
- You will now boot into fastbootd mode, make sure you see the fastbootd text on the console before proceeding.
Custom firmware flashing
- Close all Command Prompt windows before proceeding.
- Navigate to the
GammaOS
extracted folder. - Open the script
flashpartitions.bat
, it will start flashing the firmware. This step can take up to 10 minutes, so be patient. - When the flashing script is completed, the command prompt window will close by itself, now you can restart the RG405M console by pressing the power button once.
- The device will reboot and stay on the Anbernic logo for about 2 minutes before booting the new firmware for the first time. Subsequent reboots will be much faster. Don’t be alarmed by debug messages warning about unlocking and skipping verification, this is normal after unlocking the bootloader.
- Congratulations, you are now on GammaOS!
Help! My device no longer starts! Or I want to go back to Stock OS!
Some devices may mount a different eMMC partition configuration or a different firmware configuration which would lead to a system failure to boot.
In this case, you will need to use the Black-Seraph RG405M unbricking tool to revert to the original firmware but with the desired partition configuration. With that done, you can safely flash GammaOS or stay on StockOS .
Unbricker files can be downloaded from Black-Seraphs on Patreon: https://www.patreon.com/posts/anbernic-rg405m-81427437
Custom firmware flashing
- Enable USB debugging on the RG405M: https://developer.android.com/studio/debug/dev-options
- Close all command prompt windows.
- Connect the Anbernic RG405M handheld console to the PC via USB cable while booting into Android, open a command prompt window and issue the following command:
adb reboot fastboot
- Upon reboot the system will enter fastbootd mode, make sure you see the fastbootd text on the RG405M device before proceeding.
- Enter the following command (ignore any errors):
fastboot format metadata
- Enter the following command (ignore any errors):
fastboot -w
- Close all command prompt windows.
- Navigate to the
GammaOS
extracted folder. - Open the script
flashpartitions.bat
, it will start flashing the firmware. This step can take up to 10 minutes, so be patient. - When the flashing script is completed, the command prompt window will close by itself, now you can restart the RG405M console by pressing the power button once.
- The device will reboot and stay on the Anbernic logo for about 2 minutes before booting the new firmware for the first time. Subsequent restarts will be much faster. Don’t be alarmed by debug messages warning about unlocking and skipping verification, this is normal after unlocking the bootloader
- Congratulations, you are now on GammaOS!
Download: GammaOS v1
Download: UnisocDrivers
Download: Sourcecode GammaOS v1
Source: twitter.com