[ROM][UNOFFICIAL][11.0][raphael] LineageOS 18.1

Search This thread

FallenJedi

Senior Member
Feb 1, 2013
85
28
Hi!
I got my Mi 9T Pro two days ago and since I love LAOS on my OP2, the build by abhishek987 was a major consideration to purchase this model.
I bricked it a few times because of encryption (unbrick with MiFlash), but after I figured out about Disable_DM-Verty_ForceEncrypt the installation worked like a charm. As I'm reading on here, it seems that encryption is possible, and I would like to do that, if it is workling reliable (without eating data) and also without needing to reinstall all apps and configs. Is that possible?

I've chossen the Gapps build (20210222 Unofficial Rapahel Gapps) because as far as I know there is no such Open GApps "lite" for Android 11. The deep google integration is bothering me, especially the assistant. I think I disabled 99% of that suff, but I whish to be more sure about that. So is it a "take it - or leave it" option when it comes to Play store? Can we expect an Open GApps build for Android 11?

So far I'm using LAOS 18.1 on the 9T pro without major issuse, so I'll use it as daily driver - big shoutout to the developer abhishek987! I whish to donate something, but I respect his words in the donation description. So instead I think about donating to LineageOS LLC.

Bugs'n'stuff

So far, the only bug I have is the 48 MP sensor. I have tried the ANXCamera (which gives me the other lenses and a ton of funtionality back compared to the stock ROM 🤗), but the resolution is 12 MP and when I turn on 48 MP Mode, its 2,8 MP ?!??? Even with the 48MPFixR (ver. 200 and 201) I had no luck. Was anybody able to get this working?
Portrait Mode is only working in Camera PX (GCam Mod), otherwise I'll get an error in ANXCamera.

Nice stuff​

Try the Wifi Bonding Plugin in Magisk - I was able to hop from 144 Mbits local WiFi speed to 300 Mbits! This is really usefull when transferring data locally via AirDroid or just using our 200 MBits internet connection.

Feature Request​

While using the Stock ROM, I was able to unlock the screen when only a fingerprint symbol was shown.
Now in LAOS I'm unable to unlock while the screen is off. Enableling inactivity display fixes it, but I dont like having the clock and other symbols displayed - I whish it was at most only the fingerprint symbol, but it would be even better to have the fingerprint sensor always on when the display if completely off. Is there a way to do that? With inactivity display / fingerprint on, battery consumptions doesn't seem like a big concern, but I have to investigate that more over the next days.

Thanks a lot in advance!
Device Encryption: You will need to format data to preserve encryption when you move from Miui to a custom ROM.
Gapps: You can use NikGapps Core. If you have already flashed any other gapps you will need to clear data or do a fresh install.
Portrait Camera Bug: You can search in the telegram group for a modified 48MP fix for ANX cam. This mod will also solve the low resolution issue of front camera.
 

Rootthecause

Member
May 16, 2021
12
0
Germany
Device Encryption: You will need to format data to preserve encryption when you move from Miui to a custom ROM.
Gapps: You can use NikGapps Core. If you have already flashed any other gapps you will need to clear data or do a fresh install.
Portrait Camera Bug: You can search in the telegram group for a modified 48MP fix for ANX cam. This mod will also solve the low resolution issue of front camera.
Thanks a lot!

I dont have telegram. Is there a link where I could download the modded 40MP fix?
 

Kros78

New member
Jul 25, 2016
3
0
привет) прошивка будет развиваться?)

MOD EDIT: Please post only in English according to the FORUM RULES or at least add an English translation below your foreign language(Google translator for example), translation added below:

hello) firmware will develop?)
 
Last edited by a moderator:

Rootthecause

Member
May 16, 2021
12
0
Germany
Thanks for this - it works well. On this ROM is there any way for anxcamera to start from the lock screen without an unlock?
Yeah, would like to know that too. I can selct ANXCamera as standard cam, but double press the power button will only get me to the lockscreen. Also didnt found a setting in ANXCamera.
However, Opencamera has a setting for that, and works with locked screen. It can be found in Settings -> more camera settings -> Show camera despite lock (or something, not eng as native language used). Is there a worround for ANX?
 

Rootthecause

Member
May 16, 2021
12
0
Germany
which anx camera version should i use... this one?
ANXCameraUnity_185R.SaltyIntelligentPlainsqueaker
yes, this is the one mostly working for me.

Although I think Image stabilisation is only working in Video mode - but not sure about that!
Automatic subtiteling is definetly crashing on ANX as well as GCam, and on GCam the tracking feature is compleatly broken (works on ANX).
 

01Destroyer

New member
Sep 29, 2014
2
1
Hi!
I got my Mi 9T Pro two days ago and since I love LAOS on my OP2, the build by abhishek987 was a major consideration to purchase this model.
I bricked it a few times because of encryption (unbrick with MiFlash), but after I figured out about Disable_DM-Verty_ForceEncrypt the installation worked like a charm. As I'm reading on here, it seems that encryption is possible, and I would like to do that, if it is workling reliable (without eating data) and also without needing to reinstall all apps and configs. Is that possible?

I've chossen the Gapps build (20210222 Unofficial Rapahel Gapps) because as far as I know there is no such Open GApps "lite" for Android 11. The deep google integration is bothering me, especially the assistant. I think I disabled 99% of that suff, but I whish to be more sure about that. So is it a "take it - or leave it" option when it comes to Play store? Can we expect an Open GApps build for Android 11?

So far I'm using LAOS 18.1 on the 9T pro without major issuse, so I'll use it as daily driver - big shoutout to the developer abhishek987! I whish to donate something, but I respect his words in the donation description. So instead I think about donating to LineageOS LLC.

Bugs'n'stuff

So far, the only bug I have is the 48 MP sensor. I have tried the ANXCamera (which gives me the other lenses and a ton of funtionality back compared to the stock ROM 🤗), but the resolution is 12 MP and when I turn on 48 MP Mode, its 2,8 MP ?!??? Even with the 48MPFixR (ver. 200 and 201) I had no luck. Was anybody able to get this working?
Portrait Mode is only working in Camera PX (GCam Mod), otherwise I'll get an error in ANXCamera.

Nice stuff​

Try the Wifi Bonding Plugin in Magisk - I was able to hop from 144 Mbits local WiFi speed to 300 Mbits! This is really usefull when transferring data locally via AirDroid or just using our 200 MBits internet connection.

Feature Request​

While using the Stock ROM, I was able to unlock the screen when only a fingerprint symbol was shown.
Now in LAOS I'm unable to unlock while the screen is off. Enableling inactivity display fixes it, but I dont like having the clock and other symbols displayed - I whish it was at most only the fingerprint symbol, but it would be even better to have the fingerprint sensor always on when the display if completely off. Is there a way to do that? With inactivity display / fingerprint on, battery consumptions doesn't seem like a big concern, but I have to investigate that more over the next days.

Thanks a lot in advance!
You can enable screen off fingerprint (works exactly as you asked), on Settings -> Security -> Setting gear near Screen lock.
photo_2021-05-17 20.48.54.jpeg
 
  • Like
Reactions: Rootthecause

Rootthecause

Member
May 16, 2021
12
0
Germany
You can enable screen off fingerprint (works exactly as you asked), on Settings -> Security -> Setting gear near Screen lock. View attachment 5312307
OMG! Why haven't I found this setting earier?! I swear, I googled before asking.
Thanks a lot! That's it!
Gonna edit my first post.

Now there is something else I wanted to address:
Automatic Brightness control - it's very unsmooth when it is adjusting the brightness compared to the stock ROM. Also the reaction time is very slow: about 3 secs from dark to bright and 5 from bright to dark. I read in this Reddit post, that it could be a bad calibrated light sensor in firmware. It is also present on my OP2 with LAOS 17.1, but I didnt knew it could be done much better until I had the 9T pro with stock ROM. Is anybody having the same issue in LAOS?
 

FallenJedi

Senior Member
Feb 1, 2013
85
28
OMG! Why haven't I found this setting earier?! I swear, I googled before asking.
Thanks a lot! That's it!
Gonna edit my first post.

Now there is something else I wanted to address:
Automatic Brightness control - it's very unsmooth when it is adjusting the brightness compared to the stock ROM. Also the reaction time is very slow: about 3 secs from dark to bright and 5 from bright to dark. I read in this Reddit post, that it could be a bad calibrated light sensor in firmware. It is also present on my OP2 with LAOS 17.1, but I didnt knew it could be done much better until I had the 9T pro with stock ROM. Is anybody having the same issue in LAOS?
Yup, the autobrightness is definitely a little janky. But then again this ROM hasn't been updated since Feb. Most of the other A11 ROMs have fixed the autobrightness issue though. HavocOS (my personal fav), ArrowOS are decent alternatives to Lineage.
 

Rootthecause

Member
May 16, 2021
12
0
Germany
Yup, the autobrightness is definitely a little janky. But then again this ROM hasn't been updated since Feb. Most of the other A11 ROMs have fixed the autobrightness issue though. HavocOS (my personal fav), ArrowOS are decent alternatives to Lineage.
Was the fix implemented just reccently? I mean, its a nice to have, when it works smoothly. So I could deal with that when an Update fixes that in the future.

You can flash the 48Mp fix from post #584 via TWRP. But then again it will be pain in the ass to remove it in case it doesn't work for you. It is easier to remove it from Magisk.
Might be a dumb question, but what are the limitations on this? Would it be possible to Magisk flash Gapps and turn it off later, or even something like a dual boot?
 

FallenJedi

Senior Member
Feb 1, 2013
85
28
Was the fix implemented just reccently? I mean, its a nice to have, when it works smoothly. So I could deal with that when an Update fixes that in the future.


Might be a dumb question, but what are the limitations on this? Would it be possible to Magisk flash Gapps and turn it off later, or even something like a dual boot?

1. It must be because in almost all the AOSP based ROMs that I didn't face this issue. If you go by the timeline of unofficial LOS updates it must have come on ~20th April. I guess the developer is busy with his personal life as somebody mentioned previously.

2. With flashing via TWRP you might have to wipe data/ flash ROM again to remove the mod. Or if you know the directory of the mod you can delete it from TWRP file manager. With magisk it is much easier to disable/remove. Regarding Gapps not all Gapps can be flashed via Magisk. There is a special gapps called MagiskGapps developed by wacko1805 which you can flash via magisk. You can actually try it if you are up for it. You can check out the details here
 
  • Like
Reactions: Rootthecause

Top Liked Posts

  • There are no posts matching your filters.
  • 30
    Okay guys time for update after long wait

    Changelog
    may security patch
    • Added Applock
    • Added few launcher features (dt2s and other improvements to trebuchet non gapps version)
    • Added new volume panel
    • Added scrolling screenshot
    • Fixed hotword (for non gapps use flame gapps + ok google addon)
    • Fixed wfd
    • Lineage Upstream

    From now on there will be 2 builds vanilla and gapps variant so flash as you like.
    As usual links are updated in op enjoy :p
    5
    download magisk23.apk and rename it to magisk23.zip and then flash via recovery. I worked
    You don't need that renaming step since TWRP 3.5.1
    4
    yeah, i know all of that - thx :)

    so still 2 magic questions:

    1. the data partition is from the previous release. why it doesnt boot,
    but does boot with the latest release ?

    2. why my full backup of the previous release doesnt boot too ?

    I had previously considered answering your original post with the same advice as Mauam, but held back because I wasn't certain that this is the problem. In a lot of cases, with this phone, where bootloops occur after flashing, the problem is related to encryption, and formatting the data partition removes encryption and solves the problem, at the expense of losing data, if you didn't back it up previously.

    My understanding is this.
    Flashing over MIUI or a MIUI based custom ROM, you must format data, because MIUI encryption is modified from stock AOSP encryption. (This isn't unusual and many phone manufactures modify the standard AOSP encryption). If you don't format data when flashing you will find that the phone remains encrypted, but the encryption 'flag' is deleted, causing the system (and TWRP) to believe the phone is unencrypted and so unable to read any data because the data is actually encrypted.

    Ordinarily, flashing over AOSP ROMs, the encryption flag will remain set and so booting into a new ROM, it recognises the phone is encrypted and prompt for the PIN (or whatever lockscreen security was set).
    However this isn't always the case. I personally, in the early days of this phone, had it happen to me where flashing one AOSP ROM over another had caused the phone to boot only into TWRP. Formatting data has then fixed the issue. I have never yet found any answer as to why this sometimes, seemingly randomly, happens. This is why you will see it advised that it's best to remove all lockscreen security before any flashing.

    Sorry for the long reply.
    So to get to your case.
    It certainly sounds like a typical case where your problem is caused by encryption. i.e. The phone is physically encrypted, but the encryption 'flag' is unset, causing the system to not 'know' that it is encrypted.
    Formatting data fixes this because it unencrypts the phone.
    However the circumstances of your case, to me, aren't typical of the usual cases of this problem, hence I wasn't fully confident that it may be the problem. The easiest way to determine this issue is when you boot into TWRP. With this problem TWRP fails to ask for the unlock PIN (etc.) and so browsing the file system you see all the folders have garbage unintelligible file filenames, because TWRP has not unencrypted the filesystem.
    When this happens you can be confident that formatting the data partition will fix the problem.


    As far as TWRP backups are concerned, that's a different kettle of fish.
    It may be caused by encryption (again temporarily removing lockscreen security, and therefore encryption, is recommended before making a backup). It may be caused by dm-verity and how you backed up various partitions.o You need to make sure that partitions protected by dm-verirty are backed-up using the partition image option, which do a full bitwise perfect copy of the partition instead of just backing up the data in that partition.
    It may also be caused if you have some apps configured so that they have multiple installations to allow multiple accounts 'side by side', e.g. Normally used to have social media apps running with multiple accounts without needing to login and out of each account.
    3
    i dirty flashed gapps build + magisk23.zip on top of last build encrypted with nikgapps. everything works..no problems so far.
    thx 👍
    2
    after flash, need to flash gapp again?
    Tks
    read few posts back. no need to flash gapps again!
  • 38
    Okay guys time for update :p

    Changelog
    • Initial Lineage 18.1 builds
    • December security patch
    • Improvements to fod (no flicker and much faster)
    • New advanced reboot
    • Added Firewall
    • Lineage Upstream
    As usual links are updated in op enjoy ;)
    36
    Okay guys time for update after a long time ;)

    Changelog
    • February security patch
    • Added music pulse (settings > sound > pulse)
    • Redesigned qs to oos 11 style
    • Added new tinted tiles
    • Added option to switch to oos clear button in notification
    • Lineage Upstream
    30
    Okay guys time for update after long wait

    Changelog
    may security patch
    • Added Applock
    • Added few launcher features (dt2s and other improvements to trebuchet non gapps version)
    • Added new volume panel
    • Added scrolling screenshot
    • Fixed hotword (for non gapps use flame gapps + ok google addon)
    • Fixed wfd
    • Lineage Upstream

    From now on there will be 2 builds vanilla and gapps variant so flash as you like.
    As usual links are updated in op enjoy :p
    27
    1200px-Lineage_OS_Logo.png


    Code:
    /*
    * I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
    * 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, and if you point the finger at me for messing up your device, I will laugh at you.
    * Your warranty will be void if you tamper with any part of your device / software.
    * Same statement for XDA.
    */

    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.



    What's working :

    • Boots
    • RIL (Calls, SMS, Data)
    • Fingerprint
    • Wi-Fi
    • Bluetooth
    • Camera
    • Camcorder
    • Video Playback
    • Audio
    • Sensors
    • Flash
    • LED
    • GPS
    • Volte
    • VoWifi

    Known issues:
    • WFD

    Instructions :
    • Download the latest build and GApps
    • Reboot to recovery
    • Flash proper vendor and firmware
    • Flash the latest build and GApps
    • Reboot

    PS : Please Use proper vendor and firmware of your device of stable miui rom for eg: if you device is eea so use eea vendor and firmware if your device is indian variant use indian firmware and vendor and same is the case with chinese version please don't cross flash vendors and firmwares. To use this rom please Flash Android 10 firmware and vendor

    Downloads :


    Telegram Groups

    This project for now uses prebuilt kernel

    XDA:DevDB Information

    [ROM][UNOFFICIAL][11.0][raphael] LineageOS 18.0, ROM for the Redmi K20 Pro

    Contributors
    abhishek987
    Source Code: http://bigota.d.miui.com/V11.0.1.0....NGlobal_V11.0.1.0.QFKINXM_5e75bba584_10.0.zip

    ROM OS Version: Android 11
    ROM Kernel: Linux 4.x

    Version Information
    Status:
    Stable
    Stable Release Date: 2020-10-22

    Created 2020-10-15
    Last Updated 2020-10-22
    8
    @abhishek987 any chance of a Xmas present this year? :giggle: