[ROM][11][UNOFFICIAL][laurel_sprout][OSS] LineageOS 18.1

Search This thread

Harukey

Senior Member
Aug 10, 2018
159
575
Samsung Galaxy S21 FE
2okpze5-png.5152475


Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* 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.
*/

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

Downloads :
DO NOT USE TWRP OR ANY OTHER CUSTOM RECOVERY. READ INSTALLATION INSTRUCTIONS BEFORE INSTALLING

SourceForge folder (includes rom, LineageOS recovery image)
OpenGapps
Magisk

Installation :
You MUST have unlocked botloader and running latest stock android 11 on your phone
You can find information about installing and using adb here
1) Flash LineageOS recovery via fastboot using command
fastboot flash boot <name of the file>
2) Reboot to recovery
3) Download copy-partitions-20200903_1329.zip (this script makes sure both slots on your phone uses same firmware by copying it from active to inactive slot and was created by official LineageOS maintainers)
4) Navigate Apply update -> apply from ADB
5) Sideload copy-partitions-20200903_1329.zip using command
adb sideload copy-partitions-20200903_1329.zip
Tap 'continue' on your phone when prompted
6) Perform factory reset
7) Navigate Apply update -> apply from ADB
8) Sideload rom .zip
adb sideload <rom zip name>
9) Reboot recovery (Advanced -> Reboot to recovery)
Now you can sideload gapps or magisk if you need them (recovery might give you a warning about flashing unsigned files, just click second option and installation process will continue)
10) Navigate Apply update -> apply from ADB
11) Sideload rom .zip
adb sideload <zip name>
* For new Magisk versions change file extension to zip to be able to sideload it
12) Tap 'Reboot system now'

Updating to a new version:
1) Reboot recovery
2) Navigate Apply update -> apply from ADB
3) Sideload rom .zip using
adb sideload <rom zip name>
4) Reboot recovery (Advanced -> Reboot to recovery)
Now you need to sideload gapps or magisk if had them installed (recovery might give you a warning about flashing unsigned files, just click second option and installation process will continue)
5) Navigate Apply update -> apply from ADB
6) Sideload .zip package
adb sideload <zip name>
* For new Magisk versions change file extension to zip to be able to sideload it
7) Tap 'Reboot system now'

Notes :
- This is personal build for my own usage, I'm just sharing it
- Custom recoveries, kernels, mods are not supported

Trees :

Common tree: https://github.com/HarukeyUA/android_device_xiaomi_sm6125-common
Device tree: https://github.com/HarukeyUA/android_device_xiaomi_laurel_sprout
Kernel: https://github.com/HarukeyUA/android_kernel_xiaomi_laurel_sprout
Vendor: https://github.com/HarukeyUA/proprietary_vendor_xiaomi
 
Last edited:

antoine62

Senior Member
Jan 27, 2019
183
52
What is the difference between this lineageOS and the other android11 firmware one?
 

Typhoon_Master

Senior Member
Jun 5, 2014
124
16
i flashed this rom ... now my phone is dead and will not turn on. :-(
(happened at point 6: "Reboot recovery (Advanced -> Reboot to recovery)")

any tipps for de-bricking anyone?

//edit:
i managed to flash the service-rom via MiFlash... the phone is okay again, and this ROM does also work now.
 
Last edited:

Harukey

Senior Member
Aug 10, 2018
159
575
Samsung Galaxy S21 FE
i flashed this rom ... now my phone is dead and will not turn on. :-(
(happened at point 6: "Reboot recovery (Advanced -> Reboot to recovery)")

any tipps for de-bricking anyone?

//edit:
i managed to flash the service-rom via MiFlash... the phone is okay again.
Are you sure you had latest Android 11 Firmware in both slots? Which device version do you have (Global, EU)?
Rom boots fine on my global Mi A3 (128/4) upgraded to Android 11 firmware via fastboot flash
 

Typhoon_Master

Senior Member
Jun 5, 2014
124
16
Are you sure you had latest Android 11 Firmware in both slots? Which device version do you have (Global, EU)?
Rom boots fine on my global Mi A3 (128/4) upgraded to Android 11 firmware via fastboot flash
Yes. I had the latest official EU Version 12.0.4.0 (Android 11) on my device.

//edit:
however: i then flashed the service-rom from here via MiFlash. The Phone bootet again and i just flashed this rom now and it is working.
 
Last edited:
  • Like
Reactions: XDAnewone

Harukey

Senior Member
Aug 10, 2018
159
575
Samsung Galaxy S21 FE
New build is up
Changelog:
- LineageOS source sync
- Merged LA.UM.9.1.r1-09100-SMxxx0.0 into kernel
- Kernel version 4.14.223
- Switch to source built perf interface
- Init script upstream from caf
- Updated carrier config from LA.UM.9.11.r1-02800-NICOBAR.0
- Imported dpm properties from stock

Download: SourceForge
 
  • Like
Reactions: XDAnewone

Harukey

Senior Member
Aug 10, 2018
159
575
Samsung Galaxy S21 FE
Thanks for your work...
- Any screen-shots?
- How is the SOT & overall battery life?
Did you identify what went wrong at your first try?

Screenshots
Battery life is subjective and depends on your usage pattern

As for second post, I guess they had Android 11 firmware in one slot and Android 10 firmware in another, so when device switched slots it refused to boot due to firmware incompatibility.
 
  • Like
Reactions: XDAnewone

Dabrico

New member
Mar 7, 2021
3
0
France
Hi, I would like to know if it is possible to update the system from an old version of your rom without needing to reflash the rom and lose its data ?
Excuse me if my english is bad.
(I flashed the rom yesterday)
 
Last edited:

Harukey

Senior Member
Aug 10, 2018
159
575
Samsung Galaxy S21 FE
Hi, I would like to know if it is possible to update the system from an old version of your rom without needing to reflash the rom and lose its data ?
Excuse me if my english is bad.
(I flashed the rom tomorrow)
If you coming from 17.1 you must format data.
If you coming from my older 18.1 build you can follow instruction from this thread skipping recovery fastboot flashing and format data steps
 

Dabrico

New member
Mar 7, 2021
3
0
France
If you coming from 17.1 you must format data.
If you coming from my older 18.1 build you can follow instruction from this thread skipping recovery fastboot flashing and format data steps

Thank you

[Edit :] I reinstalled your rom because my phone didn't want to boot after I followed your instructions.
 
Last edited:

Grogdor

Member
Jun 13, 2008
7
6
HTC One S
Moto G
Brand new phone, had 9 so did the OTAa to 10 and 11, then I'm guessing this happened:

As for second post, I guess they had Android 11 firmware in one slot and Android 10 firmware in another, so when device switched slots it refused to boot due to firmware incompatibility.

If your instructions have a decent chance of resulting in a bricked device, it might be helpful to include steps to check or correct that before leading slot-noobs such as myself down the path to no-no-more-bootey-boot-land.

Thanks asshole for my new EDL cable, and the sweet ROM. It's nice, so far I've noticed:

- Phone... Settings... Calling accounts... does not persist between reboots with one SIM and a SIP account; choosing the SIP account as default reverts to the SIM every time. Curiously, with two SIMs inserted, this will persist on any of the three settings between reboots.

- Phone... call recording does not appear to work, blank audio files are created, although this was only tested with a SIP account so may just be a limitation. Also tried Call Recorder by SKVALEX v2.1.0 via Magisk module, same blank audio files.

- fingerprint reader doesn't work, but that's possibly due to my EDL adventure as it booted up after rawprogram4+patch4 and I couldn't get it back into EDL to do 5... so now I'm not really sure what state my device is in, joy.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 16
    2okpze5-png.5152475


    Code:
    /*
    * Your warranty is now void.
    *
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * 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.
    */

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

    Downloads :
    DO NOT USE TWRP OR ANY OTHER CUSTOM RECOVERY. READ INSTALLATION INSTRUCTIONS BEFORE INSTALLING

    SourceForge folder (includes rom, LineageOS recovery image)
    OpenGapps
    Magisk

    Installation :
    You MUST have unlocked botloader and running latest stock android 11 on your phone
    You can find information about installing and using adb here
    1) Flash LineageOS recovery via fastboot using command
    fastboot flash boot <name of the file>
    2) Reboot to recovery
    3) Download copy-partitions-20200903_1329.zip (this script makes sure both slots on your phone uses same firmware by copying it from active to inactive slot and was created by official LineageOS maintainers)
    4) Navigate Apply update -> apply from ADB
    5) Sideload copy-partitions-20200903_1329.zip using command
    adb sideload copy-partitions-20200903_1329.zip
    Tap 'continue' on your phone when prompted
    6) Perform factory reset
    7) Navigate Apply update -> apply from ADB
    8) Sideload rom .zip
    adb sideload <rom zip name>
    9) Reboot recovery (Advanced -> Reboot to recovery)
    Now you can sideload gapps or magisk if you need them (recovery might give you a warning about flashing unsigned files, just click second option and installation process will continue)
    10) Navigate Apply update -> apply from ADB
    11) Sideload rom .zip
    adb sideload <zip name>
    * For new Magisk versions change file extension to zip to be able to sideload it
    12) Tap 'Reboot system now'

    Updating to a new version:
    1) Reboot recovery
    2) Navigate Apply update -> apply from ADB
    3) Sideload rom .zip using
    adb sideload <rom zip name>
    4) Reboot recovery (Advanced -> Reboot to recovery)
    Now you need to sideload gapps or magisk if had them installed (recovery might give you a warning about flashing unsigned files, just click second option and installation process will continue)
    5) Navigate Apply update -> apply from ADB
    6) Sideload .zip package
    adb sideload <zip name>
    * For new Magisk versions change file extension to zip to be able to sideload it
    7) Tap 'Reboot system now'

    Notes :
    - This is personal build for my own usage, I'm just sharing it
    - Custom recoveries, kernels, mods are not supported

    Trees :

    Common tree: https://github.com/HarukeyUA/android_device_xiaomi_sm6125-common
    Device tree: https://github.com/HarukeyUA/android_device_xiaomi_laurel_sprout
    Kernel: https://github.com/HarukeyUA/android_kernel_xiaomi_laurel_sprout
    Vendor: https://github.com/HarukeyUA/proprietary_vendor_xiaomi
    6
    New build is up.

    - LineageOS sources update
    - Kernel upstreamed to 4.14.232
    - Expose correct vulkan feature and deqp levels
    - Included fix for tts settings crash

    Download: SourceForge
    6
    Sorry for lack of participation in thread, new build is up.
    Notable changes:
    - LineageOS source sync
    - Fixed brightness scaling (credits @Vishalcj17)
    - Added qti thermal hal
    - Synced some props with stock rom (ril, sesnsors, media)
    - Switched to 1.1 qti bootctrl hal
    - Fixed aux cameras (tested with latest parrot gcam)
    - Merged LA.UM.9.11.r1-03600-NICOBAR.0 caf tag and 4.14.229 to kernel

    Download
    4
    New build is up

    Changelog:

    - Kernel upstreamed to 4.14.237
    - Merged LA.UM.9.11.r1-03900-NICOBAR.0 caf tag into kernel
    - Updated wireguard kernel module to 1.0.20210606
    - Low mic volume for some users should be fixed (this will break google sound recorder, but since LineageOS ships sound recorder by default I don't think this is big of an issue)
    - LineageOS sources sync

    Download:
    SourceForge
    3
    hey @Harukey hope you build with this month's update :) appreciate you sharing the personal rom you build for yourself, thanks