[G3 Android Development] :
Okay, I fixed Bluetooth, found working Google Services, and compiled a new build. Surprisingly, the amount of fixes needed was rather low.

I consider this build "Beta". RIL, deep sleep, Wi-Fi, Bluetooth, sensors (Accelerometer, compass), NFC, GPS, Google Play Services and apps work. There still may be some broken things, though.

P.S. seems like Google Services are still crashing sometimes. Will look into it.

P.S. 2 - found the reason.

P.S. 3 - libjavacore.so fix applied. If you flashed this build, also replace /system/lib/libjavacore.so with this one.

Full wipe is recommended. If you want to dirtyflash, then clear "Google Play Store", "Google Services Framework" and "Google Play services" data and cache before installing this build.

... And yeah, Ambient display is still broken.

Downloads:

Android File Host

Google Drive

Mega

GApps

Highlights (In comparison with latest preview from sep 17):

0. Compiled everything with UBER 5.2 toolchain, -O3 and some more flags. Performance increased, but so did memory usage, though not by much (~50-80 mb total).

1. On-The-Go mode.

On-The-Go turns on the camera of your phone and streams it to an overlay,

which is drawn over everything.

this makes you feel like your display is transparent, as you see the content

behind it.

its really useful when you are using your phone while walking, thats why

we called it "On-The-Go"

It can be activated from power menu. To add it to this menu, go to "Configuration-Buttons-Power menu".

2. Lockscreen shortcuts fixed. Also, option "Long press on lock icon locks phone" changed to "Long press on lock icon enables torch".

3. "Clean recents by shaking" works now.

4. Carrier label settings reworked. Now you can select to show it on lockscreen, status bar, both or none.

5. More BFQIO & priority improvements. Cleaned services up, removed weights (we're not using them), vsync and inputflinger threads now have right priority.

In short, this means that background things - sync, downloads, services, etc. will not affect system performance.

6. Of course, all commits from CM-12.1 are included.

Full changelog:

====================

09-21-2015

====================

* build/

d0c408c Archi's optimizations

* external/bluetooth/bluedroid/

64cc4f3 Use -01 for bluetooth.default.so

* frameworks/base/

d1dce33 SystemUI: Fix navbar switch logic

7a7dd06 DocumentsUI: Move & improve CAF string

ebcb14c IMS: revert: ims: More backwards-compatibility stuff

d41639d IMS Connection Capabilities Update

1cf2ae9 IMS: Allow add participant with normal IMS call.

426cc3d IMS: Initialize audio quality with NONE instead of AMR_WB.

00d7739 Fixing conference merge where only one party is added to conference.

110c512 Add call log types definition for Ims call.

6afcc9c IMS-VT: Add additional error codes for upgrade downgrade

50a00b6 Ims: Add support to query Packet Count and Packet Error Count

5313131 Add support for wifi calling settings

b1e9ebe IMS: During CS retry, propagate reason code to UI

253d98d IMS: add ImsConfig api to get volte provisioned value.

a188787 IMS: change getMasterValue to getProvisionedValue.

94151ce IMS: Add interface to query call forward for specific service class.

b94ab90 Revert "ims: Bring in line with current release"

31269e3 lockscreen: Add option for showing unlock screen directly (Gesture)

b0d111c lockscreen: Add option for showing unlock screen directly (1/2)

be0a14c rework carrier label 2/2 AICPfy: PS3: Add checks for voice capability PS4: fix KeyGuardStatusBarView state check PS5: fix whitespace PS6: change WiFi-only logic

* frameworks/native/

4e6e39e input: Adjust priority

* hardware/qcom/display-caf/msm8916/

7313236 hwc: Set ioprio for vsync thread

* hardware/qcom/display-caf/msm8960/

6d8eb85 hwc: Set ioprio for vsync thread

* hardware/qcom/display-caf/msm8974/

2ca9c7a hwc: Set ioprio for vsync thread

* hardware/qcom/display-caf/msm8994/

0088877 hwc: Set ioprio for vsync thread

* packages/apps/Gallery2/

40a304a Move & improve CAF strings

* packages/apps/Settings/

e7420fa carrier label : Fix ListPreference

3268d2f Merge pull request #225 from razor84/patch-9

d5c9b07 Update rr_strings.xml

f9d6b29 Edit RR logo strings

5a8ac7d remove this P.O.S

d47bfac lockscreen: Add option to pass swipe-up-to-unlock (Gesture)

9da0a22 lockscreen: Add option to pass swipe-up-to-unlock (2/2)

46434a7 Carrier label : Remove duplicate int intColor call

91f6e8e Remove lock screen hide carrier

1d6c24f Fix typo on TR translations

6ef192b Rework carrier label 2/2

* packages/services/Telephony/

a3e73dd Move & improve Wi-Fi call settings strings

147a69f IMS: Allow dial with empty URI List.

450705d IMS: Fix crash during midcall disabled multicall SRVCC.

fda19f9 IMS: Allow add participant with normal IMS call.

3b95ee6 IMS: Turn on radio during wifi scenario

9d08481 IMS: Update conferenceHostConnection state for a conference call

5bb18c1 Revert "Ims: Update conferenceHostConnection state for a conference call"

09c6307 MSIM IMS: convert to phone ID based selection.

0794624 IMS Conference notifyConferenceStarted API

e6b3903 Add support for Wifi calling settings UI

7776641 Ims: UI changes for Packet Count and Packet Error Count

* system/core/

8df64c7 cutils: Remove ioprio magic

3328ca3 cutils: Clean up ioprio grouping

* vendor/cm/

e436ce4 Fix navbar glitches on hardware button devices

e342f9a Turn navbar off as default

9f037aa cm: Clean up cgroups

0a9c354 cm: Fix a few denials

0e04aba cm: Remove xattr option from bfqio cgroup

62ff7eb cm: Update shared init.rc

* vendor/cmsdk/

9f9e9cd packages: Remove CMResolver

====================

09-20-2015

====================

* build/

27c955c Archi's optimizations

* device/qcom/sepolicy/

0e7a34a Revert "SEPolicy : Added policy for oma drm"

4cf68fa SEPolicy : Added policy for oma drm

10ac2c3 seandroid: imscm needs to communicate with apps

5270bef Sepoilcy : add new file for CSVT specific policies

1c200f0 Seandroid: Allow dumpsys to work from adb shell

cd60a25 sepolicy: policy for imscm to app binder call

* frameworks/base/

187f5bb SystemUI: Update RR Logo Drawables

6dc229e Simplify getting total memory:

631ce5c Fix animation sequence for upload tasks

* frameworks/opt/telephony/

8c34198 IMS: During CS retry, propagate reason code to UI

e8cceac Revert "IMS phone instantiation: add polling on base phone creation"

5003df2 IMS: Fix CF icon issue when enable from UI.

b972ca1 IMS: Fix ConcurrentModification exception during SRVCC.

305df78 IMS: Propagating MMI error string to UI

33d4741 Fix the issue that Volte call is not cleaned up properly from telephony framework when call failure is notified through dial command response.

a579503 IMS: Ims Registration error codes support

31ac4e2 IMS: add the api to get IMS registration information.

d2727fc IMS: Add support for sending ADD_PARTICIPANTS response to apps.

5c51019 Notify ServiceState for IMS registration

d921af2 IMS: Turn on radio during wifi scenario

e4e5824 Ims: Enable IMS feature in multi-sim

c865900 Revert "telephony: Bring IMS in line with current relese"

* kernel/lge/g3/

fd5716b toolchain: one more fix for gcc 5

d5baf68 toolchain: fixes for GCC 5

* packages/apps/Settings/

b51a718 Merge pull request #224 from razor84/patch-13

e7aec50 Update rr_strings.xml

c784eed Update rr_strings.xml

* packages/services/Telecomm/

7f9cf3c Save Ims related call log after call disconnected.

* system/core/

a642430 cutils: Fix display ioprio

d666fed cutils: Fix copypasta in ioprio code

* vendor/lge/

6167c4f vk810: 35A RIL bringup

====================

09-19-2015

====================

* frameworks/base/

9010407 QS: Update visibility of items in Bluetooth/WiFi tiles

8238798 Themes: Set composed icon scale to 1f default

7b65d30 Default to Resolver Theme

f3bfe40 Fix Custom Resolver Theming

15fef64 On-the-go : Improve quick settings dialog

d2603f8 Fix Resolver Theming

8f8bd83 SettingsProvider: move Profile picker activity (1/2)

f8b692e SystemUI: add missing super viewgroup method calls

b04b447 Fix race condition in panel expansion handling.

bbdc3a7 Squashed On-The-Go mode (1/2)

6f28bff Fix Launch Notification as Float Icon

* hardware/qcom/display-caf/msm8916/

c115bfd qdutils: Fix misleading log message

* packages/apps/Gallery2/

704bff7 Gallery2 : Delete and Details options are not visible on Camera preview

ea87a93 Gallery2 : Video share option is not working

* packages/apps/OTACenter/

f37fa6c Add stock gapps arm link

* packages/apps/Profiles/

aa39fbc Profiles: add profile picker Activity (2/2)

* packages/apps/Settings/

cce465d Lock screen weather : Remove duplicate color pickers

a638fe7 Fix lockscreen settings xml (Fix locksreen shortcuts settings)

208730c [2/2] Settings: On-The-Go mode On-The-Go turns on the camera of your phone and streams it to an overlay, which is drawn over everything. this makes you feel like your display is transparent, as you see the content behind it.

4657874 Update rr_strings.xml

6a43a22 Merge pull request #223 from Fast0n/patch-72

6a0e8da Update rr_strings.xml

430a175 Update rr_strings.xml

f6a27b1 Update rr_strings.xml

* vendor/cm/

aee9634 cm: Set IOPS mode for CFQ and BFQ automatically

065d97c vendor/cm: Remove custom resolver from OSS builds.

d3d8d1a Removes Empty String For Resolver

====================

09-18-2015

====================

* android/

c79fa58 Update README.mkdn

d4c534f Merge pull request #39 from pranav01/lollipop5.1

02a4029 Few Needed Packages!

* frameworks/base/

205b042 Fix Build

b0de3eb base: fix window bounds for left hand navigationbar

4461f51 framework: add string for wifi subscription change notification

e39b7da SystemUI: don't show recents if not provisioned

2485770 Fingerprint wakeup: more consistent behavior

0457ca5 Allow disabling the privacy guard notification (2/2)

56889d6 Fixed: Wrong status bar notification layout width.

c0f6185 Base : Squashed Updates

6612bbd services: do not keep notification light on, while incall

c8eb897 SystemUI: screenshot: remove screenshot notification before taking screenshot

324dcc5 Revert "Squashed: base:Clean recent task by shake(1/2)"

0f4ecb5 Revert "Recents:Fix build"

efb83ce Recents:Fix build

* frameworks/opt/net/wifi/

5a4704d wifi: disable access point on subscription change

* hardware/qcom/display-caf/msm8960/

d9816c5 display: Set thread priority using cutils

* packages/apps/OTACenter/

565bc89 Merge branch 'lollipop5.1' of https://github.com/ResurrectionRemix/packages_apps_OTACenter into lollipop5.1

45eb59d Update gapps link

9337de7 Merge pull request #10 from razor84/patch-3

* packages/apps/Settings/

ab14b91 Settings: Update Some Configuration Strings

b4ac5fc Allow disabling the privacy guard notification (1/2)

200bfa6 Setting: Match brightness override padding to volume override

5598196 APN: Fix typo

78cc7ab settings : Squashed Updates

4845b4b Update string

a48770b StatusBar Settings: Hide "Disable Quick Settings On Lockscreen"

854fbb0 Maintainers:Update LG G3 d855 Maintainer

9a56646 Settings: Configurations:Add Some Preference Headers

717fb47 Merge pull request #220 from ShevT/patch-1

d04ea18 Update RU translation

====================

09-17-2015

====================

* device/lge/g3-common/

c03d2bc Disable audio offload

f2c896e sepolicy: remove duplicate livedisplay entry

* frameworks/av/

22f55ad frameworks/av : Drm media file uses mm-parser sniffer

36e9779 Media: Make media support DRM file's playing

* frameworks/base/

14b8315 Squashed: base:Clean recent task by shake(1/2)

ca86bf6 Merge branch 'lollipop5.1' of github.com:ResurrectionRemix/android_frameworks_base into lollipop5.1

3516d1b SystemUI : Improve Recents

59e7bb2 Merge pull request #49 from ShevT/patch-1

f91f82b Merge pull request #50 from ShevT/patch-2

8ed41ee Update RU translation

73857ae Update RU translation

37214d8 Recents:Fix build

3bfb742 fingerprint wakeup: improve state and error handling

b7ccea0 Recents: Delay cleanup of remaining tasks when dismissing

* frameworks/opt/net/wifi/

1392c1a Merge branch 'LA.BF64.1.2.1_rb2.33' of git://codeaurora.org/platform/frameworks/opt/net/wifi into cm-12.1

* hardware/qcom/display-caf/msm8916/

e9f7b80 display: Set thread priority using cutils

* hardware/qcom/display-caf/msm8974/

36acb02 display: Set thread priority using cutils

* hardware/qcom/display-caf/msm8994/

a70c883 display: Set thread priority using cutils

* packages/apps/CMFileManager/

7676605 [CMFileManager] Fix fail to move a folder

* packages/apps/OTACenter/

a316d05 Update strings.xml

7e03de1 Merge pull request #9 from ShevT/patch-1

7df7ae5 Added RU translation

* packages/apps/OmniSwitch/

f7580ac Merge pull request #1 from ShevT/patch-1

100fc2a Update RU translation

* packages/apps/Settings/

1a94e2f Merge pull request #219 from Fast0n/patch-69

7c68dcb Merge branch 'lollipop5.1' of github.com:ResurrectionRemix/Resurrection_packages_apps_Settings into lollipop5.1

e7afc98 Settings :Clean recent task by shake(1/1)

2047a59 Update string

d5187ed Merge pull request #218 from ShevT/patch-2

38c3431 Merge pull request #217 from ShevT/patch-1

029ac3d Update RU translation

9a1132d Update RU translation

8e7ad92 Merge pull request #216 from Fast0n/patch-68

fd2e582 Fix TR translations typo

43be5e5 Fix TR translations

76831ae Update string

8472d81 Merge pull request #215 from razor84/patch-10

9dedac4 Merge branch 'lollipop5.1' of github.com:ResurrectionRemix/Resurrection_packages_apps_Settings into lollipop5.1

5c6b86c Merge branch 'lollipop5.1' of github.com:ResurrectionRemix/Resurrection_packages_apps_Settings into lollipop5.1

3bdd81a Update rr_strings.xml

* prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/

7789b10 ArchiToolchain 5.2.X R2

* system/core/

54521d0 Revert "Add HTC Logging functions to support newer HTC props."