• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

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

Search This thread

mauam

Senior Member
Jan 26, 2011
7,266
12,612
I did not know this, but it didn't work for me because it said I can't use the ramdisk method.
My ramdisk says no too, it doesn't matter. To install magisk through the app, you just need to install magisk app, inside the app click install magisk, then next, check direct install & let's go button. The app will automatically reboot & patch your kernel. It's the same as going in recovery & flash manually the magisk zip. Personally I prefer to install magisk through the app. Two different ways of doing the same sh*t, that's it.
 
  • Like
Reactions: Maksvr

Robbo.5000

Senior Member
Dec 8, 2016
1,066
708
Redmi K20 Pro
do you mean data or internal storage ?
He means Format, not Wipe.
It is on the Wipe screen NOT the Advanced Wipe.
It it's the Format Data option next to factory reset.
It is the option where you need to type 'yes' to continue.
When you do this, there is no choice and it will format the data partition. Internal storage is not a separate partition, but is within the data partition and will therefore also be deleted.
 

paparansen

Senior Member
Jun 29, 2010
169
16
He means Format, not Wipe.
It is on the Wipe screen NOT the Advanced Wipe.
It it's the Format Data option next to factory reset.
It is the option where you need to type 'yes' to continue.
When you do this, there is no choice and it will format the data partition. Internal storage is not a separate partition, but is within the data partition and will therefore also be deleted.
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 ?
 

Robbo.5000

Senior Member
Dec 8, 2016
1,066
708
Redmi K20 Pro
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.
 
Last edited:

olus

Senior Member
Oct 4, 2008
596
335
anyone got google maps my timeline working? it worked on the testbuild before.. but doesnt worked on the build posted here on xda before.
so i just got it working on a build released in devs telegram channel.
 

Top Liked Posts

  • 2
    I just wanted to say that this rom works great ;) Is stable, has great battery performance, isn't loaded with unnecessary options. So big thanks to the developer ;)

    I just wanted to ask if there is a way to remove keyboard bar. I can't find proper options in settings->displayView attachment 5376877
    Use Fullscreen magisk module
  • 23
    okay guys time for update :p

    Changelog
    • July security patch
    • Fixed fod icon disappearing sometimes after using screen off fod
    • Fixed anx camera
    • Added smartspace
    • Added few lockscreen clocks
    • Improved volte/vowifi icons
    • Fixed applock opening from notification
    • Added toggle to disable screenshot sound
    • Lineage Upstream
    As usual links are updated in op enjoy ;)
    2
    Curious when WFD will be fixed.
    It already been fixed a few builds ago. The dev simply didn't edited the op.
    2
    I just wanted to say that this rom works great ;) Is stable, has great battery performance, isn't loaded with unnecessary options. So big thanks to the developer ;)

    I just wanted to ask if there is a way to remove keyboard bar. I can't find proper options in settings->displayView attachment 5376877
    Use Fullscreen magisk module
    1
    Hi! Thanks for the update. I've got an issue: home gesture is not working anymore, the bar is there but it doesn't react when swipping. Also I can't seem to find the gesture/navigation bar settings selector either... Even FNG doesn't work :/

    I did install the with gapps by mistake, then re-installed the vanilla one afterwards.
    No issu here on gapps build, try clean install again
    1
    Hey guys, I'm on MIUI 12.5 EEA, Android 11.

    Anything specific I need to do before flashing this? Also, I'm on a Ryzen based PC, should I expect any issues when unlocking and flashing the recovery?

    Cheers!
    MIUI will restore stock recovery when it boots, so you must boot into TWRP immediately after flashing TWRP.
    You must format data when you flash over MIUI. Wiping data is not enough, you need to format the partition.
    You don't need to flash any vendor and firmware files, because you already have the latest version.
    You don't need to disable encryption if you don't want to.
  • 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
    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
    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
    23
    okay guys time for update :p

    Changelog
    • July security patch
    • Fixed fod icon disappearing sometimes after using screen off fod
    • Fixed anx camera
    • Added smartspace
    • Added few lockscreen clocks
    • Improved volte/vowifi icons
    • Fixed applock opening from notification
    • Added toggle to disable screenshot sound
    • Lineage Upstream
    As usual links are updated in op enjoy ;)