Development [ROM][12.1][OFFICIAL] StatiXOS v5.1 [cannon/cannong]

Search This thread

m_vaisakh

Recognized Developer

stx-2021.png


StatiXOS for Redmi Note 9 5G/Redmi Note 9T Unified (cannon/cannong)


What is StatiXOS?

StatiXOS is a custom ROM based on the Android Open Source Project aiming to be minimal while providing quality of life improvements and up to date security patches.


Known Issues
  • Screen Recording does not work (MTK framework bug)
  • Screenshot combination might not work well, as a workaround use lower end of the power button to grab screenshot (explanation on post #28)
  • In-call volume cannot be adjusted, no workarounds for now
  • Rest you tell me!


If you are new to this, follow the detailed instructions in post #59
1. Download the ROM zip
2. Unlock bootloader, and flash twrp.
3. Boot to TWRP and go to Advanced > ADB Sideload
4. Type in adb sideload "name of the ROM zip", wait for it to finish, will take a few minutes
5. (NOTE: If you are upgrading from previous version of StatiX, you can skip this step!) Go back, tap on Wipe, and Format data or Tap on reboot, tap on bootloader and then type in fastboot -w (Note: THIS WILL WIPE YOUR DATA)!
6. Reboot and enjoy!

Note: This ROM has GApps



Prerequisite firmware: Latest stock Android 11
Android version: 12.0.0 (12L)
Linux Kernel Version: 4.14.186
Source code: GitHub
Code Review: Gerrit
 
Last edited:

m_vaisakh

Recognized Developer
Updates!

08-Dec-2021


  • Fixed network issues
  • Fixed Fingerprint sensor
  • Fixed hotspot not working at all (but it is not fully fixed)
  • Fixed bluetooth audio

Download: statix_cannon-20211208-0812-12-v5.0-SNOWCONE.zip

10-Dec-2021

  • Fixed call audio not working when making calls
  • Dropped misoundfx (it does not work as intended with OSS HAL)
  • Ships with Eva Kernel

Download: statix_cannon-20211210-1032-12-v5.0-SNOWCONE.zip

25-Dec-2021
  • Dropped Eva Kernel because of the reboot issue
  • Enforced SELinux
  • Builds are now production level (user builds, just like OEMs ship)
  • Safetynet basic integrity passes, but not CTS Profile.
  • Performance Improvements
  • Fixed Hotspot!
  • December Security Patch
Download: statix_cannon-20211225-0535-12-v5.0-SNOWCONE.zip

17-Jan-2022
  • January security patch
  • Official signed build (build is signed with our private keys)
  • Fixed cases where ViLTE did not work
  • Double tap to wake is now added
  • Cleanup vendor blobs
  • Fixed DRM Widevine level not being shown (DRM is now L1 out of the box)
  • Fixed safetynet (Everything passes by default)
  • Double tap to sleep on launcher
  • exFAT sdcard fixes (untested)
  • Overall performance improvements
  • Updated blobs from MIUI V12.5.7.0 OTA Drop
Download: statix_cannon-20220117-12-v5.0-OFFICIAL.zip

02-Feb-2022
  • Increase media volume steps from 15 to 25.
  • Use 64bit dex2oat (Faster package installation and booting).
  • Switched to skiaglthreaded render backend for improved smoothness.
  • Fixed animations when the device locks in AOD mode to match power button.
  • Implemented flagship level haptic feedback using AIDL vibrator HAL interface.
  • Refined statusbar paddings (Improved status bar UI).
Download: statix_cannon-20220202-12-v5.0-OFFICIAL.zip

25-Feb-2022
  • FIxed call audio on bluetooth.
  • Fixed VoLTE.
  • Enabled haptics when moving the text handle.
  • Major performance improvements.
Download: statix_cannon-20220225-12-v5.0-OFFICIAL.zip

18-Mar-2022
  • Android 12L!
  • Version Bump to v5.1
  • Feature parity with StatiX v5.0
  • Enabled ZRAM writeback
  • Fixed Fingerprint not being detected on Cannon (Chinese variants)
Download: statix_cannon-20220318-12-v5.1-OFFICIAL.zip

05-Apr-2022
  • April Security Patch
  • Remove unneeded libs
  • Metadata partition corruption protection
  • Reduce logspam from MTK userspace blobs
  • Fixed Display panel colour modes
  • Improved UI response
  • Entire C code is now optimised with armv8-2a-dotprod.
  • Kernel upstreamed to Latest Linux LTS release (4.14.275)
Download: statix_cannon-20220405-12-v5.1-OFFICIAL.zip

03-May-2022
  • May Security Patch.
  • Fixed all crashing issues on Chinese variants.
  • Fixed fingerprint on Chinese variants.
  • Fixed Secure element spam.
  • Kernel upstreamed to 4.14.276.
  • Massive performance improvements.
Download: statix_cannon-20220503-12-v5.1-OFFICIAL.zip
 
Last edited:
Mar 5, 2017
10
0
OnePlus 2
Redmi Note 9t
Hi
So recently I flashed this rom on my cannon and I found some very frustrating problems regarding the mobile network.
The phone calls made from the main SIM card are completely silent and my second SIM card is not appearing in the Settings and making any phone calls or texting will only be met with "Mobile Network not available" while the mobile data still works fine.

What's worse, the sdcard folder in twrp seems to be encrypted but the twrp didn't ask me for the password to decrypt it, making it impossible to flash back to the stock MIUI without a PC.

Can someone help me out? I'm currently not with a PC.
 

m_vaisakh

Recognized Developer
Hi
So recently I flashed this rom on my cannon and I found a very frustrating problem that the phone calls are completely silent and my second SIM card is not appearing in the Settings and making any phone calls or texting will only be met with "Mobile N
The calls being silent has been potentially fixed, I'm testing a build right now to verify, if it works, I'll post a build in the next half hour or so.

About the second sim not appearing, I'll check what's wrong with that.
 
  • Like
Reactions: TweakyLemming66

m_vaisakh

Recognized Developer
What's worse, the sdcard folder in twrp seems to be encrypted but the twrp didn't ask me for the password to decrypt it, making it impossible to flash back to the stock MIUI without a PC.

Can someone help me out? I'm currently not with a PC.
Decryption with Android 12 on twrp is a bug from the twrp source itself, it persists across all devices if I recall correctly.
Even in the flashing instructions, I mention to use adb sideload to avoid the hassles of decryption issues on Android 12.
Flashing without a PC is really not possible.
 
Mar 5, 2017
10
0
OnePlus 2
Redmi Note 9t
The calls being silent has been potentially fixed, I'm testing a build right now to verify, if it works, I'll post a build in the next half hour or so.

About the second sim not appearing, I'll check what's wrong with that.
Thanks for the brisk reply! Here is the screenshot of the issue if you want.

The entrance of the settings screen for the second SIM is not visible, but you can still access the settings by clicking the settings icon in Network & internet if you set it as the preferred sim card for mobile network.
 

Attachments

  • Screenshot_20211210-235816.png
    Screenshot_20211210-235816.png
    169.5 KB · Views: 135
  • Screenshot_20211210-235734.png
    Screenshot_20211210-235734.png
    29.6 KB · Views: 136
Mar 5, 2017
10
0
OnePlus 2
Redmi Note 9t
Decryption with Android 12 on twrp is a bug from the twrp source itself, it persists across all devices if I recall correctly.
Even in the flashing instructions, I mention to use adb sideload to avoid the hassles of decryption issues on Android 12.
Flashing without a PC is really not possible.
Well that is sad to hear... But I wonder if putting the zip on an external SD card may save the day?
 

m_vaisakh

Recognized Developer
Thanks for the brisk reply! Here is the screenshot of the issue if you want.

The entrance of the settings screen for the second SIM is not visible, but you can still access the settings by clicking the settings icon in Network & internet if you set it as the preferred sim card for mobile network.
Aah I see. It must be some overlay. I'll try some stuff right away.
 

m_vaisakh

Recognized Developer
Hey so today I'm in front of a pc and tried doing adb sideload but the adb keeps telling me that no devices found even if the phone is already in ADB Sideload mode in TWRP

How can I solve that?
Strange, I never had that issue. Are your adb drivers proper?
I've been flashing via adb sideload ever since I started working on this device.
 
Mar 5, 2017
10
0
OnePlus 2
Redmi Note 9t
Strange, I never had that issue. Are your adb drivers proper?
I've been flashing via adb sideload ever since I started working on this device.
The phone can be detected by ADB while the phone is booted to the OS, but I cant manage to make it in the recovery

Btw Ive already flashed the update by simply formatting the data and copying the zip via MTP but the SMS and Voice service of my second SIM card is still not available
 

m_vaisakh

Recognized Developer
The phone can be detected by ADB while the phone is booted to the OS, but I cant manage to make it in the recovery

Btw Ive already flashed the update by simply formatting the data and copying the zip via MTP but the SMS and Voice service of my second SIM card is still not available
Oh well the second sim issue was unknown to me.
Send a logcat for the issue.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    But i have a "false positif error" like you have cannon not cannong, that's the problem. I remembered last time I change something in terminal but I don't know now, could you know how ignore security before install fw and flash fw cannong ?
    Wait I'll upload a Global RJMIXM 12.5.8 fw for you, I need to do few modifications to it for it to be flashable over StatixOS, give me 30minutes.
    1
    Update!

    Changelog:
    • May Security Patch.
    • Fixed all crashing issues on Chinese variants.
    • Fixed fingerprint on Chinese variants (this time it works, I promise!)
    • Fixed Secure element spam.
    • Kernel upstreamed to 4.14.276.
    • Massive performance improvements.
    Huge thanks to @crimsonraptr for testing build after build to fix the previous crashes on chinese variants!

    Download from OP!
    1
    Hope you can fix this in the near future, and thanks for taking the time to do this.
    I've tried some methods but they've not worked so far. I hope it will be fixed once we upgrade our blobs to Android 12 from cannon
    1
    thanks fix secure element!

    but NFC is not working...

    can fix it?

    Will be fixed with next update, thanks
  • 8

    stx-2021.png


    StatiXOS for Redmi Note 9 5G/Redmi Note 9T Unified (cannon/cannong)


    What is StatiXOS?

    StatiXOS is a custom ROM based on the Android Open Source Project aiming to be minimal while providing quality of life improvements and up to date security patches.


    Known Issues
    • Screen Recording does not work (MTK framework bug)
    • Screenshot combination might not work well, as a workaround use lower end of the power button to grab screenshot (explanation on post #28)
    • In-call volume cannot be adjusted, no workarounds for now
    • Rest you tell me!


    If you are new to this, follow the detailed instructions in post #59
    1. Download the ROM zip
    2. Unlock bootloader, and flash twrp.
    3. Boot to TWRP and go to Advanced > ADB Sideload
    4. Type in adb sideload "name of the ROM zip", wait for it to finish, will take a few minutes
    5. (NOTE: If you are upgrading from previous version of StatiX, you can skip this step!) Go back, tap on Wipe, and Format data or Tap on reboot, tap on bootloader and then type in fastboot -w (Note: THIS WILL WIPE YOUR DATA)!
    6. Reboot and enjoy!

    Note: This ROM has GApps



    Prerequisite firmware: Latest stock Android 11
    Android version: 12.0.0 (12L)
    Linux Kernel Version: 4.14.186
    Source code: GitHub
    Code Review: Gerrit
    5
    Updates!

    08-Dec-2021


    • Fixed network issues
    • Fixed Fingerprint sensor
    • Fixed hotspot not working at all (but it is not fully fixed)
    • Fixed bluetooth audio

    Download: statix_cannon-20211208-0812-12-v5.0-SNOWCONE.zip

    10-Dec-2021

    • Fixed call audio not working when making calls
    • Dropped misoundfx (it does not work as intended with OSS HAL)
    • Ships with Eva Kernel

    Download: statix_cannon-20211210-1032-12-v5.0-SNOWCONE.zip

    25-Dec-2021
    • Dropped Eva Kernel because of the reboot issue
    • Enforced SELinux
    • Builds are now production level (user builds, just like OEMs ship)
    • Safetynet basic integrity passes, but not CTS Profile.
    • Performance Improvements
    • Fixed Hotspot!
    • December Security Patch
    Download: statix_cannon-20211225-0535-12-v5.0-SNOWCONE.zip

    17-Jan-2022
    • January security patch
    • Official signed build (build is signed with our private keys)
    • Fixed cases where ViLTE did not work
    • Double tap to wake is now added
    • Cleanup vendor blobs
    • Fixed DRM Widevine level not being shown (DRM is now L1 out of the box)
    • Fixed safetynet (Everything passes by default)
    • Double tap to sleep on launcher
    • exFAT sdcard fixes (untested)
    • Overall performance improvements
    • Updated blobs from MIUI V12.5.7.0 OTA Drop
    Download: statix_cannon-20220117-12-v5.0-OFFICIAL.zip

    02-Feb-2022
    • Increase media volume steps from 15 to 25.
    • Use 64bit dex2oat (Faster package installation and booting).
    • Switched to skiaglthreaded render backend for improved smoothness.
    • Fixed animations when the device locks in AOD mode to match power button.
    • Implemented flagship level haptic feedback using AIDL vibrator HAL interface.
    • Refined statusbar paddings (Improved status bar UI).
    Download: statix_cannon-20220202-12-v5.0-OFFICIAL.zip

    25-Feb-2022
    • FIxed call audio on bluetooth.
    • Fixed VoLTE.
    • Enabled haptics when moving the text handle.
    • Major performance improvements.
    Download: statix_cannon-20220225-12-v5.0-OFFICIAL.zip

    18-Mar-2022
    • Android 12L!
    • Version Bump to v5.1
    • Feature parity with StatiX v5.0
    • Enabled ZRAM writeback
    • Fixed Fingerprint not being detected on Cannon (Chinese variants)
    Download: statix_cannon-20220318-12-v5.1-OFFICIAL.zip

    05-Apr-2022
    • April Security Patch
    • Remove unneeded libs
    • Metadata partition corruption protection
    • Reduce logspam from MTK userspace blobs
    • Fixed Display panel colour modes
    • Improved UI response
    • Entire C code is now optimised with armv8-2a-dotprod.
    • Kernel upstreamed to Latest Linux LTS release (4.14.275)
    Download: statix_cannon-20220405-12-v5.1-OFFICIAL.zip

    03-May-2022
    • May Security Patch.
    • Fixed all crashing issues on Chinese variants.
    • Fixed fingerprint on Chinese variants.
    • Fixed Secure element spam.
    • Kernel upstreamed to 4.14.276.
    • Massive performance improvements.
    Download: statix_cannon-20220503-12-v5.1-OFFICIAL.zip
    4
    Update!

    Changelog:
    • FIxed call audio on bluetooth.
    • Fixed VoLTE.
    • Enabled haptics when moving the text handle.
    • Major performance improvements.
    Download from OP!
    4
    Update!

    Changelog:
    • Android 12L!
    • Version Bump to v5.1
    • Feature parity with StatiX v5.0
    • Enabled ZRAM writeback
    • Fixed Fingerprint not being detected on Cannon (Chinese variants)
    Download from OP!
    3
    Christmas Update!
    Wishing everyone a Merry Christmas and a Prosperous New year!

    Changelog:

    • Dropped Eva Kernel because of the reboot issue
    • Enforced SELinux
    • Builds are now production level (user builds, just like OEMs ship)
    • Safetynet basic integrity passes, but not CTS Profile.
    • Performance Improvements
    • Fixed Hotspot!
    • December Security Patch

    Download from OP