[ROM][13.0][OFFICIAL][CEPHEUS] PixelOS [RETROFIT][10/05/2023]

Search This thread

balgxmr

Senior Member
May 30, 2018
86
188
linktr.ee
pixelos-ruby.png

PixelOS for Xiaomi Mi 9 (cepheus)

PixelOS is an AOSP based ROM, with Google apps included and all Pixel goodies (launcher, wallpapers, themed icons, google sans fonts, Monet color based system wide theming, boot animation).
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.
*/

Device Specific Issues:
- None, report them if you find one.

Downloads:
PixelOS Website
PixelOS Recovery

*YOU MUST CLEAN FLASH if you are coming from any other ROM or MIUI.
Flashing instructions (PixelOS Recovery)
# Keep in mind:
- Since Cepheus is using Retrofit, do NOT use TWRP or OrangeFOX.
- Use PixelOS Recovery only.
- Do NOT flash custom kernels, they won't boot.
- YOU MUST CLEAN FLASH if you are coming from any other ROM or MIUI.

# Clean Flash
- Make sure your platform-tools (adb and fastboot) are up to date.
- Download PixelOS ROM zip and recovery.img.
- Reboot into Fastboot.
- Flash recovery using: fastboot flash recovery <recoveryname.img>
- Reboot to recovery.
- In recovery, format data with Factory Reset > Format data/factory reset
- Sideload the zip with Apply Update > Apply from ADB, and do: adb sideload <ROM zip file>
- Optional: Flash magisk with sideload using: adb sideload <Magisk zip>
- ^ Magisk will show a message about "Signature verification failed, install anyways?", just click YES.
- Reboot and voila!

# Dirty Flash
- Flash via OTA under Settings > System Update, or:
- Download ROM zip
- Enter PixelOS Recovery > Apply Update > Apply from ADB
- Sideload the ROM using: adb sideload <ROM zip file>
- Optional: sideload Magisk using: adb sideload <Magisk zip>
- Reboot and voila!

Note: Gapps are included, don't flash separately.

Join PixelOS Telegram Group https://t.me/PixelOSChat
Join PixelOS Official Cepheus Telegram Group: https://t.me/pixeloscepheus

Source Code
PixelOS: http://github.com/PixelOS-AOSP
Device Tree: https://github.com/PixelOS-Devices/device_xiaomi_cepheus/
Vendor: https://github.com/PixelOS-Devices/vendor_xiaomi_cepheus/
Kernel Source: https://github.com/balgxmr/kernel_xiaomi_cepheus
MIUI Camera: https://gitlab.com/baalgx/vendor_xiaomi_cepheus-miuicamera

Stable Release Date: 10/05/23
Latest Release Date: 10/05/23
 
Last edited:

clovem

Member
Jun 26, 2022
6
4
Xiaomi Mi 9
Hello maintainers, it's nice to see that you have compiled this rom, do you have any plans to make this rom an official version in the future? Become an official maintainer. I just asked😊😊👍
 
  • Like
Reactions: ahmadraeesi

giovan797

Senior Member
Apr 28, 2016
111
12
44
error in the FOD , it starts to register the fingerprints in the middle of the process to and from the error and ends. any solution or fix?
 
  • Like
Reactions: sikenyan

balgxmr

Senior Member
May 30, 2018
86
188
linktr.ee
error in the FOD , it starts to register the fingerprints in the middle of the process to and from the error and ends. any solution or fix?
Are you using any screen protector or changed screen? If so then it can be the root of the issue.
If not try this: go to Settings > Display > Colors > and set the color mode to Natural, then try again.
If the problem persists, try using another finger.
Here fod is working fine, I've registered many times the finger at first attempt :)
 

balgxmr

Senior Member
May 30, 2018
86
188
linktr.ee
NEW UPDATE!
28-06-22

Hi! New update is here, there's nothing new from Source side.
But, I've made a lot of changes on device side. I hope you enjoy it. There's a list of device changes!☺️
Device Changes 28-06:
  • Drop Vulkan (fixes color/glitched video issues and some GCam crashing)
  • Disable zram writeback
  • rootdir: Powersaving in charger mode
  • Adjust charger state CPUs
  • CarrierConfig: update from 5800 QSSI
  • Enable LZ4 compression for ramdisks
  • Use coral tuning for columbus feature
  • Properties: remove obsolete debug.sf.disable_backpressure
  • Fixed status bar glitch for apps that access internal resource dimen
  • Revert "Import governor settings from coral"
  • Revert "Add SchedTune configuration"
  • Revert "Import power_profile from coral"
  • Nuke init.power.rc
  • Don't tune sde partition on boot
  • overlay: Disable Adaptive Connectivity preference
  • overlay: Enable auto brightness while dozing
  • AOD: Decouple suspend from screen state
  • wifi: Update config from sm8150-common tree
  • prop: Force disable iorapd
  • Other improvements
Download link here
Download PixelOS 28-06 Recovery here

More information about flash guide, what is PixelOS and more, are on the original post! ☺️
 

ziomek666

Member
Jun 16, 2014
25
6
NEW UPDATE!
28-06-22

Hi! New update is here, there's nothing new from Source side.
But, I've made a lot of changes on device side. I hope you enjoy it. There's a list of device changes!☺️
Device Changes 28-06:
  • Drop Vulkan (fixes color/glitched video issues and some GCam crashing)
  • Disable zram writeback
  • rootdir: Powersaving in charger mode
  • Adjust charger state CPUs
  • CarrierConfig: update from 5800 QSSI
  • Enable LZ4 compression for ramdisks
  • Use coral tuning for columbus feature
  • Properties: remove obsolete debug.sf.disable_backpressure
  • Fixed status bar glitch for apps that access internal resource dimen
  • Revert "Import governor settings from coral"
  • Revert "Add SchedTune configuration"
  • Revert "Import power_profile from coral"
  • Nuke init.power.rc
  • Don't tune sde partition on boot
  • overlay: Disable Adaptive Connectivity preference
  • overlay: Enable auto brightness while dozing
  • AOD: Decouple suspend from screen state
  • wifi: Update config from sm8150-common tree
  • prop: Force disable iorapd
  • Other improvements
Download link here
Download PixelOS 28-06 Recovery here

More information about flash guide, what is PixelOS and more, are on the original post! ☺️
Hey, thanks for the update and ROM! Just flashing it rn, question tho - since you mentioned dropping vulkan and ProtonAOSP which pixelOS is based on uses it for major gains in performance - do you mean dropping it completely or reverting to prev version?
 
  • Like
Reactions: sikenyan

balgxmr

Senior Member
May 30, 2018
86
188
linktr.ee
Hey, thanks for the update and ROM! Just flashing it rn, question tho - since you mentioned dropping vulkan and ProtonAOSP which pixelOS is based on uses it for major gains in performance - do you mean dropping it completely or reverting to prev version?
Hi! Glad to hear! Welcome 😁. And yeah I'm dropping Vulkan as renderer, i know that it's better since it boosts performance, but, at least on Mi 9, it's just not the perfect renderer. It causes weird artifacts/color issues on videos and also makes some GCams like LMC to crash. So I dropped it, more stable and the change isn't noticeable. ^^
 

I.m.Tuga

Senior Member
Jun 20, 2012
542
293
I saw in some other Xiaomi devices that MIUI camera is included in PixelOs. Is this built the same case?
 
Last edited:

Top Liked Posts

  • 2
    Thanks for your inputs :)!
    Just three questions if you could help me please.

    1) When you mentioned LMC R15 Gcam, you mean, "GCam LMC 8.4 R15"? Just because I'm using the SGCAM, but I believe is not the same.

    2) If I installed the Magisk, the work profile will still be workable?

    3) Out of curiosity, what modules have you installed?

    Thank you in advance for your time :)
    Hello :)

    1 - yes LMC 8.4 R15 (i tested all versions and this one is for me the best one)

    2 - i do not know...?

    3 - a screenshot is better ;)
    1
    Hello :)

    A little feedback :

    Really nice Rom ! I use Magisk with several modules and also modded the screen frequency to 75hz and 825Mhz for GPU max frequency ! Of course the battery draining is a bit more...present but the phone is fluid and playing games is a really good experience :) i also use LMC R15 Gcam version with a great xml for nice pictures.

    Thanks for this great rom !!
    1
    i also use LMC R15 Gcam version with a great xml for nice pictures.
    Which xml are you using? I tried both of them and choosing UW lens crashes app for me.
    1
    Which xml are you using? I tried both of them and choosing UW lens crashes app for me.
    Hello , this one
    1
    And Konabess 825 file if interested...
  • 7
    Hi everyone, new may update is up!
    You can update via OTA or using sideload method.
    (If you have magisk, remember to flash it again if you update using OTA)

    Here's the list of changes device side (source changelog is on the website):

    • Switch FOD color back to green
    • Set to powersave governor when device is idle
    • Remove audio and Adaptive Battery CPU Throttling hints
    • Make use of task_profiles and cgroups
    • Fixed VoWiFi not working on outgoing calls or airplane mode
    • Upstreamed kernel to 4.14.314
    • Merged CLO tag 'LA.UM.9.1.r1-13500-SMxxx0.QSSI13.0' in kernel
    • Backport f2fs from 6.4-rc1-5.10
    • Silence more kernel logging
    • Misc. fixes and improvements
    Hope you all enjoy this update, performance it's better without affecting battery backup : )
    Have a great day. ❤️

    Liked my work? Buy me a coffee ☕
    2
    In my case everything is ok, should I flash It to improve experience or battery comsumption? Is it recomendeda anyway? Thanks
    I also had no issues, and I flashed it.
    Nothing got worse, so I think it is worth flashing it.
    Now I have between 85-95% deep sleep
    2
    As well, you may be interested, I've compiled a kernel with KernelSU support, check here for REVUELTO-KSU zip to download. Kernel is the same, it's just that i renamed to "REVUELTO".
    Steps to flash the kernel are the same, update from adb > adb sideload, or update from OTG (you can't flash kernel in OTA udpater, just in case).
    * Note: KernelSU don't support all modules
    2
    Thanks for your inputs :)!
    Just three questions if you could help me please.

    1) When you mentioned LMC R15 Gcam, you mean, "GCam LMC 8.4 R15"? Just because I'm using the SGCAM, but I believe is not the same.

    2) If I installed the Magisk, the work profile will still be workable?

    3) Out of curiosity, what modules have you installed?

    Thank you in advance for your time :)
    Hello :)

    1 - yes LMC 8.4 R15 (i tested all versions and this one is for me the best one)

    2 - i do not know...?

    3 - a screenshot is better ;)
    2
    Why not mentioning that we are back to Pixel Launcher?
    It is mentioned in source changelog 😅
  • 46
    pixelos-ruby.png

    PixelOS for Xiaomi Mi 9 (cepheus)

    PixelOS is an AOSP based ROM, with Google apps included and all Pixel goodies (launcher, wallpapers, themed icons, google sans fonts, Monet color based system wide theming, boot animation).
    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.
    */

    Device Specific Issues:
    - None, report them if you find one.

    Downloads:
    PixelOS Website
    PixelOS Recovery

    *YOU MUST CLEAN FLASH if you are coming from any other ROM or MIUI.
    Flashing instructions (PixelOS Recovery)
    # Keep in mind:
    - Since Cepheus is using Retrofit, do NOT use TWRP or OrangeFOX.
    - Use PixelOS Recovery only.
    - Do NOT flash custom kernels, they won't boot.
    - YOU MUST CLEAN FLASH if you are coming from any other ROM or MIUI.

    # Clean Flash
    - Make sure your platform-tools (adb and fastboot) are up to date.
    - Download PixelOS ROM zip and recovery.img.
    - Reboot into Fastboot.
    - Flash recovery using: fastboot flash recovery <recoveryname.img>
    - Reboot to recovery.
    - In recovery, format data with Factory Reset > Format data/factory reset
    - Sideload the zip with Apply Update > Apply from ADB, and do: adb sideload <ROM zip file>
    - Optional: Flash magisk with sideload using: adb sideload <Magisk zip>
    - ^ Magisk will show a message about "Signature verification failed, install anyways?", just click YES.
    - Reboot and voila!

    # Dirty Flash
    - Flash via OTA under Settings > System Update, or:
    - Download ROM zip
    - Enter PixelOS Recovery > Apply Update > Apply from ADB
    - Sideload the ROM using: adb sideload <ROM zip file>
    - Optional: sideload Magisk using: adb sideload <Magisk zip>
    - Reboot and voila!

    Note: Gapps are included, don't flash separately.

    Join PixelOS Telegram Group https://t.me/PixelOSChat
    Join PixelOS Official Cepheus Telegram Group: https://t.me/pixeloscepheus

    Source Code
    PixelOS: http://github.com/PixelOS-AOSP
    Device Tree: https://github.com/PixelOS-Devices/device_xiaomi_cepheus/
    Vendor: https://github.com/PixelOS-Devices/vendor_xiaomi_cepheus/
    Kernel Source: https://github.com/balgxmr/kernel_xiaomi_cepheus
    MIUI Camera: https://gitlab.com/baalgx/vendor_xiaomi_cepheus-miuicamera

    Stable Release Date: 10/05/23
    Latest Release Date: 10/05/23
    12
    New PixelOS January update is here!
    https://pixelos.net/download/cepheus

    Prepare your backups, clean flash is mandatory!

    I hope you guys likes this update. Battery backup should be better now and overall stability.
    Many thanks to Markus, SA.EXE, Vadim, Kamyk, Error01 for testing!

    Changelog:
    - Added MIUI Camera
    - Addressed more SELinux policy denials
    - Drop pixel thermal hal workaround
    - Drop s2idle usage
    - Media: Update from LA.UM.9.1.r1-13000-SMxxx0.QSSI13.0
    - Merge tag LA.UM.9.1.r1-13000-SMxxx0.QSSI13.0
    - Move to lz4 for EROFS
    - overlay: Add dummy udfps sensor (Fixes screen off fod toggle)
    - Removed Dirac
    - Switch back to OpenGL renderer
    - Switched to user type build
    - Update CarrierConfig from LA.QSSI.13.0.r1-07400-qssi.0
    - Update GPS blobs from LA.UM.9.1.r1-11500.02-SMxxx0.QSSI12.0
    - Upstreamed kernel to 4.14.303
    - Misc changes and improvements.

    Source changelog is available at https://blog.pixelos.net/

    Liked my work? Buy me a coffee ☕ https://paypal.me/balgxmr
    9
    Hello everyone, february update is here!
    Full source changelog is available at https://blog.pixelos.net/

    Changelog device side:

    - Add power off alarm support (Needs LineageOS/DeskClock, or an alarm clock which supports power off alarm)
    - Address more sepolicy denials
    - Change default FOD pressed color to cyan
    - Drop cpu affinity configs
    - Enable qcrild and data services instead of starting them
    - Inherit several Android Go configurations
    - Switch to OSS mtdservice and mlipay
    - Update telephony package list to LA.QSSI.12.0.r1-05600-qssi.0
    - Silence CamX and CHIUSECASE log spam
    - Switch to source built camera stack
    - Temporary remove MIUI Camera due to reported issues
    - Added Aperture camera with AUX support
    - Use AOSP USB v2 audio HAL
    - Add some missing IMS blobs
    - Updated F2FS from Linux 6.2
    - Merge CodeLinaro LA.UM.9.1.r1-13100-SMxxx0.QSSI13.0 tag
    - Upstream kernel to 4.14.305 and compile it with playground clang 17

    About MIUI Camera, it will hopefully return in next updates, i have removed it for now due to broken autobrightness after using the camera, and camera going full black randomly (which forcefully needs reboots). Once I fix these issues, I'll include it again. Safetynet is fixed as well. Hope y'all likes the update :).

    PS: Something i forgot to mention, Camera ids has been udpdated:
    0 for main/wide, 1 for front, 2 for telephoto, 3 for ultra wide.
    I mention this just in case GCams or any mod doesn't recognize properly the other cameras.

    Liked my work? Buy me a coffee 😉☕
    8

    Hello everyone. New update is out!

    Check out the website for downloads and changelog!
    Big thanks for all the testers and feedback, here and telegram.

    Wanna buy me a coffee? Paypal donate
    7
    NEW UPDATE!
    08-July-22


    Hi everyone! New update is here. This update brings new changes from source and device! ☺️

    Source Changelog July Update:
    • Merged July Security Patch
    • Fixed issues with a few banking apps (such as HDFC) detecting root access
    • Extended Applock support to various system apps
    • Added optional Daily data usage in expanded quicksettings
    • Updated per-app volume drawable to match other system elements
    • Improvements in statusbar icon paddings
    • Added toggles for vibration icon and old style mobile data indicators in Icon manager
    • Made battery & clock clickable again in quick statusbar header
    • Updated translations (thanks to everyone who contributed).
    • Squashed some bugs (in real life too)

    Device Changes 08-July:
    - overlay: Compact cached app heaps in the background
    - overlay: Allow more cached apps in the background
    - rootdir: Add SchedTune configuration
    - Switch to SkiaGL Threaded
    - Developer options: Display cutout: add NoCutOut overlay (Hide Notch) [This breaks fingerprint at the moment]
    - Bring back HBM / Display Mode
    - LiveDisplay: Add Picture adjustment
    - kernel: Drop KCAL color control
    - kernel: Fix green tint issue on fod unlock [Thanks to Logan, Flackback and Demon000 for commit/fix!]
    - kernel: Enable LZ4 Compressed Ramdisk
    - Other improvements!

    Download Here!
    Enjoy!
    More information about flash guide, what is PixelOS and more, are on the original post! ☺️