[ROM][UNOFFICIAL][alpha] LineageOS 17.1 for Redmi K30 5G (picasso) (20200419)

Search This thread

Natrox

New member
Jun 30, 2020
1
0
I have been using this ROM for a while and it's pretty good overall. I've used the POCO X2 fingerprint to pass cts, although for some reason cts at some point started failing. Doesn't seem to be a huge issue though.

The only serious issue I'm running into is crackling audio over the speaker. I'm pretty sure I haven't blown it up, as it tends to start and stop randomly. Has anyone else run into this issue, and if so, does anyone have a remedy?
 

mltl

New member
Jul 14, 2005
2
0
Canton

Top Liked Posts

  • There are no posts matching your filters.
  • 13
    FEDeuCH.png


    WARNING

    DO NOT try to install this on the non-5G version of Redmi K30. This ROM is ONLY intended for Redmi K30 5G and they are NOT the same device. Their difference is more than just 5G or non-5G.

    Introduction

    This is an UNOFFICIAL port of LineageOS 17.1 (based on Android 10) for the device Redmi K30 5G, codenamed Picasso.

    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 Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

    What's working

    - All basic mobile phone features (Wi-Fi, Bluetooth, Cellular Data, Phone Calls, SMS, etc., incl. 5G and VoLTE)

    Known Issues

    - (For Chinese Users) NO Alipay / WeChat Pay fingerprint support, and no plan to add support for them. Ask Alibaba / Tencent to support the standard Android biometrics API, not me to make my ROM support their API.
    - 3.5mm jack does not work for some reason. (Will be fixed in the next release) Fixed since 20200311
    - Wi-Fi display is not implemented since I have no device to test it on
    - VoWiFi is not tested since I have no carrier support
    - No 5G toggle. You cannot disable / enable 5G support. It's on by default and it goes to 5G if it can. (Note: there seems to be a dedicated network type option now in settings - mobile network for 5G NR, but I checked AOSP source code and that's only for 5G SA, and 5G NSA still falls under LTE, not the NR type)
    - CTS does not pass because xiaomi's build fingerprint is not CTS-verified. You are on your own finding a solution to this. (Hint: Magisk modules)
    - (For Developers) I cannot build a working DTB image from the sources provided by Xiaomi. I do not know the exact reason and for now I'm using prebuilt DTB and DTBO images, which you can extract from the official ROM and its boot.img.
    - I'm not sure if there is any other issue, but at least nothing deal-breaking for me.

    Instructions (Install / Upgrade) (IMPORTANT)

    Side Note: I am fully aware that there is a TWRP port for this device, however it seems to be based on a modified version of TWRP whose source code I cannot find. The official TWRP repository (that I can see) does not even support Android 10 dynamic partitions yet, let alone porting it to this device. Of course it is possible that the author of that TWRP port has access to some internal testing version of TWRP, but since I cannot access the source code either way, I cannot do tests on the TWRP port. The LineageOS recovery I ported is adjusted specifically for this ROM and I have only tested the ROM on my LineageOS recovery port. If you choose to use the TWRP port, you are on your own, and do not ask me for problems you may encounter by using that port.

    1. Install LineageOS 17.1 Recovery following my guide in the other thread (https://forum.xda-developers.com/re...covery-lineageos-recovery-17-1-redmi-t4059879), DO NOT use TWRP because it will NOT work for devices with dynamic partitions.
    2. Reboot to LineageOS Recovery, wipe all data (skip if you are upgrading) (BACKUP ALL YOUR DATA TO A COMPUTER BEFORE FLASHING)
    3. Flash required OFFICIAL MIUI version via adb sideload before flashing LineageOS 17.1. (consult the Downloads section for the corresponding MIUI version required for each LineageOS release)
    - Flash OFFICIAL, not Xiaomi.eu or any other modified version.
    - You can skip this step if you already have the required MIUI firmware + vendor version flashed before (e.g. if you upgrade from an older release of my LineageOS port and I did not change the required MIUI version)
    - You can choose to try installing LOS on non-tested MIUI versions, though they are not tested so expect some hiccups or even disasters.
    - DO NOT just flash the firmware of the required MIUI version. Always flash the full MIUI ROM (no additional wiping needed if you do not actually boot into MIUI). This ROM depends on the vendor partition provided by MIUI to work. You will need to flash at least the firmware PLUS the vendor and odm partition images of its required MIUI version for the ROM to actually work.
    4. Flash LineageOS 17.1 zip via adb sideload
    5. Reboot to Recovery (If you want to install Magisk or OpenGAPPS or both, else just reboot to system
    6. Select "Mount /system" in the rebooted Recovery, ignore any error that may pop up on the screen
    7. If you would like to, install Magisk (you MUST use a version later than or equal to 20.4)
    8. If you would like to, install patched OpenGAPPS zip (available in Downloads section. You MUST use the patched OpenGAPPS for now.)
    9. Reboot and enjoy. Magisk may cause your phone to double-boot (i.e. auto-reboot after the logo disappears) on first boot. If your phone boots up the second time then it will be fine.

    Downloads

    20200419: https://mega.nz/file/LAJjCYDT#L1Rd-WFJQ7SaU3vfAxU2y7AJsfH9qZ3fSAKMTQhgPWM
    (MIUI firmware / vendor version tested on: miui_PICASSO_V11.0.11.0.QGICNXM_65ec88895f_10.0)
    Changelog:
    - Updated LOS source (April patch)
    - You can now install the OFFICIAL version of Magisk >= 20.4 without modification

    20200311: https://mega.nz/#!iB53SIKQ!ewdfMNFHmHjOemDDuYcgQO2t1KgrB9hx6YXYAdLKxU4
    (MIUI firmware / vendor version tested on: miui_PICASSO_V11.0.11.0.QGICNXM_65ec88895f_10.0)
    Changelog:
    - Fixed 3.5mm jack support
    - Lowered minimum allowable brightness to match the auto brightness curve
    - Synchronized LineageOS 17.1 March Security Patch update

    20200307: https://mega.nz/#!KQ5jkbAQ!dJspI92ls3BiVGk8FIGbVf4b4QBkwaaLUUr_NKX020A
    (MIUI firmware / vendor version tested on: miui_PICASSO_V11.0.11.0.QGICNXM_65ec88895f_10.0)


    Patched OpenGAPPS 20200306 (2): https://mega.nz/#!2EwVzAJR!NmBbO1_ao5ziyup6UVx64lZK06_VGNXSsFDA9T4sOO0
    (Changelog: added `sync` after flashing to ensure everything is actually written to /system; also added a flag to `tar` to ignore creation times because that seems to break sometimes in our recovery)
    Patched OpenGAPPS 20200306: https://mega.nz/#!2NgHXL6T!Z7J6AbJ7i4y9AuflIF0v_7KLbAO8XVV4ACsk13oz380
    (What's patched: the `busybox` included in OpenGAPPS cannot mount the system partition as Read-Write in LineageOS Recovery for some reason. I edited the install script to use the `mount` command provided by the recovery instead of busybox. Also I removed the unmounting at the end of installation since it seem to stall the whole recovery, which means you will have to flash OpenGAPPS at the very last of your flashing process.)

    XDA:DevDB Information
    LineageOS 17.1 for Redmi K30 5G, ROM for the Redmi K30 5G

    Contributors
    PeterCxy
    Source Code: https://github.com/PeterCxy/android_device_xiaomi_picasso

    ROM OS Version: Android 10

    Version Information
    Status: Alpha

    Created 2020-03-08
    Last Updated 2020-03-08
    2
    Updated 20200311
    1
    Hi, there! There is something I can't figure out:

    Is there any checksums for ROM?
    BTW, is there any force encryption feature in LineageOS?

    However, thanks for your ROM.

    No checksum, but since Mega.nz uses end-to-end-encryption it should do checksum on its own. Also you can verify the package against testkeys.

    Force encryption is of course enabled by default.
    1

    Thank you, it works! And there is another question:
    3. How can I take a 64MP photo? The camera is detected with 16.1 MP, even in stock MIUI ROM. However, it is possible to take a 64MP photo while using stock ROM. How did they do this? Is it possible in this ROM?
    Many thanks :D
    1
    can this rom support k30 5g speed edition? tyia