[ROM][13][grus] LineageOS 20 for Xiaomi Mi 9 SE [UNOFFICIAL]

Search This thread

juanrra242

Senior Member
Jan 12, 2012
71
16
Xiaomi Mi 9
This is what happens with fixed brightness level...unistalled only mod/app than can mess it ,aosp mods
 

Attachments

  • PXL_20230331_145744520_050053-compressed.mp4
    20.8 MB · Views: 0

makrei

Member
Mar 27, 2023
7
3
Strangely, none of the GCam ports suggested here work for me, all crash after install. Not sure if I'm installing it wrong in any way.

@kyasu Is there a chance of supporting MiuiCamera? Some changes have to be done to do so.

---
I like that this version fixes the notch issue present in the official LOS20 (volume slider goes through it), but I have two issues:
  • Hiding the notch/cutout still looks better in LOS19.1, as it imitates the rounded corners of the screen;
  • I believe that there are issues with haptics/vibration strength settings in this version which isn't present in the official 220327 build. It's very apparent with the keyboard, being too strong even when set to 1ms.
It's a definite upgrade over official LOS, but I think I'll remain on your last 19.1 build for now.
 
Last edited:

aiyyo

New member
Mar 12, 2013
4
1
Strangely, none of the GCam ports suggested here work for me, all crash after install. Not sure if I'm installing it wrong in any way.

@kyasu Is there a chance of supporting MiuiCamera? Some changes have to be done to do so.

---
I like that this version fixes the notch issue present in the official LOS20 (volume slider goes through it), but I have two issues:
  • Hiding the notch/cutout still looks better in LOS19.1, as it imitates the rounded corners of the screen;
  • I believe that there are issues with haptics/vibration strength settings in this version which isn't present in the official 220327 build. It's very apparent with the keyboard, being too strong even when set to 1ms.
It's a definite upgrade over official LOS, but I think I'll remain on your last 19.1 build for now.
Hi! I use BSG Premium_8.1.MOD_Pv0x GCam port without problem. You can find in ┤Mod Edit├┤Telegram link removed as it did not meet posting requirements
 
Last edited by a moderator:

givemerobot

Member
Jun 22, 2019
18
3
Guys, I have some questions.

First, how do I move the brightness bar to the bottom?

Second, why does some settings Google Photos require premium subscription? Everything worked fine on Alpha rom.
 

Attachments

  • Screenshot_20230402-215434_Trebuchet.png
    Screenshot_20230402-215434_Trebuchet.png
    1.6 MB · Views: 89

fan-dan

Member
Sep 26, 2007
26
1
Location always on not available for some apps... For my public transport app SBB Mobile, there is no always on setting in permissions, so the online ticket system is not available. The manufacturer informs this relies on Google Services, however I do not quite understand why Gapps might not be sufficient. Andy ideas on how I might be able to give this app permanent location permission?
Screenshot_20230423-125207_Permission controller.png
 

fan-dan

Member
Sep 26, 2007
26
1
I am using the stock camera of LineageOS20. It handles all three lenses, but not very good, and it sucks battery like crazy. Is this normal? (I tried Gcamloader but no camera will work)
 

makrei

Member
Mar 27, 2023
7
3
Strangely, none of the GCam ports suggested here work for me, all crash after install. Not sure if I'm installing it wrong in any way.
Turns out that without GAPPS, GCam won't launch. I've resolved this by installing GCam Services Provider, and now BSG 8.1 works just fine.

---
After playing around with different versions, I found BSG 8.8 v4 works best for me. The lens switching is faster, and happens in-app rather than opening another instance, allowing it to change lenses while the phone is locked (an issue of 8.1); incompatible video resolutions and frame rate don't save and result in ".pending" files in DCIM (issue from 8.1 to 8.7); the zoom presets are there and better than in 8.6; and it just feels more refined in general. I would still use Open Camera over it for panorama shots, but otherwise, it's perfect for what I need: a reliable and versatile point-and-shoot camera app.
 
Last edited:

JayB1988

Member
Mar 25, 2022
38
20
Germany
After playing around with different versions, I found BSG 8.8 v4 works best for me. The lens switching is faster, and happens in-app rather than opening another instance, allowing it to change lenses while the phone is locked (an issue of 8.1); incompatible video resolutions and frame rate don't save and result in ".pending" files in DCIM (issue from 8.1 to 8.7); the zoom presets are there and better than in 8.6; and it just feels more refined in general. I would still use Open Camera over it for panorama shots, but otherwise, it's perfect for what I need: a reliable and versatile point-and-shoot camera app.

I tried it but they apparently removed the option to set the JPEG quality. On 8.7 I manually set it to 100 as it makes a huge difference in image details. Took two photos side by side with both versions and the difference is very visible (also in filesize, 6MB vs 2 MB). Did you find the option to change it anywhere?
 
  • Like
Reactions: makrei

makrei

Member
Mar 27, 2023
7
3
I tried it but they apparently removed the option to set the JPEG quality. On 8.7 I manually set it to 100 as it makes a huge difference in image details. Took two photos side by side with both versions and the difference is very visible (also in filesize, 6MB vs 2 MB). Did you find the option to change it anywhere?
Thanks for pointing that out! Unfortunately I haven't, and it seems there won't be one for a while. Following your message, I tried out 8.7 v15 and it's pretty much on-par with 8.8 v4, just with the JPEG quality settings. I believe that the selfie HDR is more tame in this version too, so I'll be sticking with it for now; the HDR in 8.8 v4 makes skin tones very red, much like how stock MIUI does when using HDR on selfie, and disabling it results in no photos being saved.

On a sidenote, I've seen that you may be facing some long save times with GCam. Have you tried changing the interface from the Pixel 3 to a more recent device? I changed mine to the Pixel 4 XL and it saves photos after ~3 seconds. Don't go past the Pixel 4a XL, or else no videos will save properly; it will only show a black static image, no idea why. Here's a config you could try:
 

Attachments

  • grus3.xml
    21.3 KB · Views: 11
Last edited:

JayB1988

Member
Mar 25, 2022
38
20
Germany
On a sidenote, I've seen that you may be facing some long save times with GCam. Have you tried changing the interface from the Pixel 3 to a more recent device? I changed mine to the Pixel 4 XL and it saves photos after ~3 seconds. Don't go past the Pixel 4a XL, or else no videos will save properly; it will only show a black static image, no idea why. Here's a config you could try:
Wow, thanks for that tip! I've changed mine just to Pixel 4 and photos are saved in what feels like a second - especially compared to the 5-10 seconds before. The video issue is weird tho. With Pixel 5 mode I could still play the videos in vlc but not in F-Stop, my default gallery. Gotta dive more into that.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    I uploaded the new build (lineage-20.0-20230503-UNOFFICIAL-grus.zip).
    (True) Android security update date is 2023-05-05.
    1
    After playing around with different versions, I found BSG 8.8 v4 works best for me. The lens switching is faster, and happens in-app rather than opening another instance, allowing it to change lenses while the phone is locked (an issue of 8.1); incompatible video resolutions and frame rate don't save and result in ".pending" files in DCIM (issue from 8.1 to 8.7); the zoom presets are there and better than in 8.6; and it just feels more refined in general. I would still use Open Camera over it for panorama shots, but otherwise, it's perfect for what I need: a reliable and versatile point-and-shoot camera app.

    I tried it but they apparently removed the option to set the JPEG quality. On 8.7 I manually set it to 100 as it makes a huge difference in image details. Took two photos side by side with both versions and the difference is very visible (also in filesize, 6MB vs 2 MB). Did you find the option to change it anywhere?
    1
    Wow, thanks for that tip! I've changed mine just to Pixel 4 and photos are saved in what feels like a second - especially compared to the 5-10 seconds before. The video issue is weird tho. With Pixel 5 mode I could still play the videos in vlc but not in F-Stop, my default gallery. Gotta dive more into that.
    Video issue might be due to default codec having changed. In 8.1 it used to be H264. In versions 8.7 and 8.8 H265 is enabled by default.
    I have just disabled H265 and everything is working fine.
    But the save delay ist really horrible. I've switched back to 8.1 where pictures are saved instantaneously.
    1
    Just to be sure. Which exact APK are you using? This one? MGC_8.7.250_A11_V15a_MGC.apk
    And you are using HDR+ correct?
    I'm using MGC_8.7.250_A11_V13_MGC because I was too lazy to update. And I'm using the middle HDR+ setting.
    1
    Following your message, I tried out 8.7 v15 and it's pretty much on-par with 8.8 v4, just with the JPEG quality settings
    Not sure if coincidence or of they're reading here but at 8.8 V6 they brought back JPEG compression rate. Currently on 8.8 V7 and found no bugs so far but I keep searching.

    Edit 1: Went back to the last 8.7 for now because the saving times were longer again and neither switching location data off nor changing the interface to Pixel 4 or later changed that.
  • 25

    2okPze5.png

    LineageOS is a free, community built, aftermarket firmware distribution of Android 13, 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. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    This is an unofficial LineageOS 20 build for the global version of Xiaomi Mi 9 SE (grus).

    Requirements
    • Required firmware version is MIUI V12.5.1.0.RFBMIXM.
    • Required TWRP is provided in this post (see below) that returns the correct 'ro.product.device'.
    • Formatting data (all user data is wiped, including internal storage) is a must if MIUI was previously installed.
    • Twrp can't decrypt data in android 13, so you need to install updates via adb sideload.
    Known Issues
    • Please tell me
    Instructions
    1. Flash TWRP recovery via fastboot
    2. Boot to TWRP recovery (Vol UP + Power)
    3. Format Data (backup sdcard before format) if MIUI was previously installed
    4. Flash ROM (lineage-*.zip) via adb sideload (Advanced -> ADB sideload)
    5. Flash Gapps (MindTheGapps-13.0.0-arm64 is recommended) via adb sideload
    6. Reboot
    Enjoy!

    NOTES
    • Safetynet can pass on this ROM (without magisk).
    • Regardless of the actual security update date, android security update is always displayed as 2021-04-01 for safetynet passing.
    • Recommended camera app is GCam Port: BSG 8.1 that can handle all of three lenses.
    Downloads
    All: https://androidfilehost.com/?w=files&flid=327360
    LineageOS 20: lineage-20.0-20230503-UNOFFICIAL-grus.zip
    twrp: twrp-3.7.0_9-ky-grus.img
    firmware: fw_grus_miui_GRUSGlobal_V12.5.1.0.RFBMIXM_c04478d703_11.0.zip

    Sources
    https://github.com/kyasu/android_device_xiaomi_grus
    https://github.com/kyasu/android_kernel_xiaomi_sdm710
    https://github.com/kyasu/android_vendor_xiaomi_grus

    Contributors
    LineageOS team, SDM710 Development team, kyasu

    ROM OS Version: Android 13
    ROM Kernel: Linux 4.9
    Based On: LineageOS
    Status: Stable

    Created 2022-10-19
    Last Updated 2023-05-04
    11
    I uploaded the new build (lineage-20.0-20221210-UNOFFICIAL-grus.zip).
    Android 13 QPR1 (Quarterly Platform Releases) with December security patch.
    (True) Android security update date is 2022-12-05.
    11
    I uploaded the new build (lineage-20.0-20230320-UNOFFICIAL-grus.zip).
    Android 13 QPR2 (Quarterly Platform Releases) with March security patch.
    (True) Android security update date is 2023-03-05.
    11
    I uploaded the new build (lineage-20.0-20230414-UNOFFICIAL-grus.zip).
    (True) Android security update date is 2023-04-05.
    10
    Thank you so much Kyasu for your hard work!
    I think I will wait a few weeks before flashing the new a13 build, just to see if it's stable enough to "daily drive" it.
    Clean flash recommended?
    Dirty flash over lineageos 19.1 is OK. I think this build is stable enough.