[Xiaomi Mi Note 2  ROMs, Kernels, Recoveries, & Oth] slyscorpion:
Hi,

I just installed Resurrection Remix 5.8.4 build date 20170909 on my Xiaomi Mi Note 2 and I've noticed that the Settings application crashes whenever I click on "Additional buttons" in the Device section.

I can't post links to pastebin so this wall of text below will have to suffice for the logcat:

build.board: msm8996

build.bootloader: unknown

build.brand: Xiaomi

build.cpu_abi: arm64-v8a

build.cpu_abi2:

build.device: scorpio

build.display: NJH47F release-keys

build.fingerprint: Xiaomi/scorpio/scorpio/6.0.1/MXB48T/V8.2.6.0.MADCNDL:user/release-keys

build.hardware: qcom

build.host: Clevo-P770DM-G

build.id: NJH47F

build.manufacturer: Xiaomi

build.model: Mi Note 2

build.product: scorpio

build.radio: unknown

build.serial: c2d2f8e1

build.tags: release-keys

build.time: 1504916625000

build.type: user

build.user: stonetrap

version.codename: REL

version.incremental: d4067c6fde

version.release: 7.1.2

version.sdk_int: 25

09-23 22:01:54.100 E/audio_hw_extn(551): audio_extn_perf_lock_acquire: Failed to acquire perf lock, err: -1

09-23 22:01:54.101 E/msm8974_platform(551): platform_check_backends_match: Invalid snd_device =

09-23 22:01:54.106 E/ACDB-LOADER(551): Error: ACDB AFE returned = -19

09-23 22:01:54.157 E/audio_hw_extn(551): audio_extn_perf_lock_release: Perf lock release error

09-23 22:02:01.997 E/audio_hw_extn(551): audio_extn_perf_lock_acquire: Failed to acquire perf lock, err: -1

09-23 22:02:01.998 E/msm8974_platform(551): platform_check_backends_match: Invalid snd_device =

09-23 22:02:02.003 E/ACDB-LOADER(551): Error: ACDB AFE returned = -19

09-23 22:02:02.058 E/audio_hw_extn(551): audio_extn_perf_lock_release: Perf lock release error

09-23 22:02:02.101 E/cnss-daemon(566): gateway mac address: %02x:%02x:%02x:%02x:%02x:%02x

09-23 22:02:02.101 E/cnss-daemon(566): : 00:00:00:00:00:00

09-23 22:02:02.101 E/cnss-daemon(566): Invalid mac address: 0x555555f110M

09-23 22:02:05.624 E/AlarmManager(1534): RTC Alarm: 2 null com.google.android.gms com.google.android.gms.gcm.HEARTBEAT_ALARM

09-23 22:02:05.853 E/AlarmManager(1534): RTC Alarm: 2 null com.google.android.gms com.google.android.gms.gcm.ACTION_CHECK_QUEUE

09-23 22:02:06.070 E/AlarmManager(1534): RTC Alarm: 2 null com.google.android.gms com.google.android.gms.gcm.ACTION_CHECK_QUEUE

09-23 22:02:06.579 E/AlarmManager(1534): RTC Alarm: 2 null com.google.android.gms com.google.android.gms.gcm.ACTION_CHECK_QUEUE

09-23 22:02:10.283 E/Vox Populi PowerHAL(1534): Failed to acquire lock.

09-23 22:02:16.990 E/audio_hw_extn(551): audio_extn_perf_lock_acquire: Failed to acquire perf lock, err: -1

09-23 22:02:16.991 E/msm8974_platform(551): platform_check_backends_match: Invalid snd_device =

09-23 22:02:16.994 E/ACDB-LOADER(551): Error: ACDB AFE returned = -19

09-23 22:02:17.019 E/Vox Populi PowerHAL(1534): Failed to acquire lock.

09-23 22:02:17.046 E/audio_hw_extn(551): audio_extn_perf_lock_release: Perf lock release error

09-23 22:02:17.418 E/BatteryStatsService(1534): no controller energy info supplied

09-23 22:02:17.467 E/BatteryStatsService(1534): modem info is invalid: ModemActivityInfo{ mTimestamp=0 mSleepTimeMs=0 mIdleTimeMs=0 mTxTimeMs[]=[0, 0, 0, 0, 0] mRxTimeMs=0 mEnergyUsed=0}

09-23 22:02:21.261 E/AlarmManager(1534): RTC Alarm: 2 null com.google.android.gms com.google.android.gms.gcm.ACTION_CHECK_QUEUE

09-23 22:02:21.320 E/AlarmManager(1534): RTC Alarm: 2 null com.google.android.gms com.google.android.gms.gcm.HEARTBEAT_ALARM

09-23 22:02:21.442 E/AlarmManager(1534): RTC Alarm: 2 null com.google.android.gms com.google.android.gms.gcm.ACTION_CHECK_QUEUE

09-23 22:02:22.647 E/audio_hw_extn(551): audio_extn_perf_lock_acquire: Failed to acquire perf lock, err: -1

09-23 22:02:22.648 E/msm8974_platform(551): platform_check_backends_match: Invalid snd_device =

09-23 22:02:22.652 E/ACDB-LOADER(551): Error: ACDB AFE returned = -19

09-23 22:02:22.706 E/audio_hw_extn(551): audio_extn_perf_lock_release: Perf lock release error

09-23 22:02:23.148 E/AndroidRuntime(26230): FATAL EXCEPTION: main

09-23 22:02:23.148 E/AndroidRuntime(26230): Process: com.cyanogenmod.settings.device, PID: 26230

09-23 22:02:23.148 E/AndroidRuntime(26230): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.cyanogenmod.settings.device/com.cyanogenmod.settings.device.ButtonSettingsActivity}: java.lang.IllegalStateException: Must specify preferenceTheme in theme

09-23 22:02:23.148 E/AndroidRuntime(26230): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2699)

09-23 22:02:23.148 E/AndroidRuntime(26230): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2766)

09-23 22:02:23.148 E/AndroidRuntime(26230): at android.app.ActivityThread.-wrap12(ActivityThread.java)

09-23 22:02:23.148 E/AndroidRuntime(26230): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1507)

09-23 22:02:23.148 E/AndroidRuntime(26230): at android.os.Handler.dispatchMessage(Handler.java:102)

09-23 22:02:23.148 E/AndroidRuntime(26230): at android.os.Looper.loop(Looper.java:154)

09-23 22:02:23.148 E/AndroidRuntime(26230): at android.app.ActivityThread.main(ActivityThread.java:6236)

09-23 22:02:23.148 E/AndroidRuntime(26230): at java.lang.reflect.Method.invoke(Native Method)

09-23 22:02:23.148 E/AndroidRuntime(26230): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891)

09-23 22:02:23.148 E/AndroidRuntime(26230): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)

09-23 22:02:23.148 E/AndroidRuntime(26230): Caused by: java.lang.IllegalStateException: Must specify preferenceTheme in theme

09-23 22:02:23.148 E/AndroidRuntime(26230): at android.support.v14.preference.PreferenceFragment.onCreate(PreferenceFragment.java:221)

09-23 22:02:23.148 E/AndroidRuntime(26230): at android.app.Fragment.performCreate(Fragment.java:2336)

09-23 22:02:23.148 E/AndroidRuntime(26230): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:949)

09-23 22:02:23.148 E/AndroidRuntime(26230): at android.app.BackStackRecord.setLastIn(BackStackRecord.java:860)

09-23 22:02:23.148 E/AndroidRuntime(26230): at android.app.BackStackRecord.calculateFragments(BackStackRecord.java:900)

09-23 22:02:23.148 E/AndroidRuntime(26230): at android.app.BackStackRecord.run(BackStackRecord.java:728)

09-23 22:02:23.148 E/AndroidRuntime(26230): at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1578)

09-23 22:02:23.148 E/AndroidRuntime(26230): at android.app.FragmentController.execPendingActions(FragmentController.java:371)

09-23 22:02:23.148 E/AndroidRuntime(26230): at android.app.Activity.performStart(Activity.java:6700)

09-23 22:02:23.148 E/AndroidRuntime(26230): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2662)

09-23 22:02:23.148 E/AndroidRuntime(26230): ... 9 more

09-23 22:02:23.198 E/AppCrashReceiver(24561): com.cyanogenmod.settings.device stopped unexpectedly...

09-23 22:02:28.324 E/audio_hw_extn(551): audio_extn_perf_lock_acquire: Failed to acquire perf lock, err: -1

09-23 22:02:28.325 E/msm8974_platform(551): platform_check_backends_match: Invalid snd_device =

09-23 22:02:28.330 E/ACDB-LOADER(551): Error: ACDB AFE returned = -19

09-23 22:02:28.337 E/Vox Populi PowerHAL(1534): Failed to acquire lock.

09-23 22:02:28.382 E/audio_hw_extn(551): audio_extn_perf_lock_release: Perf lock release error

09-23 22:02:48.007 E/audio_hw_extn(551): audio_extn_perf_lock_acquire: Failed to acquire perf lock, err: -1

09-23 22:02:48.008 E/msm8974_platform(551): platform_check_backends_match: Invalid snd_device =

09-23 22:02:48.014 E/ACDB-LOADER(551): Error: ACDB AFE returned = -19

09-23 22:02:48.068 E/audio_hw_extn(551): audio_extn_perf_lock_release: Perf lock release error

09-23 22:02:48.981 E/cnss-daemon(566): Stale or unreachable neighbors, ndm state: 4

09-23 22:02:56.325 E/AlarmManager(1534): RTC Alarm: 2 null com.google.android.gms com.google.android.gms.gcm.ACTION_CHECK_QUEUE

09-23 22:02:56.396 E/AlarmManager(1534): RTC Alarm: 2 null com.google.android.gms com.google.android.gms.gcm.HEARTBEAT_ALARM

09-23 22:02:56.454 E/AlarmManager(1534): RTC Alarm: 2 null com.google.android.gms com.google.android.gms.gcm.ACTION_CHECK_QUEUE

09-23 22:03:01.177 E/cnss-daemon(566): Stale or unreachable neighbors, ndm state: 16

09-23 22:03:02.006 E/cnss-daemon(566): gateway mac address: %02x:%02x:%02x:%02x:%02x:%02x

09-23 22:03:02.006 E/cnss-daemon(566): : 00:00:00:00:00:00

09-23 22:03:02.006 E/cnss-daemon(566): Invalid mac address: 0x555555f110M

09-23 22:03:05.771 E/audio_hw_extn(551): audio_extn_perf_lock_acquire: Failed to acquire perf lock, err: -1

09-23 22:03:05.772 E/msm8974_platform(551): platform_check_backends_match: Invalid snd_device =

09-23 22:03:05.776 E/ACDB-LOADER(551): Error: ACDB AFE returned = -19

09-23 22:03:05.845 E/audio_hw_extn(551): audio_extn_perf_lock_release: Perf lock release error

09-23 22:03:08.564 E/AlarmManager(1534): RTC Alarm: 2 null com.google.android.gms com.google.android.gms.gcm.ACTION_CHECK_QUEUE

09-23 22:03:08.644 E/AlarmManager(1534): RTC Alarm: 2 null com.google.android.gms com.google.android.gms.gcm.HEARTBEAT_ALARM

09-23 22:03:08.783 E/AlarmManager(1534): RTC Alarm: 2 null com.google.android.gms com.google.android.gms.gcm.ACTION_CHECK_QUEUE