• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Development [ROM][12][OFFICIAL] StatiXOS v5.0 [cannon/cannong]

Search This thread

m_vaisakh

Senior Member

stx-2021.png


StatiXOS for Redmi Note 9 5G/T 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
  • Some minor Launcher bugs (thanks AOSP)
  • Some instabilities and general inconsistencies as it's still very early on
  • 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
  • Calls audio does not work with Bluetooth headphones (audio will come out of earpiece, even tho it shows audio via bluetooth), bluetooth media audio (music, gaming) is unaffected, no workarounds for now
  • Rest you tell me!


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. Go back, tap on Wipe, and Format data (Note: THIS WILL WIPE YOUR DATA)!
6. Reboot and enjoy!

Note: This ROM has GApps



Note: Please keep in mind that this is an alpha release and is being actively worked on. Updates would arrive as I fix things so please be patient and if you report a bug, please be sure to explain what caused it and a logcat.

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

m_vaisakh

Senior Member
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
 
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

Senior Member
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

Senior Member
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: 53
  • Screenshot_20211210-235734.png
    Screenshot_20211210-235734.png
    29.6 KB · Views: 54
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

Senior Member
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

Senior Member
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

Senior Member
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
    Is there any chance of full safety net pass in the foreseeable future? I can't handle much more of MIUI, but have some essential apps that are super picky about SN. I'll be honest; this phone is getting flicked to a family member, if I can find a clean OS soon. MIUI makes venereal diseases look like a good time.
    I'm still working on it. But yeah I will be fixing it in the future.
    1
    That's because the fingerprint input is hindering with power button input instantaneously. To avoid that, a workaround for now is that you use lower part of the power button (not covering the whole fingerprint/power button).

    I'm investigating that issue.
    Oh I see! Yeah that works, thanks for the tip! :)
    1
    Update!

    Changelog:

    • 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 from OP!
  • 6

    stx-2021.png


    StatiXOS for Redmi Note 9 5G/T 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
    • Some minor Launcher bugs (thanks AOSP)
    • Some instabilities and general inconsistencies as it's still very early on
    • 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
    • Calls audio does not work with Bluetooth headphones (audio will come out of earpiece, even tho it shows audio via bluetooth), bluetooth media audio (music, gaming) is unaffected, no workarounds for now
    • Rest you tell me!


    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. Go back, tap on Wipe, and Format data (Note: THIS WILL WIPE YOUR DATA)!
    6. Reboot and enjoy!

    Note: This ROM has GApps



    Note: Please keep in mind that this is an alpha release and is being actively worked on. Updates would arrive as I fix things so please be patient and if you report a bug, please be sure to explain what caused it and a logcat.

    Prerequisite firmware: Latest stock Android 11
    Android version: 12.0.0
    Linux Kernel Version: 4.14.186
    Source code: GitHub
    Code Review: Gerrit
    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
    2
    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
    1
    Update!

    Changelog:

    • 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 from OP!