• XDA Forums have been migrated to XenForo. We are aware of several issues including missing threads, logins not working, and more. To discuss, use this thread.

[ROM][8.1.0][UNOFFICIAL] ResurrectionRemix 6.0.0 [BETA] [VoLTE]

Arasthel

New member
Dec 30, 2009
123
250
0




Code:
[B][COLOR="Red"]Your warranty is now void.[/COLOR][/B]

I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this ROM
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you.
F.A.Q.

Maybe this way someone will actually read it.

  • Is VoLTE working?
  • Can you port this cool ____ feature from other ROM / OS? Probably yes.
  • Will you actually do it? Probably no. Supporting new features added to the actual source requires more work than you'd think, so unless it's a really important or amazing feature...
  • When will ____ be fixed? When and if I get it working. I'm not a professional ROM dev, there's no money or other motivation for me to do this other than me wanting to do this. I also have a life and a job, which come first.
  • Is this ROM official? No.
  • Will this ROM be official in the future? Time will tell, but as I don't have much time to maintain or provide support, that option is not on the table right now.
  • When will this ROM be updated? Again, when I have the time and there are enough changes to justify making a new build.
  • Well, I don't like this ROM or your support and I'm going to rant about it! You're very welcome to use any other ROMs if this one doesn't meet your expectations.

About Resurrection Remix​
Resurrection Remix is a LineageOS based ROM with customizations from SlimROM, OmniROM among others. It's development pace is fast, but at the same time is quite stable - for a heavily customizable ROM.​

Features​
Customization. Like, lots. For more info: resurrectionremix.com


What's not working​
  • Proximity sensor is very rarely disabled in the middle of a phone call.
  • Encryption. Still working on it.

What is working​
Everything else, as far as I know.​


Installation instructions​
Are you coming from MIUI?
  1. Backup all your internal storage files. That's photos, music, videos...
  2. Install TWRP recovery, format data. The ROM may work with just a wipe, but since MIUI uses encryption and this ROM still has issues with it, you may find some issues after just wiping.
The rest of steps should be common to installing from any other custom ROM. See below.

Are you coming from a non-MIUI ROM?
  1. Download the ROM and Google Apps (ARM64, 8.1, any flavor).
  2. Backup your actual setup, just in case. If you don't have TWRP installed, now would be a great time to do it: https://forum.xda-developers.com/mi-mix-2/development/recovery-twrp-3-2-1-0-recovery-t3730030
  3. Wipe data.
  4. If you come from a 7.1 ROM, you may want to flash a new firmware: https://forum.xda-developers.com/mi-mix-2/development/firmware-xiaomi-mi-mix-2-t3741667
  5. Install both the ROM and Google Apps. If you install Google Apps later you will have issues because some of the needed libraries won't be extracted. So, do it now.
If you want to install Magisk or any other mod, it's not mandatory to do it now. You can probably flash it in the future.

Download Links​

Get me a beer: paypal.me/arasthel

XDA:DevDB Information
Resurrection Remix 6.0.0 for Mix 2, ROM for the Xiaomi Mi Mix 2

Contributors
Arasthel, hondajohn88, andr68rus, xiaobai112220, Verevka
Source Code: https://github.com/RR-oreo-chiron/local_manifest

ROM OS Version: 8.x Oreo
ROM Kernel: Linux 4.x
Based On: Resurrection Remix

Version Information
Status: Beta

Created 2018-03-10
Last Updated 2018-03-28
 
Last edited:

Arasthel

New member
Dec 30, 2009
123
250
0
Reserved

Changelog

29/03/18 :
  • More SELinux fixes, this time for people using Xposed, auto brightness and proximity sensor didn't work.

28/03/18 :
  • New SELinux configs, should fix proximity and autobrightness issues. Fingerprint may not work, this is a known issue.
  • NFC tile is working again.
  • Added option to adjust rounded corners on Settings > Configurations > Interface > Misc.
  • Fixed black theme FC on Settings > Apps > Any app > Permissions.
  • Probably fixed camera on third party apps - worked well for me, but then again, I never noticed this issue before.
  • Updated RR sources with changes to SmartBar and other fixes.

25/03/18 - lots of thanks to @andr68rus in this version:
  • NXP NFC HAL used instead of AOSP one, config file imported from Pixel 2 XL. Battery drain from NFC fixed! -0.3%/h with WiFi ON on my last test.
  • SElinux enforced.
  • Fix USB headphones and other audio issues.
  • Imported RR sources, but there aren't many changes. Mostly small bugfixes and translation imports.

18/03/18:
  • Safetynet passes without issues - thanks @andr68rus!
  • Trying new low power setting for NFC when screen is off.
  • Optimizations to WiFi when screen off.
  • BT and WiFi MAC address should be stable now, as in DU / Omni.
  • Apps shouldn't show a black bar at the bottom anymore - force aspect ratio to match MIX 2, thanks to @AndyYan for the tip!

14/03/18:
  • Fixed VoLTE issues!

11/03/18:
  • Removed Always on Display, as it's not meant for this device and wasn't working properly.
 
Last edited:

AndyYan

Recognized Contributor
Jan 30, 2012
4,196
3,280
113
Beijing
First page! Thanks for your hard work, it's been an incredible 2 months' ride from Nougat to Oreo.
EDIT: Got a donation link?

Sent from Xiaomi Mi Mix 2 @ LineageOS 15.1
 
Last edited:

Kartoffl

New member
Jul 21, 2016
41
46
0
Ok first of all thanks for the hard work. I really love the rom.

Here is some feedback for you, also compared to the previous version.

I made a full clean install with the following installation order (used Raupes latest TWRP version)
  1. Wiped everything and also formatted data
  2. Flashed latest developer Firmware from this thread
  3. Flashed the latest RR Rom
  4. Flashed official Open GappsMini (Arm64/8.1/Mini)
  5. Flashed latest Magisk
  6. Flashed Camera2Api Magisk Module
  7. Wiped Cache/Dalvik
  8. Reboot System

  • The first thing I noticed after setting up pattern+fingerprint is that the unlocking process is completely broken. Most of the time you just get a black screen after unlocking. The problem was that the ambient display was on ALWAYS ON under display settings. Maybe this setting is not compatible with the Mix 2. After turning it off everything worked like it should. Also the option to lift up your phone to show notifications and clock is not working.
  • After that i encrypted my phone. Everything OK!
  • Then I Installed the modded Gcam and its working perfectly! (Didn't work for me on the previous build)
  • Also Double Tap to Wake is working with the new Rom
  • Sadly the audio and proximity call issues still persists (for me atleast). I'm using the google dialer that came with the gapps. When someone calls there is no audio sometimes and the proximity sensor is not always working. It works now :)
  • Changing the Accent Color under Theming in the RR-Settings crashes the Lineage-OS Settings and Accent Color stays on the standard one.
    Heres the Log for this crash:
    Code:
    build.cpu_abi2: 
    build.device: chiron
    build.display: rr_chiron-userdebug 8.1.0 OPM1.171019.021 abb4372266 test-keys
    build.fingerprint: Xiaomi/chiron/chiron:7.1.1/NMF26X/V9.0.1.0.NCAMIEI:user/release-keys
    build.hardware: qcom
    build.host: arasthel-pc
    build.id: OPM1.171019.021
    build.manufacturer: Xiaomi
    build.model: MI Mix 2
    build.product: chiron
    build.radio: AT20-0307_2248_6af8a53
    build.serial: c1772223
    build.tags: release-keys
    build.time: 1520578480000
    build.type: user
    build.user: arasthel
    version.codename: REL
    version.incremental: abb4372266
    version.release: 8.1.0
    version.sdk_int: 27
    
    03-11 10:57:13.018 E/BufferItemConsumer(3486): [unnamed-3486-49] Failed to release buffer: Unknown error -1 (1)
    03-11 10:57:13.055 E/BufferItemConsumer(3486): [unnamed-3486-50] Failed to release buffer: Unknown error -1 (1)
    03-11 10:57:13.166 E/BufferItemConsumer(3486): [unnamed-3486-51] Failed to release buffer: Unknown error -1 (1)
    03-11 10:57:13.219 E/BufferItemConsumer(3486): [unnamed-3486-52] Failed to release buffer: Unknown error -1 (1)
    03-11 10:57:16.859 E/AndroidRuntime(17391): FATAL EXCEPTION: main
    03-11 10:57:16.859 E/AndroidRuntime(17391): Process: org.lineageos.lineageparts, PID: 17391
    03-11 10:57:16.859 E/AndroidRuntime(17391): java.lang.NullPointerException: Attempt to invoke interface method 'boolean android.content.om.IOverlayManager.setEnabled(java.lang.String, boolean, int)' on a null object reference
    03-11 10:57:16.859 E/AndroidRuntime(17391): 	at android.os.Parcel.readException(Parcel.java:2010)
    03-11 10:57:16.859 E/AndroidRuntime(17391): 	at android.os.Parcel.readException(Parcel.java:1950)
    03-11 10:57:16.859 E/AndroidRuntime(17391): 	at lineageos.style.IStyleInterface$Stub$Proxy.setAccent(IStyleInterface.java:155)
    03-11 10:57:16.859 E/AndroidRuntime(17391): 	at lineageos.style.StyleInterface.setAccent(StyleInterface.java:167)
    03-11 10:57:16.859 E/AndroidRuntime(17391): 	at org.lineageos.lineageparts.style.StylePreferences.onAccentSelected(StylePreferences.java:159)
    03-11 10:57:16.859 E/AndroidRuntime(17391): 	at org.lineageos.lineageparts.style.StylePreferences.lambda$-org_lineageos_lineageparts_style_StylePreferences_4880(StylePreferences.java:132)
    03-11 10:57:16.859 E/AndroidRuntime(17391): 	at org.lineageos.lineageparts.style.-$Lambda$lxyhs0tIpn-38teX3F3AjZP7qNg$1.$m$0(Unknown Source:4)
    03-11 10:57:16.859 E/AndroidRuntime(17391): 	at org.lineageos.lineageparts.style.-$Lambda$lxyhs0tIpn-38teX3F3AjZP7qNg$1.onClick(Unknown Source:11)
    03-11 10:57:16.859 E/AndroidRuntime(17391): 	at com.android.internal.app.AlertController$AlertParams$3.onItemClick(AlertController.java:1142)
    03-11 10:57:16.859 E/AndroidRuntime(17391): 	at android.widget.AdapterView.performItemClick(AdapterView.java:318)
    03-11 10:57:16.859 E/AndroidRuntime(17391): 	at android.widget.AbsListView.performItemClick(AbsListView.java:1196)
    03-11 10:57:16.859 E/AndroidRuntime(17391): 	at android.widget.AbsListView$PerformClick.run(AbsListView.java:3284)
    03-11 10:57:16.859 E/AndroidRuntime(17391): 	at android.widget.AbsListView$4.run(AbsListView.java:4207)
    03-11 10:57:16.859 E/AndroidRuntime(17391): 	at android.os.Handler.handleCallback(Handler.java:790)
    03-11 10:57:16.859 E/AndroidRuntime(17391): 	at android.os.Handler.dispatchMessage(Handler.java:99)
    03-11 10:57:16.859 E/AndroidRuntime(17391): 	at android.os.Looper.loop(Looper.java:164)
    03-11 10:57:16.859 E/AndroidRuntime(17391): 	at android.app.ActivityThread.main(ActivityThread.java:6494)
    03-11 10:57:16.859 E/AndroidRuntime(17391): 	at java.lang.reflect.Method.invoke(Native Method)
    03-11 10:57:16.859 E/AndroidRuntime(17391): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
    03-11 10:57:16.859 E/AndroidRuntime(17391): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
    03-11 10:57:19.001 E/BufferItemConsumer(3486): [unnamed-3486-53] Failed to release buffer: Unknown error -1 (1)
    03-11 10:57:19.042 E/BufferItemConsumer(3486): [unnamed-3486-54] Failed to release buffer: Unknown error -1 (1)
    03-11 10:57:19.202 E/BufferItemConsumer(3486): [unnamed-3486-55] Failed to release buffer: Unknown error -1 (1)
    03-11 10:57:19.253 E/BufferItemConsumer(3486): [unnamed-3486-56] Failed to release buffer: Unknown error -1 (1)
  • Auto Brightness still not working for me It works
  • The idle battery drain seems to be fixed now, no more battery drain overnight :)

I hope the call issue gets fixed asap. Thats the only major problem imo. The other bugs are only minor, I can live with them :).
The rest is working perfectly (ok VoLTE maybe not, but i'm not using it anyway :)). Really smooth Rom, great battery Life and everything else works great.

Good job!
 
Last edited:
  • Like
Reactions: 9glas

Arasthel

New member
Dec 30, 2009
123
250
0
Cant unlock device with fingerprint when always on is activ
Always On Display shouldn't have been enabled in the first place, that was my bad. It will eat your battery in devices with IPS displays - such as the Mix 2. I will fix this in the next version, just disable it until then.
@Kartoffl: thanks for the feedback!

About AOD: see above.
Accent color: I just changed it several times without any issues, but I'll try to find what could cause the issue on your phone.
Autobrightness: just tested it, I placed my hand over the lower half of the device and it went darker after ~5s, set another phone with flashlight ON over it and got 100% bright in a couple of seconds.
Proximity: I'll also have a look at that.
Battery drain: glad to hear it :)
 
Last edited:
  • Like
Reactions: 9glas

rafik25

Senior Member
Apr 26, 2011
1,292
168
63
Ici et ailleurs la terre est si vaste
Always On Display shouldn't have been enabled in the first place, that was my bad. It will eat your battery in devices with IPS displays - such as the Mix 2. I will fix this in the next version, just disable it until then.

@Kartoffl: thanks for the feedback!

About AOD: see above.
Accent color: I just changed it several times without any issues, but I'll try to find what could cause the issue on your phone.
Autobrightness: just tested it, I placed my hand over the lower half of the device and it went darker after ~5s, set another phone with flashlight ON over it and got 100% bright in a couple of seconds.
Proximity: I'll also have a look at that.
Battery drain: glad to hear it :)
I think bro ambiant display its better ;)
 

Kartoffl

New member
Jul 21, 2016
41
46
0
Accent color: I just changed it several times without any issues, but I'll try to find what could cause the issue on your phone.
Autobrightness: just tested it, I placed my hand over the lower half of the device and it went darker after ~5s, set another phone with flashlight ON over it and got 100% bright in a couple of seconds.
You were right, autobrightness is somehow working! The slider doesn't change when the autobrightness changes though. The autobrightness feature just doesn't feel working correctly.

It would be great if you can look into the accent color crash issue. Heres another log if it can help! Also my System Info

Code:
03-11 13:00:24.555 E/SurfaceFlinger(733): Failed to find layer (AtchDlg:com.nolanlawson.logcat/com.nolanlawson.logcat.LogcatActivity#0) in layer parent (no-parent).
03-11 13:00:31.942 E/ActivityManager(2929): applyOptionsLocked: Unknown animationType=0
03-11 13:00:32.006 E/BatteryExternalStatsWorker(2929): no controller energy info supplied for bluetooth
03-11 13:00:32.022 E/QCOM PowerHAL(710): extract_stats: failed to open: /d/wlan0/power_stats Error = Operation not permitted
03-11 13:00:47.781 E/SurfaceFlinger(733): Failed to find layer (com.android.settings/com.android.settings.SubSettings#0) in layer parent (no-parent).
03-11 13:00:49.306 E/AndroidRuntime(16012): FATAL EXCEPTION: main
03-11 13:00:49.306 E/AndroidRuntime(16012): Process: org.lineageos.lineageparts, PID: 16012
03-11 13:00:49.306 E/AndroidRuntime(16012): java.lang.NullPointerException: Attempt to invoke interface method 'boolean android.content.om.IOverlayManager.setEnabled(java.lang.String, boolean, int)' on a null object reference
03-11 13:00:49.306 E/AndroidRuntime(16012): 	at android.os.Parcel.readException(Parcel.java:2010)
03-11 13:00:49.306 E/AndroidRuntime(16012): 	at android.os.Parcel.readException(Parcel.java:1950)
03-11 13:00:49.306 E/AndroidRuntime(16012): 	at lineageos.style.IStyleInterface$Stub$Proxy.setAccent(IStyleInterface.java:155)
03-11 13:00:49.306 E/AndroidRuntime(16012): 	at lineageos.style.StyleInterface.setAccent(StyleInterface.java:167)
03-11 13:00:49.306 E/AndroidRuntime(16012): 	at org.lineageos.lineageparts.style.StylePreferences.onAccentSelected(StylePreferences.java:159)
03-11 13:00:49.306 E/AndroidRuntime(16012): 	at org.lineageos.lineageparts.style.StylePreferences.lambda$-org_lineageos_lineageparts_style_StylePreferences_4880(StylePreferences.java:132)
03-11 13:00:49.306 E/AndroidRuntime(16012): 	at org.lineageos.lineageparts.style.-$Lambda$lxyhs0tIpn-38teX3F3AjZP7qNg$1.$m$0(Unknown Source:4)
03-11 13:00:49.306 E/AndroidRuntime(16012): 	at org.lineageos.lineageparts.style.-$Lambda$lxyhs0tIpn-38teX3F3AjZP7qNg$1.onClick(Unknown Source:11)
03-11 13:00:49.306 E/AndroidRuntime(16012): 	at com.android.internal.app.AlertController$AlertParams$3.onItemClick(AlertController.java:1142)
03-11 13:00:49.306 E/AndroidRuntime(16012): 	at android.widget.AdapterView.performItemClick(AdapterView.java:318)
03-11 13:00:49.306 E/AndroidRuntime(16012): 	at android.widget.AbsListView.performItemClick(AbsListView.java:1196)
03-11 13:00:49.306 E/AndroidRuntime(16012): 	at android.widget.AbsListView$PerformClick.run(AbsListView.java:3284)
03-11 13:00:49.306 E/AndroidRuntime(16012): 	at android.widget.AbsListView$4.run(AbsListView.java:4207)
03-11 13:00:49.306 E/AndroidRuntime(16012): 	at android.os.Handler.handleCallback(Handler.java:790)
03-11 13:00:49.306 E/AndroidRuntime(16012): 	at android.os.Handler.dispatchMessage(Handler.java:99)
03-11 13:00:49.306 E/AndroidRuntime(16012): 	at android.os.Looper.loop(Looper.java:164)
03-11 13:00:49.306 E/AndroidRuntime(16012): 	at android.app.ActivityThread.main(ActivityThread.java:6494)
03-11 13:00:49.306 E/AndroidRuntime(16012): 	at java.lang.reflect.Method.invoke(Native Method)
03-11 13:00:49.306 E/AndroidRuntime(16012): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
03-11 13:00:49.306 E/AndroidRuntime(16012): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
03-11 13:00:50.806 E/SurfaceFlinger(733): Failed to find layer (org.lineageos.lineageparts/org.lineageos.lineageparts.style.StylePreferences#1) in layer parent (no-parent).
03-11 13:00:50.848 E/BufferItemConsumer(3459): [unnamed-3459-16] Failed to release buffer: Unknown error -1 (1)
03-11 13:00:50.880 E/BufferItemConsumer(3459): [unnamed-3459-17] Failed to release buffer: Unknown error -1 (1)
03-11 13:00:50.998 E/BufferItemConsumer(3459): [unnamed-3459-18] Failed to release buffer: Unknown error -1 (1)
03-11 13:00:51.064 E/BufferItemConsumer(3459): [unnamed-3459-19] Failed to release buffer: Unknown error -1 (1)
03-11 13:01:02.138 E/SurfaceFlinger(733): Failed to find layer (AtchDlg:com.nolanlawson.logcat/com.nolanlawson.logcat.LogcatActivity#0) in layer parent (no-parent).
 

matzrh

New member
Mar 6, 2018
12
0
0
Camera Issues

Thanks for everyones work, here.
I finally have a stock Oreo on my Mi Mix2. However, have some camera issues.
I did install the Camera2API Magisk module.
But
Then I Installed the modded Gcam and its working perfectly! (Didn't work for me on the previous build)
I did not let me install the apk. Had to remove the original camera (installed the Gapps stock version) and reboot.
What packages did you install? There are several APKs and Zips (some Magisk, some apparently for installing with TWRP) in the modded Gcam link?
Sound over Bluetooth ist working for me, btw
 

allrockedout

New member
Mar 31, 2011
1,465
372
0
Noticed a bug, actually this has been happening to me on stock miui as well. Charge the phone over night and only charges to 75%. Could be accubattery app I have installed only let's you charge up to certain percentage to save the life of battery. Everything else is running good.