Development [ROM] [13 READY | 12L] ・ Cherish OS v4.0.5 | 3.9.5 - Xiaomi Mi 11・OFFICIAL

Search This thread

kotalol

Senior Member
Feb 25, 2022
186
193
Xiaomi Mi 11
XDA_CherishFull.png


CherishOS is an AOSP based rom focusing on Unique and Smooth UI with handy features.

Your warranty is now void, or not... I have no idea it depends... ・ I'm not responsible for bricked devices, thermonuclear war or alarm app fails. ・ If it's your first time or you're unexperienced with flashing ROMS, please do some search before flashing! ・ YOU are choosing to make these modifications, you're the only responsible guy for messing up if you do so.

XDA_Informations.png


Build Date : 16th of August 2022
ROM Developer : Hungphan2001
Maintainer : kota
Latest 3.9.5 Sources.
Selinux State : Enforcing
Running July Security Patch. (August broken...)
Passes CTS by default.
Donations :
Here!
Used Kernel : Here!

XDA_Working.png


・ WIFI
・ RIL
・ Mobile Data
・ GPS
・ Camera
・ Flashlight
・ Camcorder
・ Bluetooth
・ FM Radio
・ Fingerprint Reader
・ Face Unlock
・ NFC
・ Lights
・ Sound / vibration



XDA_Issues.png


You tell me!




XDA_GUIDE.png


Initial flash :

・ Make sure that you are on MIUI 13.0.X or an A12 AOSP, MIUI 12.x or any A11 AOSP will just EDL Brick. ・ Reboot to Bootloader and follow the next steps! (They're different if you have TWRP) ・ Flash the Boot Image you downloaded by doing "fastboot flash boot_ab boot_cherish.img". (Recovery) ・ Reboot into Recovery Mode by doing this command "fastboot reboot recovery". ・ Once in Recovery, go into "Format Data/Factory Reset". (DOING THIS STEP WILL WIPE YOUR DATA) ・ Then go back into the main menu, and go into Apply Updates -> Apply from ADB. ・ Check if the device is connected by doing "adb devices", it should be in Sideload Mode. ・ Finally, Sideload your ROM by performing this command : "adb sideload cherish_rom_name.zip" and reboot.

Sideload Update : (dirty flashing)

・ Make sure that you're not making a downgrade! 🙈 ・ Reboot into Recovery Mode and select Install Update -> ADB Sideload. ・ Once done, Sideload your ROM by performing this command : "adb sideload cherish_rom_name.zip" . ・ Finally, Quit Sideload Page and reboot. Enjoy the new release!

You also want to root? Here are some steps.
Installing Magisk : (optional)

・Download the latest provided boot image to your Internal Storage on your device. ・Second, download and install Magisk. Once done, Click Install and patch the image you downloaded. ・Then send the new magisk image (that should be in /Downloads) to your ADB directory in your PC. ・Finally, reboot to Fastboot Mode and perform this command : "fastboot flash boot magisk_file.img"

XDA_Download.png


ROM : Click me!
Boot Image : Here!

Follow @CherishOS
Join
@CherishOS_Chat
Have a nice day!
 
Last edited:

Eidenz

Senior Member
Are we supposed to flash the linked boot image if we come from your last unofficial version?

I only sideloaded the new update and it's working great. Wonder if I need to "update" the boot image as well... (since the image name is different, cherish13 now vs cherish11 before)
And if so, do we need to factory reset?
 

muellerdeluxe

Senior Member
Oct 23, 2008
56
30
Xiaomi Mi 11
Hi, I´m on the last unofficial release and flashed the new boot.img. Then I tried to sideload the new release but I always get the error
"adb: failed to read command: No error"
How to solve this ? It´s the same fastboot/adb that I used before successfully ......
 

kotalol

Senior Member
Feb 25, 2022
186
193
Xiaomi Mi 11
Hi, I´m on the last unofficial release and flashed the new boot.img. Then I tried to sideload the new release but I always get the error
"adb: failed to read command: No error"
How to solve this ? It´s the same fastboot/adb that I used before successfully ......
I have no idea why this gitch happens :/, the two versions should be compatible. Try updating ADB!
 

kotalol

Senior Member
Feb 25, 2022
186
193
Xiaomi Mi 11
Are we supposed to flash the linked boot image if we come from your last unofficial version?

I only sideloaded the new update and it's working great. Wonder if I need to "update" the boot image as well... (since the image name is different, cherish13 now vs cherish11 before)
And if so, do we need to factory reset?
No need to factory reset, you can normally sideload to official from the last recovery. The jump from 11 to 13 i skipped releasing one build on XDA. If you encounter any issue, try updating your ADB Version or switching to the boot_cherish13 recovery provided!
 
  • Like
Reactions: jejemc and Eidenz

Eidenz

Senior Member
Hi, I´m on the last unofficial release and flashed the new boot.img. Then I tried to sideload the new release but I always get the error
"adb: failed to read command: No error"
How to solve this ? It´s the same fastboot/adb that I used before successfully ......

I had the same issue when trying to sideload on Linux. Switched to my windows installation and it worked without error this time...
 
  • Like
Reactions: furomin

jejemc

Senior Member
Jul 8, 2011
1,452
560
paris
Xiaomi Mi 11
Google Pixel 6a
Updated Official ROM: Cherish-OS-v3.8-20220627-1429-venus-OFFICIAL-GApps.zip

changelog:
  • Etude kernel: Op.12 Op.2 bringup :
The kernel source has been rebased and cleaned up!
Merged LA.UM.9.14.r1-19800-LAHAINA.QSSI13.0
Has been built with Prelude Clang based on the latest LLVM Clang 15 source.
Enabled ThinLTO, CFI, and Shadow Call Stack.
Fixed lots of warnings from Clang 15.
Introduced a page_alloc fix from upstream that may help alleviate memory pressure.
Imported Wireguard kernel driver 1.0.20211208.
Backported lz4’s fast decompress loop from upstream lz4 1.9.3, which offers more than 10% throughput incrUpdated vendor blobs from MIUI Stable V13.0.12.0 for Mi 11 Ultra/Pro and MIUI Stable V13.0.8.0 for Mi 11ease in zram decompression
Fixed a potential lz4 out-of-bound read.
Imported the latest exFAT kernel driver backport from mainline kernel. OTG USB drive with exFAT filesystem should work now.


  • Vendor changes :
Removed included firmware, to minimize a maximum EDL bricking chances.
Updated display blobs from LA.UM.9.14.r1-19300.01-LAHAINA.QSSI12.0
Updated the display HAL from LA.UM.9.14.r1-19200-LAHAINA.QSSI12.0


  • Other fixes/improvements :
Device Tree Cleanup + fixing typos.
Optimized native executables for Cortex-A55
Synced some telephony packages and properties with QSSI


  • GNSS improvements :
Updated GNSS HAL to LA.UM.9.14.r1-19800-LAHAINA.QSSI13.0
Synced some GPS configs with stock
Picked a few NTP servers that can respond closer to your location, so your time synchronization takes less time which leads to faster location fix.
  • LZ4 :
Switched zram compression algorithm from lzo-rle to lz4lz4 with my fast decompress loop backport offers higher throughput and lower latency than lzo-rle does
lz4’s compression ratio is slightly less than lzo-rle, but Mi 11’s 8GB/12GB RAM does not encounter memory pressure very frequently, so memory bandwidth and latency is more preferable than compression ratio (quotes from jjpprrrr)




Most changes made to this CherishOS build wouldn't have been possible without jjpprrrr's work!
 
  • Love
  • Like
Reactions: fir1996 and furomin

Plathoon

Senior Member
Jun 9, 2016
67
36
Paris
Xiaomi Mi 11
Fresh install from last update.
After flashing magisk 25.1, touchscreen issue when i want to unlock the phone.

So going to format data again but how to solve magisk problem ?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Work on CherishOS v4.0 (Tiramisu) started!

    Will most likely be available for users soon!
    1
    Work on CherishOS v4.0 (Tiramisu) started!

    Will most likely be available for users soon!

    CherishOS v4.0.5 is up!

    Check on the telegram here to get it,
    The build is currently on pre-release.

    Meaning that this build is official, tested, fine to flash but isn't listed on CherishOS medias as usual and not updatable via OTA at the moment.
    1
    Great ROM the best A13 that i tried 👌👍
    1
    For 4.0.5, do I need to clean flash if I come from CherishOS 3.9.5 ?
    Hasn't been tested, make sure to make a backup and try doing that,
    if it doesn't work, wipe data and apply your backup :(

    (For some info, it did work with an early 4.0 beta, but after that i decided to clean flash. And for some reason i had to clean data again to update to 4.0.5 even tho i was coming from 4.0...)
  • 9
    XDA_CherishFull.png


    CherishOS is an AOSP based rom focusing on Unique and Smooth UI with handy features.

    Your warranty is now void, or not... I have no idea it depends... ・ I'm not responsible for bricked devices, thermonuclear war or alarm app fails. ・ If it's your first time or you're unexperienced with flashing ROMS, please do some search before flashing! ・ YOU are choosing to make these modifications, you're the only responsible guy for messing up if you do so.

    XDA_Informations.png


    Build Date : 16th of August 2022
    ROM Developer : Hungphan2001
    Maintainer : kota
    Latest 3.9.5 Sources.
    Selinux State : Enforcing
    Running July Security Patch. (August broken...)
    Passes CTS by default.
    Donations :
    Here!
    Used Kernel : Here!

    XDA_Working.png


    ・ WIFI
    ・ RIL
    ・ Mobile Data
    ・ GPS
    ・ Camera
    ・ Flashlight
    ・ Camcorder
    ・ Bluetooth
    ・ FM Radio
    ・ Fingerprint Reader
    ・ Face Unlock
    ・ NFC
    ・ Lights
    ・ Sound / vibration



    XDA_Issues.png


    You tell me!




    XDA_GUIDE.png


    Initial flash :

    ・ Make sure that you are on MIUI 13.0.X or an A12 AOSP, MIUI 12.x or any A11 AOSP will just EDL Brick. ・ Reboot to Bootloader and follow the next steps! (They're different if you have TWRP) ・ Flash the Boot Image you downloaded by doing "fastboot flash boot_ab boot_cherish.img". (Recovery) ・ Reboot into Recovery Mode by doing this command "fastboot reboot recovery". ・ Once in Recovery, go into "Format Data/Factory Reset". (DOING THIS STEP WILL WIPE YOUR DATA) ・ Then go back into the main menu, and go into Apply Updates -> Apply from ADB. ・ Check if the device is connected by doing "adb devices", it should be in Sideload Mode. ・ Finally, Sideload your ROM by performing this command : "adb sideload cherish_rom_name.zip" and reboot.

    Sideload Update : (dirty flashing)

    ・ Make sure that you're not making a downgrade! 🙈 ・ Reboot into Recovery Mode and select Install Update -> ADB Sideload. ・ Once done, Sideload your ROM by performing this command : "adb sideload cherish_rom_name.zip" . ・ Finally, Quit Sideload Page and reboot. Enjoy the new release!

    You also want to root? Here are some steps.
    Installing Magisk : (optional)

    ・Download the latest provided boot image to your Internal Storage on your device. ・Second, download and install Magisk. Once done, Click Install and patch the image you downloaded. ・Then send the new magisk image (that should be in /Downloads) to your ADB directory in your PC. ・Finally, reboot to Fastboot Mode and perform this command : "fastboot flash boot magisk_file.img"

    XDA_Download.png


    ROM : Click me!
    Boot Image : Here!

    Follow @CherishOS
    Join
    @CherishOS_Chat
    Have a nice day!
    5
    New CherishOS Build is out!

    Running early 3.9 Sources with latest July patches

    With all the new expected changes and a bit more :)
    (Pre-Release, It just means that it's not listed on CherishOS groups and website + not fully on XDA yet!)

    Can be found on CherishOS Sourceforge here!
    Changelog: https://telegra.ph/Xiaomi-Mi-11--Changelog-8th-of-July-2022-07-08

    Enjoy!
    4
    cherishlogo-png.5641963


    New Update for CherishOS on Xiaomi Mi 11!

    A new release is up!
    Informations :

    Was built on the 12th of July 2022.
    Passes CTS By default, Selinux Enforcing.
    Want to donate?
    Here!

    Changelog :

    - Updated 3.9 Sources (improvements and fixes)

    + Changes from 8th of July.

    - Switched Vendor Blobs to Global MIUI.
    - BT Audio is now fixed.
    - Fixed Landscape mode Status Bar (Google messed it twice ^^)
    - Clear Speaker feature bring up. (From MIUI 12)
    - AnxCamera bring up! (Removed Stock Camera)
    - Overall Stability Improvements.

    What's broken ?

    - You tell me!

    Download :

    ROM : Click me!

    Follow @CherishOS
    Join @CherishOS_Chat
    Have a nice day!
    4
    it's me or genshin impact crash with this version of cherish ?

    I got freeze after 5 minute genshin

    Working on it with other fixes too.
    Most glitches happening on latest CherishOS are related to Vendor Blobs issues.
    The issue seems to be related to two changes :

    - Latest Firmware not being provided with the ROM (to not risk EDL Bricking)
    - Vendor blobs being updated, but with an older firmware.

    I'm still in vacation right now, but i'm also working on new plans for CherishOS and Mi 11 development in general.

    For now, i already worked on a pre-release of what the next update should bring up :)
    3
    Does status bar have icon limit setting ?
    Sometimes I see "traffic indicators", sometimes I don't
    Probably because the auto-hide option is activated by default