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

[ROM][UNOFFICIAL][10.0.0][raphael] LineageOS 17.1

Search This thread

sunando

Senior Member
Jun 14, 2018
97
20
Kolkata
Redmi K20 Pro
Well this sucks ???
 

Attachments

  • Screenshot_20201007-170021_Chrome.png
    Screenshot_20201007-170021_Chrome.png
    189.3 KB · Views: 720

Robbo.5000

Senior Member
Dec 8, 2016
1,072
711
Redmi K20 Pro

F**king hell, and i thought Raphael would have better custom rom scene and official lineage development as it was more pupular with almost the same price..

This is because Xiaomi have released the correct Android 10 kernel sources for davinci.
We are still waiting for the correct sources for our phone. What Xiaomi have released so far does not have the latest FOD code, so is unusable.
Until Xiaomi pull their finger out, we can never get official LOS.
 

Siddk007

Senior Member
Nov 15, 2012
2,877
3,177
Bengaluru
Redmi K20 Pro
This is because Xiaomi have released the correct Android 10 kernel sources for davinci.
We are still waiting for the correct sources for our phone. What Xiaomi have released so far does not have the latest FOD code, so is unusable.
Until Xiaomi pull their finger out, we can never get official LOS.
i dont understand, then how come a 5 year old device like Moto G3 (osprey) has official LOS 17.1 support when it does not have any latest sources

Sent from my Redmi K20 Pro using XDA Labs
 

belzebub40k

Senior Member
Dec 30, 2010
174
44
Nexus 7 (2013)
Redmi K20 Pro
i dont understand, then how come a 5 year old device like Moto G3 (osprey) has official LOS 17.1 support when it does not have any latest sources


It would be possible to use the outdated kernel sources to make LineageOS official for this phone but it would also offer a much poorer user experience than this unofficial ROM with the prebuilt kernel. But If the maintainer of this ROM thinks it is not worth the effort it would not happen.
 

Robbo.5000

Senior Member
Dec 8, 2016
1,072
711
Redmi K20 Pro
i dont understand, then how come a 5 year old device like Moto G3 (osprey) has official LOS 17.1 support when it does not have any latest sources
I'm not a ROM developer and I'm going off memory, too lazy to read up on it. If I'm getting this completely wrong, someone feel free to correct it.
From what I remember, LOS uses its own version of the kernel. I assume that device specific changes, taken from the device kernel sources, are merged into the LOS kernel. In this case the Moto G3 kernel changes will have been merged in long ago and are sufficient to be used with all versions of LOS since.
In our case, with the sources available, we cannot get a good enough FOD implementation. The latest MIUI kernel used with LOS gives a good FOD experience.
To be official LOS all hardware should work to the same level as stock ROMs, so we cannot get certified with a greatly inferior FOD functionality. Therefore we need the latest kernel sources, to get the FOD changes in the LOS kernel.

Again, I'm not a ROM developer and so this is going off memory and from me piecing together bits of info I've picked up from different places, so it might not be completely correct.

---------- Post added at 01:34 PM ---------- Previous post was at 01:32 PM ----------

It would be possible to use the outdated kernel sources to make LineageOS official for this phone but it would also offer a much poorer user experience than this unofficial ROM with the prebuilt kernel. But If the maintainer of this ROM thinks it is not worth the effort it would not happen.
The LOS requirements state that hardware should work as well as stock ROM, so we cannot get official with what's available
 

Robbo.5000

Senior Member
Dec 8, 2016
1,072
711
Redmi K20 Pro
I'm not a ROM developer and I'm going off memory, too lazy to read up on it. If I'm getting this completely wrong, someone feel free to correct it.
From what I remember, LOS uses its own version of the kernel. I assume that device specific changes, taken from the device kernel sources, are merged into the LOS kernel. In this case the Moto G3 kernel changes will have been merged in long ago and are sufficient to be used with all versions of LOS since.
In our case, with the sources available, we cannot get a good enough FOD implementation. The latest MIUI kernel used with LOS gives a good FOD experience.
To be official LOS all hardware should work to the same level as stock ROMs, so we cannot get certified with a greatly inferior FOD functionality. Therefore we need the latest kernel sources, to get the FOD changes in the LOS kernel.

Again, I'm not a ROM developer and so this is going off memory and from me piecing together bits of info I've picked up from different places, so it might not be completely correct.

---------- Post added at 01:34 PM ---------- Previous post was at 01:32 PM ----------


The LOS requirements state that hardware should work as well as stock ROM, so we cannot get official with what's available


Edit:
Ok, so just had some time to look at the LOS site again. It doesn't have its own kernel. However, the Linux kernel is GPL v2 licensed, which requires all derivatives to make the source code available. Therefore whichever kernel is used in LOS, for a specific device, it must have the kernel source code in the LOS device tree (this could be pulled in from the kernels original project). (There are other requirements around the kernel, e.g. No under/over clocking/voltage, no breaking USB charging specs, etc., etc., so this rules out using many/most custom kernels)
So for our device, the MIUI kernel could be used 'as is' if we had the source code from Xiaomi to link into a raphael LOS device tree.
 

Krullendhaar

Senior Member
Oct 30, 2014
72
40
So I have been using the unofficial builds since January and I would like to update to the latest unofficial build. I had some questions about updating TWRP and updating to the latest vendor/firmware. Some people here suggest going back to stock MIUI to update to the latest vendor, but I think that is overkill.

1. Is it correct that I can update TWRP by simply flashing the latest version of TWRP for my device? Is there anything special I need to do after I flashed the latest TWRP version? Do I need to reboot into recovery for the first time, into the ROM or does that not matter?
2. Suppose I am on the latest TWRP and would now like to update the vendor/firmware and ROM. Do I:
a. First flash the latest vendor/firmware, wait till it is done and then flash the latest ROM?
b. Select the ROM and then add ZIP, and add the vendor/firmware like that?
c. Selecy the vendor/firmware and then add ZIP, and add the ROM like that?
 
D

Deleted member 11162297

Guest
Watch out for the pop-up camera!

I was playing around with the motorized camera, I maintained the camera motor in extended position when it was retracting and it just stopped recognizing it at all after that, I re-flashed MIUI ROM to solve it. Hope it helps!:)
 

Robbo.5000

Senior Member
Dec 8, 2016
1,072
711
Redmi K20 Pro
So I have been using the unofficial builds since January and I would like to update to the latest unofficial build. I had some questions about updating TWRP and updating to the latest vendor/firmware. Some people here suggest going back to stock MIUI to update to the latest vendor, but I think that is overkill.

1. Is it correct that I can update TWRP by simply flashing the latest version of TWRP for my device? Is there anything special I need to do after I flashed the latest TWRP version? Do I need to reboot into recovery for the first time, into the ROM or does that not matter?
2. Suppose I am on the latest TWRP and would now like to update the vendor/firmware and ROM. Do I:
a. First flash the latest vendor/firmware, wait till it is done and then flash the latest ROM?
b. Select the ROM and then add ZIP, and add the vendor/firmware like that?
c. Selecy the vendor/firmware and then add ZIP, and add the ROM like that?
I flashed MIUI going from Pie to 10, just to be sure everything was as it should be, though this was probably overkill too, but I'll still do the same when I first jump to 11 based ROMs. Otherwise I'll flash vendor and firmware files.

1. Just flash the latest TWRP zip file using your current version of TWRP as you would any other zip file.
When you boot into TWRP it runs in memory, so after flashing a new version, you'll still be running the original version. At this point there is no requirement to do anything, you will start using the new version when you next boot into TWRP, whenever that may be.
If you want to use the new TWRP straight away, just use the TWRP boot menu and select recovery. This will boot into the newly installed version.
2. For LOS and other ROMs that check which vendor you have during the install, you will need to flash the vendor/firmware first, so that it passes the check. This could be a. or c. above. Personally I do a., just in case there's a problem.
 

olus

Senior Member
Oct 4, 2008
598
336
I was playing around with the motorized camera, I maintained the camera motor in extended position when it was retracting and it just stopped recognizing it at all after that, I re-flashed MIUI ROM to solve it. Hope it helps!:)

no need to start from scratch with miui. there is a popup cam app in themes and app section ?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 190
    http%3A%2F%2Ffiles.paulfasola.fr%2FCyanogenMod%2FLineageOS.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 10, 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

    Known issues:
    • you tell me

    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][10.0.0][raphael] LineageOS 17.1, ROM for the Redmi K20 Pro

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

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

    Version Information
    Status: Stable
    Stable Release Date: 2020-08-03

    Created 2019-10-02
    Last Updated 2020-08-03
    62
    okay guys time for update :p

    Changelog
    • Selinux enforcing
    • Added fod icon in pin/pattern screen
    • Lineage upstream

    As usual links are updated in op enjoy :)

    I usually don't respond to trolls but as many of them were getting furious over official lineage i want to tell them its closer then ever since only major blocker for it is kernel and i am working on it :) and yes for peeps who were crying over sources should know that most stuff is open on gerrit and on github and those were asking about kernel sources should know this project uses prebuilt miui kernel for now and regarding errors and stuff i cant spoon feed each of you guys since this aint rom building thread.
    47
    okay guys time for update :p

    Changelog
    • March Security patch
    • Fixed a2dp issues
    • Improved Auto brightness
    • Fod improvements
    • Lineage upstream

    As suaul links are updated in op njoy ;)
    45
    Okay guys trees are up at https://github.com/raphael-development along with other repos that might be necessary for development enjoy ;)