• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][SPECIAL][8.1][09/02] Dirty Unicorns for Redmi 4x (santoni)

fir3walk

Senior Member
Sep 21, 2017
213
865
0
Minsk


About Us:
Dirty Unicorns is a project that started out with no name. It was a project that was first based off AOKP back in the early days of Jelly Bean. In the early days it was just a one man show on one device, the EVO 3D. Since then, many others have joined the project and it has grown exponentially.

We have seen a lot of talent contribute to this project of ours. Big or small, the focus was always on contributing to the community. That is ultimately why we do what we do. After Jelly Bean, we decided to move to a new base, OmniROM. While AOKP was fun, OmniROM proved to be even more exciting base because it challenged us to see what we could do with a project that had different goals in mind. We learned a lot and again, gain contributors. With Lollipop, we moved to an AOSP base with a lot of patches from CAF to make our older devices function as they should. We grew even more and learned a whole lot more.

It has been an awesome learning experience and is still not over! We are still learning every day and continue to move forward. Lastly, we DO NOT accept, nor ask, for donations. We don't believe in that. Everything that is necessary to keep this project going is out of our own pocket. Gerrit, Jenkins, Websites, Devices, etc. We will never ask for a dime. All we do ask, is that you have patience, search, read and try to enjoy the process with us!!

Flashing Instructions:

- Verify that you're using the latest version of TWRP

- Perform a FULL WIPE as described below if coming from another ROM or a different version of Android
(A full wipe is when you wipe system/data/cache)

- Flash the latest version of this ROM

- Flash recommended GAPPS linked below

- Reboot and ENJOY!!


**If you fail to follow these instructions, please don't bother reporting any bugs**

**If you use Xposed, please don't bother reporting any bugs**

**If you use another kernel, please don't bother reporting any bugs**



For detailed change log, check
http://gerrit.dirtyunicorns.com/#/q/status:merged,n,z

Credit and Thanks:

We would like to give thanks to everyone that contributes to the Android community, big or small because every bit counts. Although we can't list each and every contributor within the Android community, we would like to highlight some of the teams and individuals that have made it possible NOT only with just this version of DU but throughout the years because we don't ever want to forget where we came from nor those that have helped us!

That said, on behalf of the DU team we say THANKS to....

JMZ Software
Baby Jesus
Code Aurora Forum
Omni ROM
Android Open Kang Project (AOKP)
Android Ice Cold Project (AICP)
XDA-Developers
SlimROMs
Preludedrew
Max Weninger
Team Black Out
CyanogenMod
Pure Nexus Project

**If we have left someone or some team out, we apologize and please PM us**


Download Links & Bugs:
Post #3


DU Source:
http://github.com/DirtyUnicorns

XDA:DevDB Information
Dirty Unicorns for Redmi 4x (santoni), ROM for the Xiaomi Redmi 4X

Contributors
fir3walk
Source Code: https://github.com/SantoniOSS/android_kernel_xiaomi_msm8937

ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Latest global stable firmware
Based On: AOSP/CAF

Version Information
Status: Stable
Current Stable Version: 12.5
Stable Release Date: 2018-07-07

Created 2018-04-01
Last Updated 2018-09-02
 

Attachments

Last edited:

fir3walk

Senior Member
Sep 21, 2017
213
865
0
Minsk
Last edited:

fir3walk

Senior Member
Sep 21, 2017
213
865
0
Minsk
2nd September - DU 12.5 [SPECIAL EDITION] build

What's special:

- MTP fully fixed
- HALs updated to latest caf-tags
- Kernel updated to 3.18.119
- All Nokia 6 blobs replaced with Tissot's and Marmite's ones (as for me ROM became more smooth and stable with new blobs)
- Selinux permissive
- Treble build!
Bugs:
- Bluetooth not working (use FINAL build in case u need it)
Download: https://sourceforge.net/projects/te...i-v12.5-20180831-2048-UNOFFICIAL.zip/download

12th August - DU 12.5 Final Oreo build

Device specific changelog:

- Fixed camera decolorization
- Upstreamed HALs
- Code improvements and cleanups

ROM specific changelog:


– Merged in latest tag for AOSP security updates
– Fix NullPointerException in BatteryUtils
– Fix NPE in AutoSyncWorkDataPreferenceController
– Fix the format of wifi_carrier_content string
– Fix NPE crash in AppInfoBase
– Fix for OOM caused by looper leak in settings
– Fix the crash caused by show DialogFragment after it state already saved
– Fix for NPE caused by missing argument in setResult for ChooseLockGeneric
– Fix for battery item summary that disappears
– Fix can’t enter bluetooth device preference under settings
– Fix dev settings crash when no OEM unlock service
– Fix settings force close
– Fix ripple effect in Dirty Tweaks preferences
– Fix issue with scrcpy (mirroring desktop app) and adb reverse
– Fix FC with mediaprovider in cases with MTP and ‘optimizing’ download provider
– Launcher3 fixes from AOSP and ‘Rootless pixel launcher’
– Ensure power menu aligns properly per stock behavior
– Ensure we load the section corresponding to what build the user is on in the updater
– Ensure we get the correct fingerprint position during setup
– Avoid NullPointerException when updating preference intents
– Expand on to swipe down gesture in Launcher3
– Expose the main style in MusicFX for themers
– Remove force show system bars in splitscreen mode to avoid issues with expanded desktop
– Change deskclock analog widget background with system theme
– Added haptic feedback to double tap gestures in Launcher3
– Added ripple effect for brightness slider icons
– Added some haptic and visual feedback to download button in the updater
– Added new devices to changelog filter
– Added back Demo mode because designers wanted it
– Added translations

Download: https://sourceforge.net/projects/te...i-v12.5-20180810-1351-UNOFFICIAL.zip/download

Old builds:
1 April-
Download: https://sourceforge.net/projects/te...i-v12.0-20180330-1001-UNOFFICIAL.zip/download

Changelog:
1. Initial Build

7th April-
Download: https://sourceforge.net/projects/te...i-v12.1-20180407-1240-UNOFFICIAL.zip/download

Changelog:
DU updated to 12.1
Changelog:
Version 12.1 (changelog can be found here: https://dirtyunicorns.com/2018/04/06/du12-1-is-here/)
Kernel upstreamed to the 3.18.102
April Security patch merged
Added DU FontService
Merged Latest Caf tag in hals
Updated blobs to 8.1
Corrected resolution of bootanimation
AOD is disabled by default

15 May - DU 12.2 is here!

Device specific changelog:

- SELinux enforcing (credits to Ryan Andri)!
- Bootanimation is finally of proper size (720x1280)
- HALs updated to the latest CAF tag
- Fixed Vilte (Video Call over LTE) (Thanks to @Nik001)
- Fixed Data Call bug for dual sim (Thanks to @Nik001)
- Update Oreo Blobs from Nokia 6 8.1 & Remove Unused Blobs (Thanks to @riteshsaxena)
- Fixed Offline Charging Leds (Thanks to @rainforce279)
- Fixed Noise Cancellation
- Improve Performance
- Removed XiaomiDoze

ROM changelog:
– Merged in latest tag for AOSP security updates
– Fixed resolver theme issue with selector not visible
– Fixed MediaProvider SQLiteDiskIOException
– Fixed statusbar padding with left clock
– Fixed text cutting off during shutdown animation
– Fixed changelog dialog theme issues
– Fixed potential NPE relating to the font service & handle disabled packages properly
– LatinIME (keyboard) fixes
– Slim Recents fixes
– Theme changes & fixes
– Messaging fixes
– Smart pixels fixes
– QS tiles fixes
– Ambient display / music fixes
– Launcher 3 fixes
– Stock Recents icon pack code fixes
– Dismiss keyguard automatically when face is recognized
– Ensure that ‘Tap to wake’ is off on all devices
– Extend reboot tile to add power off
– RTL fixes for both Slim and AOSP recents
– Dynamic font fix for FDE devices
– Switch to Clang for most of our kernels (all 4.4 kernels and a few 3.18 ones)
– Switch to Cloudflare DNS servers
– Stop ticker on theme changes for a better user experience
– Disable ticker animation style preference if Heads up is enabled
– Change fingerprint enrollment sensor summary
– Remove all delays on showing task header icons
– Added fingerprint scanner gestures
– Added Smart Pixels feature
– Added Dialer look up feature
– Added Slim Recents Spotify/kdeconn./others remote session compatibility
– Added new fonts to the DU fonts pack
– Added progress dialog to applying fonts
– Added Messaging app to managed provisioning
– Added contact provider and managed provision fixes
– Added ability to allow to backup/restore fling related options
– Added AOSP security dialog
– Added animation scale seekbars under dev options
– Added search bar to apps, notifications & battery optimizations
– Added our features to the settings search index
– Added vendor patch level system property to the AOSP security dialog (OP5/5T)
– Added ability to blacklist apps in the ChooserAcitivity (e.g. Share button)
– Added ability to long press QS settings icon to launch DU-Tweaks
– Added configurable wake keys (OP3/3T and Nash)
– Added translations

Download: https://sourceforge.net/projects/te...i-v12.2-20180515-0452-UNOFFICIAL.zip/download

20th May-
Download: https://basketbuild.com/filedl/devs...du_santoni-v12.2-20180520-1017-UNOFFICIAL.zip

Device specific changelog:

- Fixed bootloop
- Cleaned up sepolicies
- Switched to Clarity Kernel 3.3
- Battery drain in idle mode fixed
- Imported Xiaomi offline charger

29 May build:

Device specific changelog:

- updated Clarity kernel to v3.7
- code cleanups
- sepolicy fixes
- Wi-Fi Aware support added

Download: https://sourceforge.net/projects/te...i-v12.2-20180527-1834-UNOFFICIAL.zip/download

7th July - DU 12.4 is here!

Device specific changelog:

- back to stable .71 kernel with latest caf patches
- Default kernel governor is fixed (now interactive by default)
- Merged latest CAF in kernel and HALs (credits to @Nik001 @vimal101)
- Fixed late camera start (credits to @harandev )
- Added DTS Eagle to the kernel (https://forum.xda-developers.com/android/development/guide-how-to-port-dts-eagle-to-t3802259)
- Optimized performance for 2GB variants
- Upstreamed camera HAL
- a lot of code clean ups and various optimizations
- July AOSP security patch

ROM changelog:


– Fix DUI settings custom action dialog lag
– Fix bootanimation build warnings / size
– Fix memory leak of page “Languages & input”
– Fix crash issue when user uses multi-window mode on WifiCallingSettings
– Fix NPE in SettingsPreferenceFragment
– Fix broadcast receiver leak issue
– Fix window transformation related issue
– Fix Phone info FC related to Eab provisioned on some devices
– Fix CustomTile NPE in handleRefreshState
– Fix tabs in the udpater with no files showing previous fragment
– Fix left clock glitch on landscape and cleanup code
– Fix ContentService JNI leaks
– Fix slow-app ANR dumping
– Fix socket leaks in various android.net.Network methods
– Fix doFadingAnimationLocked in sanitized builds
– General theme fixes
– Media Provider fixes
– Analog deskclock widget changes
– Improve lockscreen ambient analog clock design
– Improve compatibility with LMT and other apps that don’t preload recents
– Ensure that locked recents apps are respected
– Don’t update if HeadsUp is disabled
– Hide freeform task header icon
– Lock rotation on SetupWizard to avoid issues
– Make scramble PIN layout Multi-User friendly
– Split calendar click action from clock in qs footer
– Remove janky fonts
– RTL changes to doze/gesture packages
– Ensure our AOSP security dialog respects RTL
– Ensure bluetooth icon is transparent when disconnected
– Include WallpaperPicker for all builds
– Add special captive portal servers for chinese
– Add Square style battery
– Add ability to allow to add custom clocks as analog clock overlays
– Add ability to keep pressing on SmartBar ime arrows to move kb cursor
– Add bigger recents icons, dynamic mediaplaying and alarm clock infos
– Add ability to allow single tap on app icon to show app info overlay
– Add DU and deep night clock
– Add dt2sleep to Launcher 3
– Add flashlight gesture & group it with the sleep one to Launcher3
– Add onLongClick functions to calendar/clock in qs footer
– Add ripple effect to the power menu items
– Add ripple effect for alarm and date
– Add option to show battery percentage when charging
– Add permission whitelist for EmergencyInfo app
– Allow to kill any app from recents panel in a safe way
– Allow details view for Cellular tile when tile title is disabled
– Allow for a more robust way to reset DUI options
– Added translations

Download: https://sourceforge.net/projects/te...i-v12.4-20180707-0431-UNOFFICIAL.zip/download

13th July - DU 12.4 is here!

Device specific changelog:

- fixed IR Blaster
- fixed BT calling issues

Download: https://sourceforge.net/projects/te...i-v12.4-20180712-1550-UNOFFICIAL.zip/download

13th July - DU 12.4 is here!

Device specific changelog:

- fixed IR Blaster
- fixed BT calling issues
- fixed kernel issues

Download: https://sourceforge.net/projects/te...i-v12.4-20180712-1550-UNOFFICIAL.zip/download

19th July - DU 12.4 is here!

Device specific changelog:

- fixed Deep sleep issues
- fixed FP scanner issues

Download: https://sourceforge.net/projects/te...i-v12.4-20180718-0849-UNOFFICIAL.zip/download
 
Last edited:

gogyly

Senior Member
May 5, 2012
588
199
0
Kraljevo
Really nice room for initial release. Some annoying bugs that I found are
- messaging app disappeared after some time
- can't make outgoing calls (temporally solved by rebooting)
- can't change system themes (substratum also won't work).
On the other hand room is absolutely gorgeous, battery backup just fine, super fast and smooth.
Can't wait next update which will hopefully fix bugs.
Thank you
Edit
All this fixed with v35 firmware.
 
Last edited:

gogyly

Senior Member
May 5, 2012
588
199
0
Kraljevo
I need to say (after using this room for 2 days) that this is probably best oreo room for santoni (and I tried them all). Everything just works, no glitches, no need for custom kernel.
Everyone need to try this and believe me you'll wish to stay here forever. I'm really thankful for this room. Great work once more.
 

lochNESSIE

Senior Member
Feb 12, 2017
306
61
0
I need to say (after using this room for 2 days) that this is probably best oreo room for santoni (and I tried them all). Everything just works, no glitches, no need for custom kernel.
Everyone need to try this and believe me you'll wish to stay here forever. I'm really thankful for this room. Great work once more.
Has it received an update yet?
 

gogyly

Senior Member
May 5, 2012
588
199
0
Kraljevo
Has it received an update yet?
I'm using 30 march update so I'd go with yes. As far as I know this is the initial build, I don't know anything about frequency of updates. DU have new features and bug fixes at weakly basis so I hope developer will follow their policy for nightlies.
 

rajak7xda

Member
Feb 25, 2017
12
0
0
How to disable lock screen tweaks

How to disable the lock screen tweak display. This is awesome Rom, but only thing is screen is always on in while in sleep also.
 

gogyly

Senior Member
May 5, 2012
588
199
0
Kraljevo
How to disable the lock screen tweak display. This is awesome Rom, but only thing is screen is always on in while in sleep also.
Go to display settings and uncheck ambient display. That should do it

---------- Post added at 09:45 PM ---------- Previous post was at 09:44 PM ----------

Bug: Stucking on black screen when unlocking by fingerprint on ambient display for me.

But everything important works perfect ?
I think that's a common bug on Oreo for now.
 

rajak7xda

Member
Feb 25, 2017
12
0
0
Asking pattern password when restart

DU worked for 3 days very well, when i try to restart it asking for pattern password. Im applying the pattern which is i registered along with fingerprint. But the device saying "wrong patter". How to handle it. Someone please help.

---------- Post added at 05:35 AM ---------- Previous post was at 05:12 AM ----------

DU worked for 3 days very well, when i try to restart it asking for pattern password. Im applying the pattern which is i registered along with fingerprint. But the device saying "wrong patter". How to handle it. Someone please help.
Its urgetn, im unable to access my mobile... pls help me...