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.