[G3 Android Development] GuestK00280:
[IMG="Resurrection Remix logo"]http://i.imgur.com/YAaS9tQ.png[/IMG]​

Disclaimer:

Since Westcrip changed device, there was no maintainer for D855. I love RR and have some skills, so i decided to become one.

This thread is meant as continuation of Westcrip's original thread.

Contents:

1. About Resurrection Remix ROM

2. Install/Update instructions

3. Downloads

4. Know issues

5. To-Do list

6. FAQ

7. Useful Links

8. Credits

About Resurrection Remix ROM

"Resurrection Remix" is based on CM, Slim, Omni and original Remix ROM builds. This creates an awesome combination of performance, customization and new features, brought directly to your device.

Main features:

Specific d855/d852 features:

Proximity wake - which works correctly with "Press Power twice to open camera"!

Gesture lock

KCAL support

Voltage control support​

General RR features

Based On Latest Google Android 6.0.1_r13 Release

Based On Cyanogenmod 13 Sources

RR Customizations:

Buttons:

Navigation Bar

Enable/Disable Navbar

Navbar Button Customization: buttons, color, arrow keys...

Navbar Slim Dim

Animate Dim

Dim Timeout Duration

Dim Alpha

Double Tap To sleep navbar

Navigation Bar left/Right handed mode Switch for landscape

Rotation animation for navbar icons​

Statusbar

Enable/Disable Brightness Slider

Enable/Disable Show Notification Count

SuperUser Indicator Switch

Double Tap To sleep Statusbar

Carrier Label

Carrier Label Switch

Carrier label Colour

Carrier Label Size

Clock Customizations

Time & date

Clock Colour

Day & date Toogle

Center/Right/Left Clock Choice

Date Format

Clock Font Styles​

Battery

Battery Bar customization

Battery Icon Customization(circle/landscape/Potrait and more)

Battery % Text​

Network Traffic Indicator

Network Traffic Arrows Switch

Incoming/OutGoing Traffic

Network traffic Color​

Statusbar RR Logo

RR logo Color​

StatusBar Weather

Weather Color

Weather Position(left/right)

Weather Style

Weather Size​

Breathing notifications for calls, voicemail and SMS

Animations

System Animations

Toast Animations

Display app icon in toast

ListView Animations

Power menu animations

IME animations

Scrolling cache controls​

Gestures

Gestures Anywhere Feature

3 Finger Swipe Screenshot Gesture

App Circle Bar

Choose apps in AppSidebar

Trigger Width

Trigger Hieght

Trigger Position

App Sidebar

Choose apps in App circle

Trigger Width

Trigger Hieght

Trigger Position

Pie

Pie Trigger(left ,Right ,Bottom)

Pie Targets

Pie Colors

More Pie Features​

Recents Panel

Clear All button Switch

Clear All Tasks Switch

Clear All Button Location(Top right,Top Left,Top Center,Bottom Left,Bottom Right,Bottom Center)

Clear All Button Style

Recents Search Bar

Full Screen (Immersive) Recents

Slim Recents

OmniSwitch​

Cclock Widget

CLock And Alarm Customizations

Weather Panel Customizations

Calender Events​

LockScreen

Lockscreen Bottom Shortcuts

Lockscreen General Shorcuts

100+ Icons for Shortcuts​

Double Tap to Sleep Lockscreen

LongPress power button to use torch (While screen is off)​

Lockscreen Media Art/Enable Disable

Lockscreen visualiser​

Quick PIN/Patter Unlock

LockScreen Blur

Lockscreen Blur Intensity

Lockscreen Colors, fonts and transparency​

Secure Lockscreen Bouncer Settings

LockScreen Notification Count and Transparency

LockScreen Wallpaper

Lockscreen Weather Widget

Lockscreen Icons Color​

Quick Settings Draggable Tiles

Customizable Tiles

Customizable number of rows/ items per row​

Enlarge two first tiles in the first row

Dynamic Tiles Adjustment

Brightness icon

Ability to disable QS on lockscreen

Smart&Quick pulldowns.

QS vibrations​

Notification Drawer

Colors, fonts, icons, etc customization

Weather Display Switch

LongPress Toogles to Enter Settings

Disable Immersive Mode Messages

Force Expand Notification

Task Manager Switch

Time Contextual Header(HD,Modern,Poly) with shadow control

Quick PullDown Switch​

Buttons

Backlight Timer

Backlight Strength

Advanced Reboot Menu

Power Menu Customizations

Power Off

Reboot(Recovery, Bootloader, Hot Reboot)

ScreenShot

Power Menu End Calls Switch

Restart SystemUI

Airplane Mode

ScreenRecord

On the Go Mode

Sound Panel​

Home Button(For devices with HW keys Only)

Home Button answer call

Long Press Actions

Double Tap Actions​

Menu Button(For devices with HW keys Only)

Short Press Actions

Long Press Actions​

Search Button(If Device Supports)

Short Press Action

Long Press Action​

Volume Buttons

Wake Up Device

Playback Control

Ringtone Volume Control

Keyboard Cursor Control

Swap Buttons on Landscape mode

Volume Key Answer

Volume steps​

Miscellaneous

Multi-window mode

Launch music app when headset is connected

Selinux Switch (Switch Between Permissive and Enforcing Selinux if Device has Selinux Enabled)

AdAway shortcut

cLock Shortcut

Disable Battery Saver Warning Color

Disable Fc Notifications

Wakelock Blocker

Media Scanner On Boot Behaviour

Advanced sound:

Camera Shutter/Screenshot Sound Enable/Disable

Safe headset volume

Less frequent notification sounds
​

SystemUI Tuner

Enabled By default

Removed Demo mode and Tweaked SystemUI Tuner As compared To AOSP

StatusBar Icons Cuzomizations
​

Other Features

Perfomance Profiles

LCD Density

Ambient display

Proximity-based wake

Expanded Desktop Mode

Audio FX

Heads Up Switch

Live Display

Configurable 0,90,180,270 Degree Rotation

Lock Screen Autorotate Switch

Native Tap to Wake From Marshmallow

Double Tap Power Button To enable Camera gesture

Prevent Accidental Wakeup

Wake Phone on Charging Plug

Battery Light Customizations

Notification Light Customizations

Font Size

CM privacy guard

Performance Tweaks(Kernel Aduitor Inbuilt)

SuperSU Inbuilt​

RR OTA

CM Theme Chooser

OverAll Smoothness Improvements

Optimizations to Improve Battery

Includes All Android Marhsmallow Features

Includes ALL CM13 Features

AND MUCH MUCH MORE​

Installation/Major upgrade(5.1.1->6.0) instructions:

Install 21C firmware, root it, install twrp

Download the latest build

Download Gapps

Take a nandroid backup

Full wipe and factory reset

Flash ROM using latest TWRP recovery

Flash Gapps

Reboot

Enjoy!

Update instructions:

Make sure you are running 21C baseband (modem partition)

Download the latest build

Download Gapps

Take a nandroid backup

Flash ROM using recovery

Flash Gapps

Wipe cache & dalvik cache

Reboot

Enjoy!

Downloads:

6.0.1

TO ALL D855 USERS: EVERYONE IS REQUIRED TO INSTALL 21C BASEBAND (AKA MODEM, RPM AND TZ PARTITIONS), OR ROM WILL NOT FLASH. 21C BASEBAND CAN BE INSTALLED FROM THIS THREAD.

5.6.7, 12.04.16 stable build:

Main changes from 14.03.16:

Lockscreen : Fix dead-zone in bottom area.

hal: Add support for AUDIO_DEVICE_OUT_LINE

AudioFX: New and stylish app

Port VoLTE support from DialerNext into AOSP Dialer

And a lot of other improvements... Check full changelog for details.

Full changelog

Downloads:

D855:

AFH

BasketBuild

D852:

AFH

BasketBuild

GAPPS:

2016/04/08 OpenGApps

5.1.1:

5.5.9, 27.11.15 build:

Changelog from 5.5.8 to 5.5.9

Changelog from 22.11.15 to 27.11.15

Android File Host

GApps

---------------------------------------------------------------------------------------------------------

To-Do list:

Option for showing data usage screen on mobile data tile longpress.

Remove "Edit tiles" tile.

4k recording - CM guys got it working almost completely.

My own implementation of knock-code.

Known issues:

6.0:

Phone won't power on with charger connected. A CM issue, i am looking into it. -- trying to fix right now.

5 GhZ WI-FI may disconnect sometimes. A CM issue.

EAP-SIM not working.

System UI may make the whole phone slow and unresponsive after prolonged use. Restarting it via power menu fixes it for some time. Looking for a fix...

GPS not working if there is no internet connection. Fixed by setting CAPABILITIES to 0x31 in /system/etc/gps.conf. WIll be included in the rom later.

5.1.1:

d2tw stops working after some amount of time.

Workaround: restart d2tw either via settings, either via "echo '1 1 0 0' > /sys/devices/virtual/input/lge_touch/lpwg_notify". I still have no idea why and when it happens...

Sound recording quality in AMR-NB is pretty bad. That affects sound messages in Whatsapp and such.

Stock kitkat and earlier lollipop roms use AMR-WB with 22050 sampling rate and high bitrate, instead of 8000 SR on AMR-NB. BTW, latest stock roms also use amr-nb and produce baaad sound...

AUX is not working for some people. An old issue, most probably related to resistance thresholds.

Update 19.10.15: Probably needs stock drivers to work properly. Will try to fix.

FAQ:

Q: Will you support people who use Xposed?

A: Only if you provide very detailed bug report, which proves what neither Xposed, nor it's modules are at fault.

Q: How do i report a bug? What should i do before reporting a bug?

A:

0) Search google and CM-13 XDA threads for this problem - a lot of ROM's issues stem from AOSP/Cyanogen, and there may already be a working fix. Or a commit that has to be cherrypicked.

1) Do a factory reset and check if the problem remains.

What a proper bug report should contain:

1) RR version and build date.

2) What is the problem?

3) What are the exact steps needed to reproduce it from a clean flash?

4) Additional info. A logcat, screenshots, videos, anything that may help.

You should understand that without that info I, most likely, will not be able to reproduce this bug and fix it.

Q: Can i use other GAPPS packages?

A: You may try. There's no guarantee that they will work, however.

Q: What's the best config for this rom? CPU/GPU/IO scheduler, readahead value, etc?

A: You should disable developer options, unless you are a developer. Most used features from them (Advanced reboot, force GPU compositing, animation duration) were transferred to configuration->button settings, configuration->performance and configuration->animations. Everything else should be left stock.

Q: Should i use CTT mod? Or a custom kernel? Or any other performance mod with this rom?

A: I believe that you shouldn't. At least, try vanilla RR for 3-4 days before installing such mods. They are double-edged: they increase performance but decrease stability and battery life.

Q: What about battery life?

A: I personally lose 0.5-0.7% per hour of standby (With LTE, sync and Bluetooth enabled), and have 4.30-5.30 h of SOT while browsing on LTE. I consider these results to be quite good.

Q: When i change resolution/density with my favorite program, my phone reboots! Why?

A: Because RR reloads SystemUI after successful 'wm density'. It is needed to fix navbar&statusbar after dpi change. Solution: use 'wm size widthxheight && wm density xxx' from terminal. Example: 'wm size 1080x1920 && wm density 340'. WARNING: do not do this from root user... wm won't work as root.

P.S. - some newer programs, such as ScreenShift, are bypassing this. You may not need to use terminal.

Q: What about stock features? Quick Circle, Quick Remote, LG Health, LG Camera, "Phone as Bluetooth speaker", etc.?

A: Currently, only "Double tap to wake", "Double tap on lockscreen and statusbar to sleep" and "Hide navbar in certain apps" (It's possible to set up expanded desktop this way) are included. You can find ports of Quick Circle and Quick Remote in "Apps and Themes" forum. Everything else is not included, and will probably never be. And yeah, there is no 4k recording. Or laser focus...

Q: How do i make "Double tap on empty space in launcher to sleep" work?

A: If you are using Nova Prime: go to "Nova settings->Gestures->Doule tap->Nova actions->Screen off". If you are using other launcher, download Screen Off and Lock and some launcher with a doubletap gesture. Make it launch "Applications -> Screen off".

Q: What camera should i use?

A: They all will have the same picture quality. I personally use inbuilt SnapCamera.

Q: How do i unlock all Snap camera's settings?

A: Press many times on "Red eyes" option in Photo mode, until a toast appears.

Q: How do i disable LED in DnD mode?

A: Go to "Settings->Notifications->Do Not Disturb->Priority only allows:", uncheck "Notification light".

Q: What toolchain and flags do you use?

A: UBER 5.x.x (Always latest one) with all Archi's optimisations - graphite, etc.

Useful links:

"How to Build Resurrection Remix ROM" tutorial

Resurrection Remix at Github

Resurrection Remix Forum

Resurrection Remix at Google Plus

PitchBlack™ Themes

My "Android File Host" directory

My GitHub profile

Kernel source

Big thanks to:

XDA developers

RR team

CM team

Omni team

Slim rom team

Dirty Unicorns team

JustArchi

Zane Zam

Eliminater74

AND OF COURSE TO ALL THE SUPPORTERS, DONATORS AND USERS