The Oilsky M308 is a portable digital audio player (DAP) running Android 9.0, focused on high fidelity audio but fully capable of being optimized into a dedicated, lightweight, streamlined player.
| Specification | Details |
|---|---|
| Product Name | HiFi MP3 Player Oilsky M308 |
| System | Android 9.0 |
| Processor | 8 cores @ 1.5GHz |
| Memory | 2GB RAM + 16GB storage |
| Screen | 2.8 inches |
| Resolution | 480 × 640 |
| Video Formats | AVI, MKV, RMVB, MP4, MPG, MOV |
| Image Formats | JPEG, BMP, GIF, PNG |
| Audio Formats | MP3, WAV, APE, FLAC, AAC, ALAC, DSF, DFF, ISO, DTS |
| Audio Support | 44.1, 48, 88.2, 96, 176.4, 192 kHz / 16 or 24 bits |
| Bluetooth | V4.1 (LDAC, SBC, AAC) |
| DSD | Up to DSD512 |
| DAC/AMP | ESS9018Q2M + MAX97720 |
| Output Power | 0.95V@32Ω (28mW@32Ω), 1.9V@600Ω (6mW@600Ω) |
| Headphone Jack | Standard 3.5mm (max 125mW/32Ω) |
Warning: These operations may brick your device. I take no responsibility for any damage.
-
boot_imgs/boot.img — Example of original boot image backup
-
boot_imgs/magisk_patched-29000_K4B4T.img — Ready-to-flash Magisk-patched boot image
-
data/adb/services.d/ — Optimization/automation shell scripts
-
debloat.sh — Aggressive bloatware removal script
-
dont-disable.txt — List of packages you must not disable (to avoid bootloop)
-
img/oilsky_mkt.jpg — Oilsky product photo
-
magisk_modules/Hi-Res-Audio-Enabler-MagiskModule.zip — Magisk Hi-Res Audio Module
- Prerequisites
- Backing Up boot.img with mtkclient
- Patching boot.img with Magisk
- Using the Ready Magisk Boot Image (Optional)
- Flashing the Patched boot.img with fastboot
- System Optimization (RAM/CPU)
- Magisk Modules & Hi-Res Audio
- System Debloat & Battery Saving
- Restoring the Original boot.img
- References
- Python installed
- mtkclient (link)
- ADB and Fastboot installed
- Magisk APK (official link)
- Compatible Oilsky M308 firmware
- Unlocked bootloader (
fastboot oem unlock) - USB debugging enabled
Power off the device, unplug USB, and prepare for BROM mode.
On your PC, run:
python mtkclient.py r boot boot.img
# mtkclient will wait for device connection.Connect the device without pressing any buttons. mtkclient will back up the boot partition as boot.img. Keep this file safe!
- Transfer the
boot.imgto your device (USB,adb push, or SD card). - Install and open the Magisk app.
- Tap
Install> Uncheck recovery mode >Next>Method>Select and Patch a File> choose yourboot.img. - Magisk will generate
magisk_patched-XXXXX.img. - Copy this file back to your PC.
If you want to use a pre-patched boot image, one is available at:
WARNING: Always back up your original boot image before flashing any new image! Using an image from another firmware or device may cause irreparable brick.
On your PC:
adb reboot bootloader
fastboot flash boot magisk_patched-XXXXX.img
fastboot rebootFor an even lighter system, try:
- Launcher: Pie Launcher (super lightweight)
- Music Player: Poweramp (lets you force Hi-Res output and view audio processing details)
Additional scripts can be found in data/adb/services.d/ (see: 99-powersave.sh, 99-reduce-priority.sh).
- BuiltIn-BusyBox (Magisk)
- Hi-Res-Audio-Enabler (customized, available at magisk_modules/Hi-Res-Audio-Enabler-MagiskModule.zip): Based on reiryuki/Hi-Res-Audio-Enabler-Magisk-Module, forces 32-bit / 192 kHz headphone output (even though the device specs list only 16-bit support).
Special thanks to reiryuki for the original scripts.
Note: The debloat.sh script is extremely aggressive and is designed to turn the device into a simple, dedicated player! Install your launcher and other apps first, or adjust the scripts as needed.
- After rooting, run
debloat.shand reboot. - Never disable packages listed in
dont-disable.txt— doing so can cause bootloop.
As root, copy the scripts from data/adb/services.d to the same location on your device. These scripts, run on every boot, will disable Google services, force airplane mode, reduce process priority, and disable various background services. Feel free to edit them to your needs.
To restore your original boot:
fastboot flash boot boot.imgAlways keep a backup of your original boot.img to avoid bricks.