• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][UNOFFICIAL] LineageOS 18.1

Search This thread

ugurbor

Member
Mar 6, 2013
28
10
I don't experience these issues. The volume is pretty loud. I think I also have the newest firmware and didn't do something special besides flashing the rom with the NikGApps.

Here are my findings after 2 days of use:
  • Battery life is like EvolutionX (where I come from). Roughly 2 days max. with >6 hours display on time.
  • Rom is very stable. No crashes here.
  • Fingerprint reader works ok. I was surprised of the newest EvolutionX version. I thought it was really quick. Nevertheless it works most of the time and is not something I would complain about.
  • Opening the app drawer and swiping though homescreens sometimes still stutters. It also feels like the maximum speed at which I can swipe the homescreens seems limited. That feels a little bit unresponsive.
    When the app drawer is open it scrolls blazingly fast.
  • The only real complaint I have concerns the Bluetooth. When the screen is locked the connection between my watch and the smartphones drops occasionally and it doesn't connect again until a wake the phone. That's annoying because I use my watch get message notifications.
    It also does not connect automatically after returning from a run where my watch is out of Bluetooth reach. For me it seems like there is a power saving option for Bluetooth enabled but I can't find anything in the settings to turn it off.
    I didn't experience this issue with the stock MIUI, LOS 17 and EvolutionX.
Otherwise I had no problems until now. (y)
I am having the same slowdowns in animations but they are easily fixed by a restart. Not sure what is the problem.
I also found the ROM really stable. Hoping we can have frequent updates.
 

suisujin2

Member
Jan 28, 2021
39
17
I have still these Bluetooth problems where my watch disconnects constantly. I tried to pair it again and even removed it from the Garmin app. This did not work.
I saved a log file and there is an error regarding Bluetooth but I don't know if this has anything to do with the disconnects. Here is an excerpt with the error "E/BluetoothPhonePolicy":
Code:
[07-07 10:26:34.074 2304:3112 V/bt_stack]
[VERBOSE1:bta_gattc_main.cc(361)] bta_gattc_hdl_event: Event:BTA_GATTC_INT_CONN_EVT

[07-07 10:26:34.074 2304:3112 V/bt_stack]
[VERBOSE1:bta_gattc_main.cc(385)] Ignore unknown conn ID: 5

[07-07 10:26:34.074 2304:3112 V/bt_stack]
[VERBOSE1:bta_gattc_main.cc(361)] bta_gattc_hdl_event: Event:BTA_GATTC_INT_CONN_EVT

[07-07 10:26:34.074 2304:3112 V/bt_stack]
[VERBOSE1:bta_gattc_main.cc(305)] bta_gattc_sm_execute: State 0x00 [GATTC_IDLE_ST], Event 0x1f0c[BTA_GATTC_INT_CONN_EVT]

[07-07 10:26:34.074 2304:3112 V/bt_stack]
[VERBOSE1:bta_gattc_act.cc(488)] bta_gattc_conn: server cache state=0

[07-07 10:26:34.074 2304:3112 V/bt_stack]
[VERBOSE1:bta_gattc_act.cc(491)] bta_gattc_conn: conn_id=0x0006

[07-07 10:26:34.074 2304:3112 V/bt_stack]
[VERBOSE1:gatt_api.cc(1269)] GATT_GetConnectionInfor conn_id=0x0006

[07-07 10:26:34.078 2304:2304 E/BluetoothPhonePolicy]
Received unexpected intent, action=android.bluetooth.device.action.ACL_CONNECTED

[07-07 10:26:34.078 2304:2304 I/BluetoothPhonePolicy]
processDeviceConnected, device=10:4E:89:E9:8D:B0

[07-07 10:26:34.078 2304:2304 D/BluetoothDatabase]
setConnection: device=10:4E:89:E9:8D:B0 and isA2dpDevice=false

[07-07 10:26:34.078 2304:2304 D/BluetoothDatabase]
Updating last connected time for device: 10:4E:89:E9:8D:B0 to 815

[07-07 10:26:34.078 2304:2304 D/BluetoothDatabase]
updateDatabase 10:4E:89:E9:8D:B0

[07-07 10:26:34.079 2304:3112 V/bt_stack]
[VERBOSE1:bta_gattc_main.cc(305)] bta_gattc_sm_execute: State 0x02 [GATTC_CONN_ST], Event 0x1f0e[BTA_GATTC_DISCOVER_CMPL_EVT]

I've also attached the whole log.
 

Attachments

  • logcat_07-07-2021_11-24-26.txt
    3.6 MB · Views: 1

Englezos

Senior Member
Mar 30, 2014
313
1,086
www.penglezos.com
New release is up!

Changelog:
- Based on July security patch
- Latest LineageOS changes
- Latest Linux Kernel stable changes
- Update graphics blobs to LA.UM.9.1.r1-09600-SMxxx0.0
- Update blobs from MIUI V12.5.1.0.RFKMIXM
- Fixed pop up led stuck on some cases
- Fixed micro stutters on some user cases
- Fixed an issue where some apps shutdown the phone
- FOD Unlock improvements
- Other small code improvements

It is advised to flash latest Android 10 firmware before flashing this ROM according to your region. Clean flash is always recommended.

Thanks to everyone for reporting an issue properly by providing logs.
 

suisujin2

Member
Jan 28, 2021
39
17
New release is up!



It is advised to flash latest Android 10 firmware before flashing this ROM according to your region. Clean flash is always recommended.

Thanks to everyone for reporting an issue properly by providing logs.
Thanks @Englezos. Great work.

I flashed the latest Android 10 firmware and dirty flashed the ROM. I think the stutters are gone. Also, the FOD now aligns properly within apps.


I noticed a bug with ANXCamera with the old and new version. When I select the portait mode the app stops working with the error message "Camera error. Can't connect to camera". Does anyone have the same issue?
 
Last edited:

DontBeEvil

Member
Apr 5, 2021
25
13
Xiaomi Mi 5
Redmi K20 Pro
Please provide some logs. If you can't at least describe your flashing procedure in detail if you are encrypted or not. I don't know what you guys mess up.
Build: 20210713
Firmware: fw_raphael_miui_RAPHAELEEAGlobal_V12.0.5.0.QFKEUXM_d3be45d17a_10.0
Recovery: OrangeFox_11.1_1
Phone: Mi 9T Pro (EU variant)

Flashing procedure:
  1. Factory reset to wipe data and remove encryption if any
  2. Reboot to recovery (just to be sure that data is no longer encrypted and to recreate the Fox directory)
  3. wipe system, caches and vendor partitions
  4. flash the firmware
  5. flash the ROM
Tried doing a factory reset afterwards, wiped caches and flashed DFE/Fcrypt_Disabler but it didn't change anything.
Phone is stuck on lineageos boot animation for like a minute and then reboots into a recovery displaying message:
OrangeFox: Android Rescue Party trigger: Possible solutions? Either:
  1. Wipe data and caches, or
  2. Format data, and/or
  3. Clean-flash your ROM.
BUT: If you flash nikGapps after flashing the ROM, phone boots and everything works like a charm.

I tried to get some logs from the recovery but I'm not sure if I did that correctly.
If there's something else I can do to help you let me know.

Thank you for taking the time to help with this issue.
 

Attachments

  • recovery_20210717_162035.log.zip
    9.7 KB · Views: 2
  • recovery_20210717_162409.log.zip
    11 KB · Views: 1

Englezos

Senior Member
Mar 30, 2014
313
1,086
www.penglezos.com
Build: 20210713
Firmware: fw_raphael_miui_RAPHAELEEAGlobal_V12.0.5.0.QFKEUXM_d3be45d17a_10.0
Recovery: OrangeFox_11.1_1
Phone: Mi 9T Pro (EU variant)

Flashing procedure:
  1. Factory reset to wipe data and remove encryption if any
  2. Reboot to recovery (just to be sure that data is no longer encrypted and to recreate the Fox directory)
  3. wipe system, caches and vendor partitions
  4. flash the firmware
  5. flash the ROM
Tried doing a factory reset afterwards, wiped caches and flashed DFE/Fcrypt_Disabler but it didn't change anything.
Phone is stuck on lineageos boot animation for like a minute and then reboots into a recovery displaying message:

BUT: If you flash nikGapps after flashing the ROM, phone boots and everything works like a charm.

I tried to get some logs from the recovery but I'm not sure if I did that correctly.
If there's something else I can do to help you let me know.

Thank you for taking the time to help with this issue.

Thanks for your detailed report! Much appreciated! Although the procedure you followed does seems correct to me I can't figure out what's going on with you can't boot into system. I'll release a new build later on anyways so you can check out if it boots for you :)
 

Englezos

Senior Member
Mar 30, 2014
313
1,086
www.penglezos.com
New release is up!

Changelog:
- Latest LineageOS changes
- Latest Linux Kernel stable and QCOM changes
- Update vendor security patch
- Battery life improvements
- Drop power key boost and reduce input boost duration
- Remove headphone keylayout file (wired headphones button function should work fine)
- Other small code improvements

It is advised to flash latest Android 10 firmware before flashing this ROM according to your region. Clean flash is always recommended.

Thanks to everyone for reporting an issue properly by providing logs.
 

birdr

Senior Member
Aug 29, 2012
68
25
I installed the latest build on my Mi 9T Pro (EU variant) yesterday. Everything seems to be working well, and battery life seems excellent. Thanks again for all your efforts.

Of note for the install process:
- I experienced the same problems on this build as DontBeEvil did for previous - after a clean flash it would not boot, with symptoms as previously described. This was resolved by installing NikGapps core.
- The bug where the phone app is not set to answer calls by default is still there.

Separately: I finally resolved the low earpiece volume issue I mentioned previously. Flashing firmware upgrades did not work. I had to revert the phone to stock by using Mi flash tool to flash V11.0.3.0,.QFKEUXM and then Miui upgrading through to V12.0.5.0.QFKEUXM via over the air updates. I am extremely suspicious that my problem was caused by a bug that can occur when you upgrade firmware via xiaomifirmwareupdater.com website. Perhaps this will help anyone else having the problem.
 

suisujin2

Member
Jan 28, 2021
39
17
Does it make sense that I post my logs during flashing the new version even if it's working?
My phone is encrypted and I have the same problem when flashing the ROM without NickGApps. But once GApps are installed something get triggered every time a new ROM version is flashed and I don't have to flash GApps again.

If so, how do I save logs when flashing with TWRP before or during boot?
 
Feb 3, 2013
48
11
I have the same boot issue like some of the guys here. Trying to boot without gapps
Would like to contribute logs but the phone never gets far enough to a place where logcat would work. Where are the boot logs? I could try to get it off twrp file manager.
I don't think it's a flashing issue
 

DontBeEvil

Member
Apr 5, 2021
25
13
Xiaomi Mi 5
Redmi K20 Pro
I have the same boot issue like some of the guys here. Trying to boot without gapps
Would like to contribute logs but the phone never gets far enough to a place where logcat would work. Where are the boot logs? I could try to get it off twrp file manager.
I don't think it's a flashing issue
I don't use TWRP so I'm not sure, but there should be the 'Copy Log' button in the 'Advanced' tab.
This should place the log file in your internal storage.
 

suisujin2

Member
Jan 28, 2021
39
17
I tried dirty flashing version lineage-18.1-20210717-UNOFFICIAL-raphael.zip but it doesn't boot. Then I reverted back to lineage-18.1-20210713-UNOFFICIAL-raphael.zip and everything is fine again. I've attached TWRP and kernel logs.
Does it boot when I do a factory reset? Or should I try to flash NickGApps again? Honestly I don't want to spend the time installing everything again and to get all the settings right.

Edit:
I can't attach files. Here are pastebin links:
Kernel
TWRP
 
Last edited:
  • Like
Reactions: Englezos

Englezos

Senior Member
Mar 30, 2014
313
1,086
www.penglezos.com
New release is up! Make sure you clean flash and follow the installation instructions from the first post!

Changelog:
- Rebased on a new more stable tree (Clean flash is a MUST)
- Latest LineageOS changes
- Latest MIUI vendor changes
- Better audio quality
- Fixed abnormal phone heat due to Android 11 firmware
- Fixed offline charging (charge while your phone is powered off no longer reboots)
- Fixed call recording on dialers
- Synced color modes with coral
- Many more small improvements

Notes:
- OSS Non-dimlayer ROM
- You can flash custom kernels but no support will be provided
- Recovery and Widevine L1 persists if patched via MIUI.
 

matiidenys

New member
Aug 22, 2021
1
0
Hello there. Is DC Dimming available in the last build? If so, is it working properly, just as it does in MIUI vendor roms?
(flashed, no, it doesn't have)
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    New release is up! Make sure you clean flash and follow the installation instructions from the first post!

    Changelog:
    - Rebased on a new more stable tree (Clean flash is a MUST)
    - Latest LineageOS changes
    - Latest MIUI vendor changes
    - Better audio quality
    - Fixed abnormal phone heat due to Android 11 firmware
    - Fixed offline charging (charge while your phone is powered off no longer reboots)
    - Fixed call recording on dialers
    - Synced color modes with coral
    - Many more small improvements

    Notes:
    - OSS Non-dimlayer ROM
    - You can flash custom kernels but no support will be provided
    - Recovery and Widevine L1 persists if patched via MIUI.
    2
    Hi community
    I've never used LineageOS, but was reading about it for years. I always read how clean it is, how smooth it's working and so on. Would be nice to try it, but also would be nice before to know is there any cons in this OS (ROM)?
    Maybe battery life is not that good as in stock?
    Maybe camera not that good as stock 48MP (GCam provide just 12MP sharp images, for 48MP sharp photo need to use stock)?
    Maybe there are some safety issues?
    ect.

    Please, can you share your experience about cons of LineageOS on Mi 9T Pro?
    Thank you
    I've used CyanogenMod and LOS in the past. In my experience it was always more stable than other ROMs, especially regarding updates. I think the developer is doing a great job but you have to keep in mind that this ROM (as all the others) is not official. So you have no OTA updates for example. For the last update it was mandatory to do a wipe which always bugs me a little.
    When it runs the ROM is very stable for me. Sometimes there are animation errors. I don't know what causes them.

    One downside is the camera. LOS has a build in one but it can only use the main camera. The GCam mods worked for my but they do not correct the heavy distortion of the ultra wide angle lens and produce color banding in certain situations like an overcast sky.
    ANXCamera worked good with the Android 10 firmware and older ROM versions but now it always crashes when I try to enable the UWA camera or portrait mode.
    I don't use the 48MP mode.

    Battery life with the new version is in my opinion worse than with the 20210713 one. I only get about 24 hours. I've AOD enabled.
    Also, I experienced that the phone got relatively warm in some situations.

    I can not say much about security. As far as I know LOS is open source which is a good thing. Encryption works for me.


    As a side note:
    I really appreciate the work of the developers here. Nevertheless, I often regret that I didn't buy a phone which is officially supported by LOS or has a stock ROM that I like and that I can root. I miss the OTA Updates without all the issues. I new in advance that I would probably not like MIUI but since the 9t Pro was so popular I always thought that it will definitely get official LOS support.
    This was a expensive reminder for me that hardware specs are maybe not the most important thing of a smartphone.
    1
    What firmware I need to use with this ROM?
    Latest android 11 recommended in op post, but latest 10 advised in posts with updates.
    Latest build needs a11 firmware.
    1
    Would you be willing to make a MicroG-build?

    MicroG is very valuable for degoogle purposes, but it is increasingly difficult to set up all the relevant parts (GMS/GCM/Nlp/Geo Lookup/Reverse Geo/Fake store/Signature Spoofing/F-Droid privileged extension) properly, so MicroG automates this for official LineageOS builds using this docker image.
    I have tried to create a working Dockerfile for building Raphael already for so many times. Builds are successful but don't boot. Maybe OP can contribute to this so we can also build on our own when OP has no time anymore. Abishek ignores this.

    1
    Hi,

    where can I find "It is recommended to flash latest Android 11 firmware (not vendor) according to your region"? I was only able to find "RAPHAELGlobal-V12.0.2.0.QFKMIXM-10.0-vendor-firmware" but that is a vendor firmware, not an Android 11 firmware. Can somebody please help me find it? (using Mi 9T Pro Global version (raphael)).

    Thanks!
    Here you go.
  • 18
    1200px-Lineage_OS_Logo.png


    LineageOS is a free, community built, aftermarket firmware distribution of Android 11, 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 out Gerrit Code Review.


    Information:
    • This is an OSS non-dimlayer vendor built rom.
    • Based on the latest Android Security Patch
    • Latest LineageOS changes according to the ROM date release
    • Stability and performance improvements
    • Safetynet passes out of box
    • You can flash custom kernels but no support will be provided
    • Recovery and Widevine L1 persists if patched via MIUI.

    Known issues:
    • None. You found one? Please report it here by providing a description with a log or a video if necessary.

    Installation Instructions :

    Assuming you have an unlocked bootloader, a recovery installed and the ROM zip:
    • Go to recovery (Official TWRP is recommended)
    • Wipe Data/Cache/System/Vendor
    • It is recommended to flash latest Android 11 firmware (not vendor) according to your region
    • Flash the ROM
    • Flash your favourite gapps (optional step)
    • Flash DFE (optional step if you are not encrypted)
    • Reboot
    NOTE: I always recommend following these steps. Also there's no need to flash any kind of MIUI Vendor.


    Downloads and Changelog: lineage-18.1-20210821


    Source Code: https://github.com/penglezos/kernel_xiaomi_raphael
    9
    New release is up!

    Changelog:
    - Latest LineageOS changes
    - Latest Linux Kernel stable and QCOM changes
    - Update vendor security patch
    - Battery life improvements
    - Drop power key boost and reduce input boost duration
    - Remove headphone keylayout file (wired headphones button function should work fine)
    - Other small code improvements

    It is advised to flash latest Android 10 firmware before flashing this ROM according to your region. Clean flash is always recommended.

    Thanks to everyone for reporting an issue properly by providing logs.
    6
    New release is up!

    Changelog:
    - Based on July security patch
    - Latest LineageOS changes
    - Latest Linux Kernel stable changes
    - Update graphics blobs to LA.UM.9.1.r1-09600-SMxxx0.0
    - Update blobs from MIUI V12.5.1.0.RFKMIXM
    - Fixed pop up led stuck on some cases
    - Fixed micro stutters on some user cases
    - Fixed an issue where some apps shutdown the phone
    - FOD Unlock improvements
    - Other small code improvements

    It is advised to flash latest Android 10 firmware before flashing this ROM according to your region. Clean flash is always recommended.

    Thanks to everyone for reporting an issue properly by providing logs.
    6
    New release is up! Make sure you clean flash and follow the installation instructions from the first post!

    Changelog:
    - Rebased on a new more stable tree (Clean flash is a MUST)
    - Latest LineageOS changes
    - Latest MIUI vendor changes
    - Better audio quality
    - Fixed abnormal phone heat due to Android 11 firmware
    - Fixed offline charging (charge while your phone is powered off no longer reboots)
    - Fixed call recording on dialers
    - Synced color modes with coral
    - Many more small improvements

    Notes:
    - OSS Non-dimlayer ROM
    - You can flash custom kernels but no support will be provided
    - Recovery and Widevine L1 persists if patched via MIUI.
    4
    Need to change data to f2fs!? And out of curiosity, which kernel is used?
    No theres no need to change data. It's Englezos kernel.
    Wow, thanks, a must try. Are u going to keep maintenance? Is call recording and miracast working?

    Edit: miracast works, call recording not
    I don't like these kind of questions to be honest. But for the record I've been releasing my personal builds on my github profile since Jun 7, 2020. I will check what I can do for call recording even though I don't use it.

    Is it Vanilla build ? I would like to install Vanilla build.

    I never is OSS vendor built. If future upgrade from this ROM, can I dirty flash ? I use encryption.

    Thanks
    No gapps included. I don't really recommend dirty flashing but its up to you.

    Yes. This was the problem. The default app is becomes not set in the clean install + Nik gapps core. Thanks.
    Nice to hear that you solved your problem.

    How is this different from the other "unofficial" lineageos 18.1 Rom?
    Feature wise it's the same goold old LineageOS ROM. I don't like bloat I enjoy simplicity and stability. Code wise its completely different since its OSS. Try and let us know.