Development [ROM][UNOFFICIAL][13][RMX3085/nashc] LineageOS 20 for Realme 8

Search This thread

bengris32

Member
Dec 28, 2020
34
67
Moto G4 Plus
Samsung Galaxy J2
1607247455067-png.5435845

LineageOS is a free, community built, aftermarket firmware distribution of Android 13, which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit the Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

Code:
/*
* Your warranty is void.
* 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 the products you find here before flashing it!
* YOU are choosing to make these modifications.
*/

Instructions:
  • Unlock the bootloader with the guide mentioned later in this post
  • Ensure the device is running the RealmeUI 3 C.14 Firmware
  • Flash the included LineageOS recovery using fastboot
  • Reboot to recovery mode
  • Wipe system, data and cache
  • Flash the ROM and the Gapps
  • Reboot and enjoy!
Downloads:
Reporting Bugs:
  • DO NOT Report bugs if you're running a custom kernel, flashed the ROM without using Lineage Recovery or you installed Xposed/Zygisk modules
  • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
  • If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
Known issues:
  • Brightness range differs from stock.
  • Fingerprint sensor does not work for certain units.
  • Auto Brightness can be a bit buggy.
  • You tell me.
Notes:
  • RealmeUI 3 C.14 firmware is required.
  • The ROM supports all regional variants of the Realme 8 (RMX3085)
  • Do not ask for ETAs
How do i...
Reporting Bugs
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

Code:
What is your--
LineageOS version:
LineageOS Download url:
Gapps version:

Did you--
wipe:
restore with any backup apps:
reboot after having the issue:

Are you using--
a task killer:
a non-stock kernel:
magisk modules (list them here):
other modifications:

Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:

Contributors
@TheMalachite, @Rortiz2, @TechyMinati

Source Code
Device Tree: Here
Kernel Tree: Here
 
Last edited:

Kilo_Eurocorp

New member
Jan 21, 2023
3
0
The custom rom is really amazing, thank you for your job. I wonder if the fingerprint sensor could be fixed.
 

bengris32

Member
Dec 28, 2020
34
67
Moto G4 Plus
Samsung Galaxy J2
Fingerprint is not working.
What should i do ?

It doesn't work for me either

The custom rom is really amazing, thank you for your job. I wonder if the fingerprint sensor could be fixed.
Hey, it's kind of weird that you all seem to be having issues with the fingerprint reader. First of all, avoid using the "Extra Dim" feature as that does stop the fingerprint reader from working. If that doesn't resolve it, can you please install "Device Info HW" app from the play store and check what fingerprint sensor you have? It should either be "goodix_fp" or "anc_mtk". If you have the "goodix_fp" please also attach a logcat from when the device is booting up to when you try to enrol the fingerprint.
 

Medzik

Member
Nov 15, 2020
24
0
Hey, it's kind of weird that you all seem to be having issues with the fingerprint reader. First of all, avoid using the "Extra Dim" feature as that does stop the fingerprint reader from working. If that doesn't resolve it, can you please install "Device Info HW" app from the play store and check what fingerprint sensor you have? It should either be "goodix_fp" or "anc_mtk". If you have the "goodix_fp" please also attach a logcat from when the device is booting up to when you try to enrol the fingerprint.
I have goodix_fp
my logcat: https://pastebin.com/raw/7TqxX82y (sorry for such a one but I did it with termux, then I can do it from the computer because I currently do not have access)
Screenshot_20230123-122232_Device Info HW.png
 

Kilo_Eurocorp

New member
Jan 21, 2023
3
0
Hey, it's kind of weird that you all seem to be having issues with the fingerprint reader. First of all, avoid using the "Extra Dim" feature as that does stop the fingerprint reader from working. If that doesn't resolve it, can you please install "Device Info HW" app from the play store and check what fingerprint sensor you have? It should either be "goodix_fp" or "anc_mtk". If you have the "goodix_fp" please also attach a logcat from when the device is booting up to when you try to enrol the fingerprint.
Device info HW indeed report goofix_fp as the sensor on my device. I don't have extra fim feature active. Here are the logcat files, the first one is for boot and the second one is for the registration of the fingerprint ( I opened settings, security and tried to register my fingerprint). The log files I think are filled with junk from other things running but I don't know how to filter them out.
 

Attachments

  • bootlog.txt
    4.9 MB · Views: 14
Last edited:

Kilo_Eurocorp

New member
Jan 21, 2023
3
0
Device info HW indeed report goofix_fp as the sensor on my device. I don't have extra fim feature active. Here are the logcat files, the first one is for boot and the second one is for the registration of the fingerprint ( I opened settings, security and tried to register my fingerprint). The log files I think are filled with junk from other things running but I don't know how to filter them out.
Here is a more stripped down log of what is happepening during the registration process of the fingerprint:

01-23 16:34:55.345 1411 1611 I ActivityTaskManager: START u0 {cmp=com.android.settings/.biometrics.fingerprint.FingerprintEnrollEnrolling (has extras)} from uid 1000
01-23 16:34:55.348 27492 27510 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:55.352 1411 7393 W ActivityTaskManager: Tried to set launchTime (0) < mLastActivityLaunchTime (8155215)
01-23 16:34:55.360 27492 27492 I SetupLibrary: [ThemeHelper] Return SudFullDynamicColorTheme_DayNight
01-23 16:34:55.362 27492 27510 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:55.363 27492 29205 D libMEOW : meow new tls: 0xb400007a3b7bc220
01-23 16:34:55.363 27492 29205 D libMEOW : applied 1 plugins for [com.android.settings]:
01-23 16:34:55.363 27492 29205 D libMEOW : plugin 1: [libMEOW_gift.so]: 0xb4000079fb5b9840
01-23 16:34:55.363 27492 29205 D libMEOW : rebuild call chain: 0xb400007a3b94c3b0
01-23 16:34:55.363 27492 29205 D libMEOW : meow delete tls: 0xb400007a3b7bc220
01-23 16:34:55.365 810 810 I Accelerometer: batch: handle:0, flag:0,samplingPeriodNs:80000000 maxBatchReportLatencyNs:0
01-23 16:34:55.366 810 810 I Accelerometer: flush, flushCnt:1
01-23 16:34:55.377 27492 27510 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:55.379 27492 27492 D FingerprintEnrollEnrolling: Enrollment not started yet
01-23 16:34:55.380 810 887 I Accelerometer: flush complete, flushCnt:0
01-23 16:34:55.385 1411 1611 D CoreBackPreview: Window{6a80f8e u0 com.android.settings/com.android.settings.biometrics.fingerprint.FingerprintEnrollEnrolling}: Setting back callback OnBackInvokedCallbackInfo{[email protected]bc, mPriority=-1}
01-23 16:34:55.396 27492 27510 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:55.396 27492 27510 E OpenGLRenderer: Unable to match the desired swap behavior.
01-23 16:34:55.400 27492 27510 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:55.401 27492 27510 W Parcel : Expecting binder but got null!
01-23 16:34:55.406 1411 1515 I ActivityTaskManager: Displayed com.android.settings/.biometrics.fingerprint.FingerprintEnrollEnrolling: +60ms
01-23 16:34:55.409 27492 27510 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:55.411 27492 27510 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:55.426 27492 27510 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:55.428 27492 27510 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:55.429 2531 2531 I GoogleInputMethodService: GoogleInputMethodService.onFinishInput():3227
01-23 16:34:55.430 2531 2531 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2087 repeatCheckTimes = 0, unlocked = true
01-23 16:34:55.431 2531 2531 I GoogleInputMethodService: GoogleInputMethodService.onStartInput():1877 onStartInput(EditorInfo{inputType=0x0(NULL) imeOptions=0x0 privateImeOptions=null actionName=UNSPECIFIED actionLabel=null actionId=0 initialSelStart=-1 initialSelEnd=-1 initialCapsMode=0x0 hintText=null label=null packageName=com.android.settings fieldId=-1 fieldName=null extras=null}, false)
01-23 16:34:55.431 2531 2531 I GoogleInputMethodService: GoogleInputMethodService.shouldHideHeaderOnInitialState():4008 ShouldHideHeaderOnInitialState = false
01-23 16:34:55.432 2531 2531 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2087 repeatCheckTimes = 2, unlocked = true
01-23 16:34:55.440 27492 27510 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:55.446 27492 27510 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:55.455 27492 27510 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:55.461 27492 27510 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:55.475 27492 27510 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:55.476 27492 27510 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:55.492 27492 27510 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:55.494 27492 27510 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:55.510 27492 27510 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:55.512 27492 27510 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:55.526 27492 27510 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:55.543 27492 27510 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:55.559 27492 27510 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:55.576 27492 27510 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:55.591 27492 27510 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:55.609 27492 27510 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:55.628 27492 27510 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:55.635 27492 27510 D OpenGLRenderer: endAllActiveAnimators on 0xb40000794b614fe0 (InsetDrawable) with handle 0xb40000785b6579a0
01-23 16:34:55.648 1411 1411 D BiometricScheduler/Fingerprint21: [Added] {[31] com.android.server.biometrics.sensors.fingerprint.hidl.FingerprintUpdateActiveUserClient, proto=1, owner=android, cookie=0, requestId=-1, userId=0}, new queue size: 1
01-23 16:34:55.648 1411 1411 D BiometricScheduler/Fingerprint21: [Polled] {[31] com.android.server.biometrics.sensors.fingerprint.hidl.FingerprintUpdateActiveUserClient, proto=1, owner=android, cookie=0, requestId=-1, userId=0}, State: 0
01-23 16:34:55.648 1411 1411 D BiometricScheduler/Fingerprint21: [Started] {[31] com.android.server.biometrics.sensors.fingerprint.hidl.FingerprintUpdateActiveUserClient, proto=1, owner=android, cookie=0, requestId=-1, userId=0}
01-23 16:34:55.648 1411 1411 D FingerprintUpdateActiveUserClient: Already user: com.android.server.biometrics.s[email protected]ece22d8, returning
01-23 16:34:55.648 1411 1411 D BiometricSchedulerOperation: [Finished / destroy]: {[31] com.android.server.biometrics.sensors.fingerprint.hidl.FingerprintUpdateActiveUserClient, proto=1, owner=android, cookie=0, requestId=-1, userId=0}
01-23 16:34:55.648 1411 1411 V BiometricSchedulerOperation: started: {[31] com.android.server.biometrics.sensors.fingerprint.hidl.FingerprintUpdateActiveUserClient, proto=1, owner=android, cookie=0, requestId=-1, userId=0}, State: 5
01-23 16:34:55.648 1411 1411 D BiometricScheduler/Fingerprint21: [Added] {[32] com.android.server.biometrics.sensors.fingerprint.hidl.FingerprintEnrollClient, proto=2, owner=com.android.settings, cookie=0, requestId=10, userId=0}, new queue size: 1
01-23 16:34:55.648 1411 1411 V BiometricScheduler/Fingerprint21: Not idle, current operation: {[31] com.android.server.biometrics.sensors.fingerprint.hidl.FingerprintUpdateActiveUserClient, proto=1, owner=android, cookie=0, requestId=-1, userId=0}, State: 5
01-23 16:34:55.648 1411 1411 D BiometricScheduler/Fingerprint21: [Finishing] {[31] com.android.server.biometrics.sensors.fingerprint.hidl.FingerprintUpdateActiveUserClient, proto=1, owner=android, cookie=0, requestId=-1, userId=0}, success: true
01-23 16:34:55.648 1411 1411 D BiometricScheduler/Fingerprint21: [Polled] {[32] com.android.server.biometrics.sensors.fingerprint.hidl.FingerprintEnrollClient, proto=2, owner=com.android.settings, cookie=0, requestId=10, userId=0}, State: 0
01-23 16:34:55.649 1411 1411 D GestureAvailabilityTracker: Notifying gesture availability, active=false
01-23 16:34:55.649 810 810 I WiseLight: batch: handle:90, flag:0,samplingPeriodNs:200000000 maxBatchReportLatencyNs:0
01-23 16:34:55.651 1411 1411 V ALSProbe: Enable ALS: 68047126
01-23 16:34:55.651 1411 1411 D BiometricScheduler/Fingerprint21: [Started] {[32] com.android.server.biometrics.sensors.fingerprint.hidl.FingerprintEnrollClient, proto=2, owner=com.android.settings, cookie=0, requestId=10, userId=0}
01-23 16:34:55.651 1411 1411 D BiometricStateCallback: State updated from 0 to 1, client {[32] com.android.server.biometrics.sensors.fingerprint.hidl.FingerprintEnrollClient, proto=2, owner=com.android.settings, cookie=0, requestId=10, userId=0}
01-23 16:34:55.653 1157 1157 D [email protected]: OpticalFingerprint enroll
01-23 16:34:55.653 1157 1157 E [GF_HAL][FingerprintCore]: [enroll] gid : 0.
01-23 16:34:55.653 1157 1157 E [GF_HAL][SZFingerprintCore]: [prepareEnrollRequest] spmt is not pass, please to do the process of spmt
01-23 16:34:55.653 1157 1157 E [GF_HAL][FingerprintCore]: [enroll] exit. err=GF_ERROR_CANCELED, errno=1008
01-23 16:34:55.653 1157 1157 E [email protected]: An unknown error returned from fingerprint vendor library: 1008
01-23 16:34:55.653 1411 1411 V BiometricSchedulerOperation: started: {[32] com.android.server.biometrics.sensors.fingerprint.hidl.FingerprintEnrollClient, proto=2, owner=com.android.settings, cookie=0, requestId=10, userId=0}, State: 2
01-23 16:34:55.654 1721 1721 V UdfpsEnrollHelper: Using old coordinates
01-23 16:34:55.665 1411 7393 D CoreBackPreview: Window{1668a2 u0 UdfpsControllerOverlay}: Setting back callback OnBackInvokedCallbackInfo{[email protected]f0, mPriority=0}
01-23 16:34:55.667 1721 1721 V UdfpsController: showUdfpsOverlay | adding window reason=2
01-23 16:34:55.668 1721 1721 V UdfpsView: onAttachedToWindow
01-23 16:34:55.675 1721 1920 E OpenGLRenderer: Unable to match the desired swap behavior.
01-23 16:34:55.681 1721 1920 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:55.682 1721 1920 W Parcel : Expecting binder but got null!
01-23 16:34:56.008 805 1002 I hwcomposer: [HWC] (0)fire a callback of refresh to SF[4]
01-23 16:34:56.033 872 872 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:56.176 1411 1411 W AccessibilityManagerService: wait for adding window timeout: 246
01-23 16:34:56.188 1721 1721 V UdfpsController: onTouch | action down
01-23 16:34:56.255 1157 1157 D [email protected]: onFingerDown
01-23 16:34:56.255 1157 1157 E [GF_HAL][FingerprintCore]: [touchdown]in
01-23 16:34:56.255 1157 1157 E [GF_HAL][FingerprintCore]: [set_hypnus] entry, action_type is 12, action_timeout is 500
01-23 16:34:56.255 1157 1157 D [email protected]: hypnusdSetAction(type=12, timeout=500)
01-23 16:34:56.255 1157 1157 I [email protected]: fingerprint try to acquire orms hal client !!!
01-23 16:34:56.256 542 542 I hwservicemanager: getTransport: Cannot find entry [email protected]::IOrmsHalProxy/ORMS_HAL_PROXY in either framework or device VINTF manifest.
01-23 16:34:56.256 1157 1157 D OrmsHalClient: Unable to get Orms Hal Service!
01-23 16:34:56.256 1157 1157 D OrmsHalClient: OrmsHalClient connect Orms_Hal_Proxy failed!
01-23 16:34:56.256 542 542 I hwservicemanager: getTransport: Cannot find entry [email protected]::IOrmsHalProxy/ORMS_HAL_PROXY in either framework or device VINTF manifest.
01-23 16:34:56.256 1157 1157 D OrmsHalClient: Unable to get Orms Hal Service!
01-23 16:34:56.256 1157 1157 D OrmsHalClient: OrmsHalClient check access permission failed!
01-23 16:34:56.256 1157 1157 D OrmsHalClient: get orms hal client instance failed
01-23 16:34:56.256 1157 1157 W RefBase : RefBase: Explicit destruction, weak count = 0 (in 0xb400007d708c3450). Use sp<> to manage this object.
01-23 16:34:56.257 1157 1157 W RefBase : CallStack::getCurrentInternal not linked, returning null
01-23 16:34:56.257 1157 1157 W RefBase : CallStack::logStackInternal not linked
01-23 16:34:56.257 1157 1157 E [email protected]: fingerprint orms setAction fail
01-23 16:34:56.263 1721 1721 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:56.263 1721 1721 V UdfpsController: onTouch | finger down: minor: 12,0, major: 12,0, v: 0,0, exceedsVelocityThreshold: false
01-23 16:34:56.271 1721 1920 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:56.274 1721 1920 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:56.283 872 872 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:56.303 872 872 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:56.320 872 872 E gralloc4: Empty SMPTE 2094-40 data
01-23 16:34:56.417 1721 1721 V UdfpsController: onTouch | finger move: minor: 13,0, major: 13,0, v: 0,0, exceedsVelocityThreshold: false
01-23 16:34:56.463 1721 1721 V UdfpsController: onTouch | finger up
01-23 16:34:56.465 1721 1721 E BufferQueueProducer: [SurfaceView[UdfpsControllerOverlay]#164(BLAST Consumer)164](id:6b9000000a4,api:0,p:-1,c:1721) disconnect: not connected (req=2)
01-23 16:34:56.465 1157 1157 D [email protected]: onFingerUp
01-23 16:34:56.465 1157 1157 E [GF_HAL][FingerprintCore]: [touchup] in
 

Louis3471

New member
Aug 7, 2022
3
0
Good afternoon!
Thank you for the great development work!

I want to clarify the approximate timing of the new assembly with the correction of the print?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    Hey all, I have found the issues which are causing fingerprint to not work, and a new build with the fix will be released in the near future.