[Galaxy S5 Mini Android Development] prototype74:
This ROM is for the Snapdragon variant of the Galaxy S5 Mini (SM-G800H).

Flashing it on the Exynos variants (SM-G800F/M/Y) will result in a soft-brick!​

Disclaimer​

/*
* Your warranty is now void.
* I'm not responsible for bricked devices, dead SD cards, thermonuclear
* war, or you getting fired because the alarm app were on strike.
* Please READ the thread and F.A.Q, if you have any concerns
* about features included in this ROM before you flashing it!
* YOU, are choosing to make these modifications,
* so don't blame anyone else for messing up your device
* after flashing this ROM.
*/

ROM information and features​

SammyROM is a true Samsung Experience 8.5 (Android 7.1.1) ROM ported from the Galaxy J5 2016 (J510FNXXS3BTI6, DBT). It has been modified to run on the Galaxy S5 Mini Duos (SM-G800H). This ROM includes all the software based features from the Galaxy J5 2016 with the following additional features:

Blue Light Filter

Ethernet

Network Speed Meter

QuickConnect

Separate app sound

Smart Capture

Smart Stay

Smart View

Touch sensitivity

The main goal of this project was to keep things as stock as possible with balanced performance and battery life. Since this ROM is a ported ROM, always expect missing/non-working/broken (especially hardware-related) features. Those features cannot and will not be fixed as those are meant to run on a different device with a different hardware structure.

SEKernel v1.0 features​

Based on G800HXXU1CRJ1 source

Upstreamed to Linux 3.4.113

Includes Android 7.x goodies and Samsung specific patches

Built with Google Linux GCC 4.9.x (32-bit)

Added blue light filter support to MDNIE driver

Flashlight intensity control. You can use the ROM's torch quick toggle to control the brightness

OTG support (no root or y-cable required)

Updated device drivers (touchscreen, mdss, networking, wifi, battery, ...)

Samsung Ethernet support

Default CPU governor is interactive

Stock CPU/GPU frequencies

SELinux is enforcing

What's working?​

Audio (Speaker, Headphones, main and sub Mic)

Bluetooth

Graphics (v145.0)

Hardware Composer

Wi-Fi (2.4GHz/5GHz, Wi-Fi Direct, v3.0.11.66)

Sensors

LED Notification Light

IR Blaster

Offline charging

USB (MTP, ADB, PTP, OTG)

Front and Back Cameras

Flashlight

RIL (Calls, SMS/MMS, Mobile Data, Dual SIM)

Mobile Hotspot and Tethering (Wi-Fi, Bluetooth, USB)

OMX (HW and SW Acceleration)

DRM Widevine L1

CPU Deep Sleep

GPS (including Glonass, SBAS and Beidou)

Vibration

Ethernet

Video playback at high frame rate (60 fps)

Known bugs​

Fingerprint Scanner

Heart Rate Sensor

Native Video recording isn't working, however, third party apps like Footej Camera 2 (recommended), modded Open Camera (enable CameraAPI 2), Google Camera (buggy but it works) and some social media apps (e.g. WhatsApp) can still record videos

S-View cover (No content on display; lock/unlock phone using the magnet still works)

Device/SD Card encryption

Please read the F.A.Q. below for further information about the bugs mentioned above

Installation​

Before you proceed, make sure you have the

most recent

Marshmallow bootloader (e.g. CRJ1) and modem (e.g. CPI1) installed already.

If you don't have any custom recovery installed, flash TWRP first. Check out the official XDA thread to get the latest release and a proper installation instruction.

Once the prerequisites are done, you can install SammyROM by the following steps:

Download SammyROM and push the ROM package to your internal or external storage

Power off your S5 Mini Duos

Boot into TWRP by pressing volume up button + power button simultaneously

Backup your current existing ROM in case something goes wrong. Also create a separate backup of your EFS and store it somewhere safe.

Perform a Full Wipe (Wipe > Advanced Wipe > select Dalvik / ART Cache, System, Data, Cache> Swipe to Wipe)

Flash SammyROM (Install > locate to the downloaded ROM package and select it > Swipe to confirm Flash).

If the installation succeeded, reboot to System

Note: First boot may take up to 15 minutes.

Download​

You can get the latest version from AndroidFileHost

Optional add-on: Samsung Keyboard Lanugage Pack

Credits​

@ananjaser1211 and @BlackMesa123 for their guidance, especially with the kernel

@haggertk and @Alastor89 for their uncountable kernel patches for msm8974/msm8x26

@Ticklefish as usual for TMA and TOAD

@Pavlex4 for OTG power fix in kernel

Kernel source​

https://github.com/prototype74/android_kernel_samsung_msm8226/tree/se-7.1.1