Releases: djparentx/R36H-Pro-Max-dArkOS-Compatibility-Fixes
R36H Pro Max Fullscreen Files Viewer
R36H Pro Max dArkOS Installation DTBs
These are the dtb files you need to complete your initial dArkOS installation. Copy them to /boot after flashing your sd card, then run the R36H Pro Max dArkOS Setup Tool after booting.
R36H Pro Max dArkOS Setup Tool v1.4
Features
This offline setup tool for the R36H Pro Max with dArkOS will complete your initial dArkOS install. It will:
- patch the boot sector of your sd card and replace the boot.ini and both .dtbs to fix the boot logo
- copy new boot logo, low battery and loading screens
- copy new background music, R36H-Synthwave-Retro-Compilation.mp3
- restore the Fn button by installing a compatible ogage
- install an overclocked kernel (1368 Mhz default)
- overclock the GPU to 600 Mhz
- install Jason3x's Realtek driver pack for all modules
- install a full screen version of Dingux Files Viewer
- create 'System Folder Installer' in your tools folder
- install KODI if a network is connected
- create 'Online KODI Installer' in your tools folder if no network
- install RetroOz theme if connected to network
You can run this script any time. It can be run again if needed, all functions are idempotent.
The boot logo fix for dArkOS on the R36H Pro Max was brought to my attention by u/SirSavings5678 [Reddit]. It works by patching the boot sector of the sd card with blocks from an image from Arkos4Clone and then replacing the existing dtbs and boot.ini, also from Arkos4Clone. Afterwards any properly formatted 1024x768 BMP images will display properly.
This patch also restores use of the Fn button by copying a compatible ogage file, special thanks to u/Wivi2013 for the modded dtb. (https://github.com/Wivi2013/R4x-Type-Console-CPU-Freq-Fix-and-R45H-FN-button-Fix/releases/tag/Fixes)
Overclocking kernel and voltage tables courtesy of u/teacupx. Edit boot.ini to increase the maximum overclock values.
(https://github.com/teacupx/overclock-r36s.git)
1368 Mhz (default)
1416 Mhz (didn't work for me)
1440 Mhz
1464 Mhz (probably not gonna happen)
1488 Mhz
1512 Mhz (our R36S consoles have been lying to us!)
If you can't boot, open /boot/boot.ini and change max_cpufreq=1368 to max_cpufreq=1296
'System Folder Installer' is my Option folder cleanup tool and script installer. Run it to install my suite of tools. (https://github.com/djparentx/Script-Installers/releases/tag/Green_Version)
'Online KODI Installer' downloads the KODI package from my GitHub and installs it to your device. Internet required.
Use R36S Tuner to tune the kernel.
https://github.com/zenmode-adri/r36-tuner.git
The following boot logo, loading and low battery screen are installed via the script.
md5 checksum added to avoid corrupted boot files. If you get an md5 error do not reboot without running the script again.
R36H Pro Max SMB Helpers
A couple of scripts to assist with managing your network shares.
While setting up the device it's useful to have access to the root directory from a Windows PC. Simply run 'SMB SuperUser for dArkOS' to add your root drive to SMB sharing. It also changes your host name to 'R36H_PM' for easy remembering. You will be able to access your entire device contents from an Explorer window.
Although it's useful, root access is a security concern. If you use your device on public networks run 'SMB Default Settings for dArkOS' to restore default settings. The host name will remain R36H_PM (can be changed easily in the script).
R36H Pro Max Themes
A few of my favorite themes that aren't easy to find elsewhere.
RetroOz theme is ripped from dArkOSRE.
Simple theme is ripped from the stock SD card.
RTL8723BU Offline Driver Installer
Installs the missing bluetooth driver for R36H Pro Max users. Copy the script to your Tools folder and execute. The files is created and the device will reboot when finished.
Although intended for the R36H PM on dArkOS this is just a regular driver and should work fine for any other 4.4.189 kernel devices.
R36H Pro Max dArkOS KODI Installer
This will install KODI (pulled from dArkOSRE) on any dArkOS device. Buttons have been pre-mapped for the R36H Pro Max.
To install copy both files to your Tools folder and execute the script. It may take a few minutes to unpack.
If the dArkOS_KODI.zip folder is missing it will be downloaded by the script if you are online.
The script will restart EmulationStation when finished.
Files Created
/opt/kodi
/home/ark/.kodi
/usr/local/bin/kodi/Kodi.sh
/usr/local/bin/max_toggle.sh
/usr/local/bin/ogage (must match source device binary)
Dependencies Installed
libmicrohttpd12t64
libsmbclient0
libvulkan1
libtinyxml2-11
libinput10
libdisplay-info2
libmariadb3 libcec7
libfstrcmp0
libspdlog1.15
libshairplay0
libtinyxml2.6.2v5
libxslt1.1
This script can also be run on a dArkOSRE device to repair a broken KODI install. (It still has the R36S buttonmaps too)

