Development [ROM][12L][OFFICIAL] PixelOS [AOSP][STABLE][10/06/2022]

Search This thread
I think I found the issue causing high battery drain as well as high temperature. I was monitoring battery discharge rate and CPU usage using Castro. I found that the 2nd cluster of the cpu just locks at maximum frequency all the time causing high temps and battery drain, While the 2nd cluster's frequency was variable I was getting low discharge rate and better temps. I tried to find application that might be causing the CPU to lock at max freq but still no luck, I think it's a kernel issue and not the rom but then again I could be completely wrong. I've attached screenshots for better understanding.
this is a well-known problem with this phone, happens with any rom including stock, usually after turbo-charging but not only. probably a firmware bug. I don't believe anyone found the actual cause yet
 

goldenbeard21

Member
Mar 2, 2022
31
7
Redmi Note 10 Pro
I think I found the issue causing high battery drain as well as high temperature. I was monitoring battery discharge rate and CPU usage using Castro. I found that the 2nd cluster of the cpu just locks at maximum frequency all the time causing high temps and battery drain, While the 2nd cluster's frequency was variable I was getting low discharge rate and better temps. I tried to find application that might be causing the CPU to lock at max freq but still no luck, I think it's a kernel issue and not the rom but then again I could be completely wrong. I've attached screenshots for better understanding.
So after rooting and installing fkm I was able to control frequencies of CPU on idle which increased the battery and decreased temp tremendously, I'm pretty confident that the issue may be the kernel.
 

Attachments

  • Screenshot_20220525-221123_Castro.png
    Screenshot_20220525-221123_Castro.png
    118.9 KB · Views: 61
  • Screenshot_20220525-221129_Castro.png
    Screenshot_20220525-221129_Castro.png
    144.1 KB · Views: 61

pdzz

Member
Nov 24, 2021
14
14
So after rooting and installing fkm I was able to control frequencies of CPU on idle which increased the battery and decreased temp tremendously, I'm pretty confident that the issue may be the kernel.
that would not be surprising as a few people in the PixelExperience thread have pointed out to have fixed the battery drain by changing to the vantom kernel

 

goldenbeard21

Member
Mar 2, 2022
31
7
Redmi Note 10 Pro
that would not be surprising as a few people in the PixelExperience thread have pointed out to have fixed the battery drain by changing to the vantom kernel

The CPU results are from the stock kernel comes with the rom which is vantom
 
  • Like
Reactions: pdzz

sineyas

Member
Feb 18, 2016
11
3
I have also a battery drain issue, fully charged my phone than let it all the night with AOD activated and the battery decreased to 50 % in 8h of pure inactivity (except AOD)
hope dev will fix this issue soon cuz it's the best rom out there for RN10P
thanks aryan :)
 
  • Like
Reactions: Aryannn999

lakyman

Senior Member
Aug 25, 2008
95
16
Montpellier
I'm on the latest build and i have two issues ! Sometimes the phone is really slow and i have to reboot it so it can be fast again ! ANd whenever i'm calling someone with a wired headphone the sound quality of the mic is terrible ! The person hears me so bad and with a lot of ambiant noises ! Please fix those two issues ! Thanks
 

DragosStefan99

New member
May 27, 2020
2
0
Hey, sorry to bother, the rom is absolutely great, just great! But i ve found one serios bug... sometimes, when you press the power button to wake the screen it stays black, no matter you double tap, you press, nothing works, just a hard reset work and fixes the problem until it appears again. While the screen stays black, you can hear the taps and haptic feedbacks coming from the phone while you try to light up the screen. I do not know what it could be, followed the guide step by step no other problems.. just this one
 

thor'ed

Member
Nov 16, 2021
22
6
I was on a Arrow OS A12/11 and Pixel experience before reverting back to MIUI 12.5 and now I'm on MIUI 13. Want some taste of good ol stock android back. MIUI 13 has reduced battery life and smoothness is also reduced. I wanted some feedback on how the haptics and idle battery drain is on this ROM (as I see some issues reported in this thread). Also is there any sort of screen flicker at low brightness?
 

goldenbeard21

Member
Mar 2, 2022
31
7
Redmi Note 10 Pro
I was on a Arrow OS A12/11 and Pixel experience before reverting back to MIUI 12.5 and now I'm on MIUI 13. Want some taste of good ol stock android back. MIUI 13 has reduced battery life and smoothness is also reduced. I wanted some feedback on how the haptics and idle battery drain is on this ROM (as I see some issues reported in this thread). Also is there any sort of screen flicker at low brightness?
Haptics are good and the intensity of haptics are customizable aswell, idle battery drain is amazing I usually have around 2-4% overnight drain (6-8 hours) & finally I haven't noticed any flickering and even if somehow you encounter that there is anti-flicker mode hope this helps.
 
  • Like
Reactions: thor'ed

Termi92

Senior Member
Mar 8, 2011
79
20
Xiaomi Mi A3
So, which FW should I flash for the latest may 13 update? 12.5.9 or 13.0.8? In the OP 12.5 is the recommended, but on the website it is instructed to flash miui 13 fw.
 

thor'ed

Member
Nov 16, 2021
22
6
So, which FW should I flash for the latest may 13 update? 12.5.9 or 13.0.8? In the OP 12.5 is the recommended, but on the website it is instructed to flash miui 13 fw.
+1 to this. Also since I am on MIUI 13 already, do I need to flash the MIUI 13 firmware as well before flashing the ROM or not?
 

Aryannn999

Senior Member
Aug 21, 2018
105
103

Aryannn999

Senior Member
Aug 21, 2018
105
103
I have also a battery drain issue, fully charged my phone than let it all the night with AOD activated and the battery decreased to 50 % in 8h of pure inactivity (except AOD)
hope dev will fix this issue soon cuz it's the best rom out there for RN10P
thanks aryan :)
Hi, I'll look at the AOD stuff for the next update (after the June one). Thanks!
 

Aryannn999

Senior Member
Aug 21, 2018
105
103
I think I found the issue causing high battery drain as well as high temperature. I was monitoring battery discharge rate and CPU usage using Castro. I found that the 2nd cluster of the cpu just locks at maximum frequency all the time causing high temps and battery drain, While the 2nd cluster's frequency was variable I was getting low discharge rate and better temps. I tried to find application that might be causing the CPU to lock at max freq but still no luck, I think it's a kernel issue and not the rom but then again I could be completely wrong. I've attached screenshots for better understanding.
Hi. The kernel and a few other stuff were changed in the June update. Let me know how it is with that
 

Aryannn999

Senior Member
Aug 21, 2018
105
103
Hello :)

Sorry for the lack of updates here on XDA, but I have a new build to share today.

You can download it here or here.

The source changelog can be found here
The device changelog can be found here

For this build, I have switched to EROFS (Enhanced Read-Only File System) as well as F2FS compression. What does this mean for you? In short, things will be faster on this build.

Due to the EROFS changes, you will not be able to directly modify the system files yourself (As in the name, it is read-only). You will however be able to modify those files by using magisk and its modules.

Due to the change to F2FS compression, I recommend clean flashing this build with the PixelOS recovery or the provided OrangeFox recovery (It will only work if you flash the ROM and format data through those two recoveries). A dirty flash might work but it is not tested nor is it recommended as F2FS compression really helps overall.

Both these changes combined make for a much faster and smoother experience. I have also updated the original post with the required links and flashing steps. Enjoy the build :)
 
  • Like
Reactions: PKRN_

PKRN_

New member
Jun 10, 2022
3
3
Redmi Note 10 Pro
Hello :)

Sorry for the lack of updates here on XDA, but I have a new build to share today.

You can download it here or here.

The source changelog can be found here
The device changelog can be found here

For this build, I have switched to EROFS (Enhanced Read-Only File System) as well as F2FS compression. What does this mean for you? In short, things will be faster on this build.

Due to the EROFS changes, you will not be able to directly modify the system files yourself (As in the name, it is read-only). You will however be able to modify those files by using magisk and its modules.

Due to the change to F2FS compression, I recommend clean flashing this build with the PixelOS recovery or the provided OrangeFox recovery (It will only work if you flash the ROM and format data through those two recoveries). A dirty flash might work but it is not tested nor is it recommended as F2FS compression really helps overall.

Both these changes combined make for a much faster and smoother experience. I have also updated the original post with the required links and flashing steps. Enjoy the build :)
Nice 👍 gotta flash it soon :)
Can you add AOD schedule and AOD on charge option?
Always thanks for the rom!
 
  • Like
Reactions: Aryannn999
is there a proper backup solution? or can any of the recommended recoveries at least decrypt /data? I wasted enough time getting the phone to work as I want and making sure all the auth/2fa/etc stuff works just 2 weeks ago, not enjoying the thought of slogging manually through all that again at all.

I realize people making custom roms don't owe users anything, but a tiny bit more consideration and respect for your users' time would be, you know, nice? some people actually _use_ their phones, not just rom-hop for fun.

at least have the courtesy of holding off on clean-flash-requiring changes until a full backup is possible, especially changes like this, which promises some vague "performance benefits" and does not seem critical at all.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    So does PixelOS Recovery support data decryption? It's a little hard to tell from this wording (since it is also by definition a custom recovery).

    And if it does, is there a way to use it to mount decrypted /data and tar its contents up, with SELinux labels etc.? I'm willing to get my hands very dirty if it means I can avoid setting up the phone by hand again.
    Hello, I've compiled a TWRP build that supports decrypting /data on Android 12 as well as supporting EROFS. It's a very early build but it does the job and I haven't run into any issues here. Enjoy!
    2
    I think I found the issue causing high battery drain as well as high temperature. I was monitoring battery discharge rate and CPU usage using Castro. I found that the 2nd cluster of the cpu just locks at maximum frequency all the time causing high temps and battery drain, While the 2nd cluster's frequency was variable I was getting low discharge rate and better temps. I tried to find application that might be causing the CPU to lock at max freq but still no luck, I think it's a kernel issue and not the rom but then again I could be completely wrong. I've attached screenshots for better understanding.
    @Aryannn999 - was this the Vulcan driver? Or, is that issue still there in the latest build? Also: thanks for being the dev behind my daily driver. Highly appreciated!
    2
    @Aryannn999 - was this the Vulcan driver? Or, is that issue still there in the latest build? Also: thanks for being the dev behind my daily driver. Highly appreciated!
    It seems yes Vulkan did cause some heating. I'm also looking at an issue where the AI mode on miuicamera causes something similar. For now I recommend turning off the AI mode in miuicamera and stuff should be great.
    2
    is there a proper backup solution? or can any of the recommended recoveries at least decrypt /data? I wasted enough time getting the phone to work as I want and making sure all the auth/2fa/etc stuff works just 2 weeks ago, not enjoying the thought of slogging manually through all that again at all.

    I realize people making custom roms don't owe users anything, but a tiny bit more consideration and respect for your users' time would be, you know, nice? some people actually _use_ their phones, not just rom-hop for fun.

    at least have the courtesy of holding off on clean-flash-requiring changes until a full backup is possible, especially changes like this, which promises some vague "performance benefits" and does not seem critical at all.
    No recovery on Android 12 can decrypt data, the TWRP team has been working on it for a while. A full backup is possible, you don't need recovery to decrypt /data to take a full backup. There are apps such as Swift Backup that you can use to backup and restore app data (including the 2FA apps I use). I do use this device as a phone as well and I don't ROM hop. These changes were major and for F2FS compression to work, it needs a clean flash.

    Instead of asking me to have the courtesy to hold off on asking for a clean flash, please read what I said as well as the instructions on the website, it is highly recommended (not a requirement) as I noticed good improvements with EROFS and F2FS compression. If you believe it is just some "vague performance benefits", go ahead and try a dirty flash.

    EDIT: Once someone has figured out decryption via recovery on Android 12, I'll build and link that recovery here, but for now as I said, it is not possible sadly.
    2
    you also wrote that dirty flash is untested (which means "all bets are off you are on your own lol" in my book, but correct me if I'm wrong).

    do you have any numbers? (I'm just idly curious, and will totally understand if you ignore the question. performance improvement due to less data shoveling is indeed very plausible, especially when write amplification is significantly reduced like f2fs compression promises to do, but I haven't noticed any performance problems so far on this rom in the first place, so I wonder how much of a placebo effect that improvement is in practice)

    thank you for Swift Backup recommendation, will try!
    Yes, I have not tested a dirty flash personally. On my telegram group, I have seen two people say a dirty flash worked fine for them so I guess you could try it. I have just mentioned that I haven't tested it personally and I recommended a clean flash, that's it.

    Personally, I didn't take any benchmarks myself as I don't really believe in any benchmarking apps, I looked at real-world use. Apps opened faster, boot times were reduced, and stuff, in general, was a bit faster. If you feel the performance is already great and you don't need F2FS compression right now then go ahead and try a dirty flash (according to two users on the telegram group it was fine) Regarding the numbers, a tester took a few tests using the CPDT benchmark and saw a good improvement in Sequential Write and read which increased by about 100 MB/s, Random Write and Read Increased by 50 MB/s, and memory copy increased by about 1.4 GB/S (to 5.15 GB/s)
  • 13
    latest.png

    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), a fork of OG Pixel Experience with improvements on the top of it. Huge respect to Pixel Experience team for their work, thanks to them for making this ROM possible.
    In short a fully functional Pixel Experience with just the right amount of essentials.

    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.
    */

    Improvements over PixelExperience

    Device Specific Issues:
    • Slow motion in miuicamera

    Requirements
    • Flash the ROM only with PixelOS recovery or OrangeFox recovery (My build, not the official version)
    • Flash the latest MIUI 13 firmware for your region

    Downloads
    Get the latest PixelOS Build for the Redmi Note 10 Pro/Max here
    Firmware for sweet https://xiaomifirmwareupdater.com/firmware/sweet
    Firmware for sweetin https://xiaomifirmwareupdater.com/firmware/sweetin
    Magisk (optional) https://github.com/topjohnwu/Magisk/releases
    PixelOS Recovery https://sourceforge.net/projects/pixelos-releases/files/twelve/sweet/recovery
    OrangeFox Recovery https://sourceforge.net/projects/orangefox-releases/files/sweet

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

    Notes
    • Encryption is enabled by default
    • SELinux is enforcing
    • MIUICamera from the latest MIUI release is included
    • VantomKernel is the default kernel


    PixelOS Recovery is recommended if you want to stay encrypted, no custom recovery supports encryption on Android 12, i.e. you won't be able to decrypt your data.
    Flashing Instructions
    Clean flash (coming from a different ROM):

    • Download the latest MIUI 13 firmware for your region
    • Download the ROM from the link above
    • Download Magisk v25 (optionally)
    • Reboot to recovery
    • Flash the latest MIUI 13 firmware for your region
    • Flash the ROM
    • Format data
    • Reboot and voila!
    • To get root access, reboot to recovery after ROM setup and flash magisk.

    Updating to a newer build (dirty flash):
    • Flash ROM zip and magisk (optional)
    • Wipe cache and dalvik (optional, recommended)
    • Reboot and voila!

    Join our Telegram Group https://t.me/aryanschat
    Buy me a Coffee https://paypal.me/whyredfire

    Source Code
    PixelOS http://github.com/PixelOS-Pixelish
    Device Tree and Vendor Tree https://github.com/PixelOS-Devices
    Kernel Tree https://github.com/vantoman/kernel_xiaomi_sm6150/tree/courbet-12.1

    ROM OS Version: Android 12L.
    ROM Kernel: Linux 4.14.282
    Stable Release Date: 09 June 2022
    Latest Release Date: 09 June 2022
    5
    So does PixelOS Recovery support data decryption? It's a little hard to tell from this wording (since it is also by definition a custom recovery).

    And if it does, is there a way to use it to mount decrypted /data and tar its contents up, with SELinux labels etc.? I'm willing to get my hands very dirty if it means I can avoid setting up the phone by hand again.
    Hello, I've compiled a TWRP build that supports decrypting /data on Android 12 as well as supporting EROFS. It's a very early build but it does the job and I haven't run into any issues here. Enjoy!
    2
    My device RN10Pro(India) RKFINXM version does not have a MIUI 13 firmware. Can I install the latest update?
    As he mentioned: MIUI firmware 13 IS required. Id wait till its available for your device. But I dont miss anything so far. As long as it works I wouldnt switch to latest update.