[ROM][12.0] AOSP 12.0 for Poco X3 [BETA][UNIFIED][OSS]

Search This thread

intox25

Member
Aug 13, 2018
32
16
Update available!

Download
aosp_surya-12-20211129-2131.zip | Mirror

Changelog
- Merged November 2021 security patch (12.0.0_r13)
- Switched to user builds instead of userdebug
- Added support for Google Play system updates
- Updated kernel to latest CAF tag and new optimizations
- Updated MIUI blobs from V12.5.4.0.RJGMIXM
- Fixed wifi and bluetooth MAC address
- Fixed SIM option disappearing after turning off SIM
- Prevent auto brightness from going too low
- Fixed content-based refresh rate (60Hz in netflix etc)
- Fixed Live Captions and recents text selection
- Added Quick Tap gesture from pixels
- Added option for proximity check on wake
- Enabled back Android 12 settings provider model
- Align lockscreen statusbar with normal statusbar
- Switched to stock notch cutout configuration
- Optimized dexpreopt to improve apps performance
- Switched to FUSE passthrough for faster /storage
- Improved thermal and touch profiles in xiaomi parts
- Added new Pixel 6 wallpapers (static and live)
- Added Extreme Battery Saver from pixels
- Added new Security Hub from Pixel 6
- Added nexus and pixel feature configs (sysconfigs)
- Fixed navigation bar sometimes stuck on wrong side
- Updated 4G+ icon to Android 12 (silk) design
- Added long press volume buttons to skip track
- Added long press power button to toggle flashlight
- Added gesture option to cycle through ringer modes
- Switched to Google Files app instead of DocumentsUI
- Increased range of night light intensity
- Allow to resume/pause downloads
- Allow disabling mute icon in statusbar tuner
- Removed pixel props spoofing for most gcam mods
- Added percentage steps in font size settings
- Misc optimizations, fixes and improvements.

Updating over previous build
- All users can dirty flash (make sure to wipe cache & dalvik cache)
- Recommended to flash V12.5.4.0 or newer firmware from here
- Follow update instructions mentioned in main post.

Notes
- Device randomly not waking up after sleep (aka SOD) should be fixed. It was diagnosed as UFS not waking from suspend and has been adequately patched in kernel drivers.
- BT and wifi MAC address now shows correctly instead of random one. You may need to clean flash to refresh it, as wifi mac address is stored in first boot.
- Selinux is enforcing, safetynet passes out of the box. User builds mean that most/all banking apps should work fine.
- Google Photos should have unlimited photos backup now, thanks to nexus sysconfig.

Thanks to Kuba Wojciechowski (for pixel systemui and settings port), PixelExperience, ProtonAOSP and others.

update is planned in the future?
The rom already had 2 huges updates, i don t see why it would stop.
 

tbsrock10

Senior Member
May 2, 2018
65
10
Discovery+ latest update crashes the app when casting to tv. I installed an earlier apk, its working now.
 

mikdo

Member
Oct 10, 2013
28
2
Hello

Wanted to do a clean flash. Process updater ended with error 1. There is a newer build from 6.12 on the device. Wipe Data, Cache and Dalvik + Format Data made. What am I doing wrong?
 

Diliz

Member
Jul 17, 2016
11
4
Hello

Wanted to do a clean flash. Process updater ended with error 1. There is a newer build from 6.12 on the device. Wipe Data, Cache and Dalvik + Format Data made. What am I doing wrong?
Can't install the aosp from 29.11 because I updated the xiaomi full package as well, waiting for an update of this rom now ><

The error message if anyone encounter it:

E3003: Can't install this package (Mon Nov 29 16:59:55 CET 2021) over newer build (Mon Dev 6 20:59:08+10 2021). Updater process ended with ERROR: 1

Edit: If you can downgrade to a previous xiaomi official rom, mine is currently 12.5.4.0.RJGMIXM, maybe the previous one will do the trick

Edit-2: I actually repacked the rom without the line in the install script checking for the build time etc, but the problem was twrp, I used twrp 3.6.0_11-0-surya from brigudav but it seems broken, used the twrp-3.5.2_10-12-surya-A12fix which I had in the first place to test some A12 roms and it worked with the unmodified aosp rom zip...
 
Last edited:

Syfer_Fever

Senior Member
Dec 3, 2011
828
177
Can't install the aosp from 29.11 because I updated the xiaomi full package as well, waiting for an update of this rom now ><

The error message if anyone encounter it:

E3003: Can't install this package (Mon Nov 29 16:59:55 CET 2021) over newer build (Mon Dev 6 20:59:08+10 2021). Updater process ended with ERROR: 1

Edit: If you can downgrade to a previous xiaomi official rom, mine is currently 12.5.4.0.RJGMIXM, maybe the previous one will do the trick

Edit-2: I actually repacked the rom without the line in the install script checking for the build time etc, but the problem was twrp, I used twrp 3.6.0_11-0-surya from brigudav but it seems broken, used the twrp-3.5.2_10-12-surya-A12fix which I had in the first place to test some A12 roms and it worked with the unmodified aosp rom zip...
i use brigudav's twrp 3.6.0_10-0 and it works. at least we know that the recovery is the problem
 
  • Like
Reactions: Diliz

brigudav

Senior Member
Feb 14, 2014
70
161
DV
Xiaomi Poco X3 NFC
Can't install the aosp from 29.11 because I updated the xiaomi full package as well, waiting for an update of this rom now ><

The error message if anyone encounter it:

E3003: Can't install this package (Mon Nov 29 16:59:55 CET 2021) over newer build (Mon Dev 6 20:59:08+10 2021). Updater process ended with ERROR: 1

Edit: If you can downgrade to a previous xiaomi official rom, mine is currently 12.5.4.0.RJGMIXM, maybe the previous one will do the trick

Edit-2: I actually repacked the rom without the line in the install script checking for the build time etc, but the problem was twrp, I used twrp 3.6.0_11-0-surya from brigudav but it seems broken, used the twrp-3.5.2_10-12-surya-A12fix which I had in the first place to test some A12 roms and it worked with the unmodified aosp rom zip...
Tnk, fixed https://www.androidfilehost.com/?fid=17825722713688250231
 
  • Like
Reactions: camperbh

dpkmui8

Senior Member
Jan 8, 2017
58
5
Moto G4 Plus
OnePlus 6
if anyone can comment my Twrp is encrypted as i forgot to flash DFE zip file after flashing rom, already completed first boot and phone is set up in the OS, can i go back into twrp and flash the DFE zip to decrpyt or do i have to go thru the install all over again? thanks.
 

r30orozco

Senior Member
Jan 16, 2012
123
40
Veracruz
if anyone can comment my Twrp is encrypted as i forgot to flash DFE zip file after flashing rom, already completed first boot and phone is set up in the OS, can i go back into twrp and flash the DFE zip to decrpyt or do i have to go thru the install all over again? thanks.
I think the DFE doesn't work even if installed right.

I wanted to access a bank app but did ask for setting up a password for the device. I had to fresh reinstall (because TWRP showed encrypted data on internal memory; SD was good). I used Migrate app and my SD card... No problems so far but setting up the configs takes some time 😪
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 23
    1613601037_android_12_logo_6.jpg


    Android 12 for Poco X3/X3 NFC

    Based on Android Open Source Project (AOSP 12.0.0_r13), with inbuilt gapps, pixel goodies and my custom feature additions & tweaks. Everything is working well to be used as a daily driver. Keep in mind that this is still a beta build, there might be unexpected bugs. These builds are based on OSS vendor, similar to WaveOS. QuicksilveR kernel is included.

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

    Features (on top of AOSP)
    GMS (gapps) and pixel goodies included
    Google Play mainline system updates
    Monet theming engine with Wallpaper Colors
    Monet in all supported gapps & gboard
    New at a glance in lockscreen & launcher
    Grid size and themed icons support
    New AOSP default wallpaper
    Pixel Launcher included
    Google Sans as default font
    Game Dashboard, Google Assistant 2.0
    Refresh rate settings (min/max/preferred)
    Safetynet passes out of the box
    One-handed mode
    Quick Tap gesture
    Extreme Battery Saver
    Auto rotate with face detection
    3 fingers swipe to screenshot
    Double tap to sleep on lockscreen
    Bluetooth battery level on statusbar
    App name in screenshots filename
    Delete button in screenshot menu
    Screenshot sound based on current ringer mode
    Quick settings quick pulldown
    One click to add/remove QS tiles
    New battery usage data in Settings
    Low battery LED light toggle
    Advanced reboot options
    Statusbar icons manager
    Proximity check on wake
    Long press volume buttons to skip track
    Long press power button for flashlight
    Unlimited Google Photos backup
    Unrestricted audio for screen recorder
    OEM (33w) fast charging detection
    Per-app cutout force fullscreen
    USB tethering, caffeine, NFC QS tiles
    Wifi/mobile data usage in QS footer
    Bring back separate wifi/data QS tiles
    RGB color balance controls
    Immersive gesture navigation
    2 or 3 button navigation
    Nav bar layout inversion
    Exfat SD card support
    LTE+/4G+ icon on statusbar
    DT2W on ambient display
    Percentage font size controls
    Misc UI tweaks and fixes
    Optimize everything on dexpreopt
    Optimizations from CAF and ProtonAOSP

    XiaomiParts included
    Ambient display
    Mi Sound Enhancer
    Clear speaker
    LCD features (HBM/CABC)
    Thermal profiles
    Game mode

    What's working?
    Almost everything

    Known issues?
    You tell me!

    Notes
    Based on OSS vendor
    Ships with QuicksilveR kernel
    User build & SELinux is enforcing
    Safetynet passes out of the box
    Do not flash GAPPS, its included

    Instructions
    Reboot to recovery
    Wipe data, cache, dalvik cache
    Flash latest Android 11 firmware
    Flash Android 12 ROM zip
    (optional) Flash magisk for root accesss
    (optional) Reboot to recovery and flash DFE to disable encryption
    Format data (if you're encrypted)
    Reboot to system
    Enjoy Android 12 ;-)

    Downloads
    ROM
    Firmware
    Magisk
    DFE (encryption disabler)

    Screenshots in post #2
    Join my Telegram support group here
    Kernel source here
    12
    Update available!

    Download
    aosp_surya-12-20211129-2131.zip | Mirror

    Changelog
    - Merged November 2021 security patch (12.0.0_r13)
    - Switched to user builds instead of userdebug
    - Added support for Google Play system updates
    - Updated kernel to latest CAF tag and new optimizations
    - Updated MIUI blobs from V12.5.4.0.RJGMIXM
    - Fixed wifi and bluetooth MAC address
    - Fixed SIM option disappearing after turning off SIM
    - Prevent auto brightness from going too low
    - Fixed content-based refresh rate (60Hz in netflix etc)
    - Fixed Live Captions and recents text selection
    - Added Quick Tap gesture from pixels
    - Added option for proximity check on wake
    - Enabled back Android 12 settings provider model
    - Align lockscreen statusbar with normal statusbar
    - Switched to stock notch cutout configuration
    - Optimized dexpreopt to improve apps performance
    - Switched to FUSE passthrough for faster /storage
    - Improved thermal and touch profiles in xiaomi parts
    - Added new Pixel 6 wallpapers (static and live)
    - Added Extreme Battery Saver from pixels
    - Added new Security Hub from Pixel 6
    - Added nexus and pixel feature configs (sysconfigs)
    - Fixed navigation bar sometimes stuck on wrong side
    - Updated 4G+ icon to Android 12 (silk) design
    - Added long press volume buttons to skip track
    - Added long press power button to toggle flashlight
    - Added gesture option to cycle through ringer modes
    - Switched to Google Files app instead of DocumentsUI
    - Increased range of night light intensity
    - Allow to resume/pause downloads
    - Allow disabling mute icon in statusbar tuner
    - Removed pixel props spoofing for most gcam mods
    - Added percentage steps in font size settings
    - Misc optimizations, fixes and improvements.

    Updating over previous build
    - All users can dirty flash (make sure to wipe cache & dalvik cache)
    - Recommended to flash V12.5.4.0 or newer firmware from here
    - Follow update instructions mentioned in main post.

    Notes
    - Device randomly not waking up after sleep (aka SOD) should be fixed. It was diagnosed as UFS not waking from suspend and has been adequately patched in kernel drivers.
    - BT and wifi MAC address now shows correctly instead of random one. You may need to clean flash to refresh it, as wifi mac address is stored in first boot.
    - Selinux is enforcing, safetynet passes out of the box. User builds mean that most/all banking apps should work fine.
    - Google Photos should have unlimited photos backup now, thanks to nexus sysconfig.

    Thanks to Kuba Wojciechowski (for pixel systemui and settings port), PixelExperience, ProtonAOSP and others.
    7
    Screenshots


    Latest build screenshots and changelog
    https://forum.xda-developers.com/t/...oco-x3-beta-unified-oss.4347197/post-86021005

    Credits
    - All my testers for testing my builds, reporting issues & logs
    - Roxirp for server
    7
    Update available!

    Download
    aosp_surya-12-20211028-1220.zip | Mirror

    Changelog
    - Enforcing selinux, safetynet passes
    - FBE wrapped key (encrypted users will need to format data)
    - Updated gapps to October (12_202110)
    - Updated MIUI blobs to V12.5.3.0.RJGMIXM
    - Updated kernel, merged latest CAF tag
    - Enabled and switched to AOSP wifi display
    - New at a glance in lockscreen & launcher
    - Monet in all supported gapps & gboard
    - New battery usage data in Settings
    - Game Dashboard, Google Assistant 2.0
    - Unlocked new widgets in Google app
    - Unlocked pixel-exclusive wallpapers
    - Fixed Mifare Classic detection on NFC
    - Reduced UI jank/stutters a bit
    - Enabled iorap and zygote preforking
    - Fixed pip mode in netflix and other widevine apps
    - Added RGB color balance controls
    - Added double tap to sleep on statusbar
    - Added 3-button nav bar layout inversion
    - Fixed issues with wifi/data separate QS tiles
    - Fixed fingerprint unlock ripple animation
    - Enabled DT2W on ambient display
    - Misc improvements & fixes

    Updating over previous build
    Encrypted users will need to clean flash (format data)
    Decrypted users can dirty flash, but make sure to wipe cache & dalvik cache
    Recommended to remove any pixel modules (such as ExtraPixel) before updating
    Recommended to flash V12.5.3.0 or newer firmware

    Thanks to PixelExperience, ProtonAOSP and others.
    4
    update is planned in the future?
    Yep. No ETA though.