[ROM][OFFICIAL][9.0]AospExtended v6.6

Was the 10/05 May build better than previous builds?

  • Yes

    Votes: 29 72.5%
  • Nope

    Votes: 11 27.5%

  • Total voters
  • Poll closed .
Search This thread


New member
Jan 18, 2018
Wifi goes off when phone is in sleep/lock mode

Wifi goes off when phone is in sleep/lock mode. How do I keep Wifi from disconnecting when phone is asleep?
I have fresh installed AospExtended-v6.7-vince-20190828-2035-OFFICIAL
Solved with
adb shell settings put global wifi_scan_always_enabled 1
adb shell settings put global wifi_sleep_policy 2
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 126

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

    Read the whole OP! Be respectful to each other and don't ask for ETAs, it's considered as being rude!


    AOSP Extended is an AOSP based rom which provides stock UI/UX with various customisations features along with the Substratum theme engine. The project has been made by cherry-picking various commits from various other projects. Being based on AOSP it provides a smooth and lag-free experience out of the box. We will constantly try to add more features and make it even better in future updates. A ROM by a user, for a user. #StayAOSP #ExtendYourDevice #BeExtended


    #ExtendYourDevice Here are the Extensions! on top of AOSP! We are constantly trying to update the list. Our aim is not to provide all the features available on earth. We are not thinking of cherry-picking every feature out there. Our aim is to add important features that we think should be here and also what you think. For addition of more tweaks or features, head on to our G+ community and post the list of features that you want! Features with commits will be more helpful!

    -Substratum Theme Engine
    -Omni's QSHeaders Background
    -One Handed UI
    -Grid Recents UI
    -Expanded Desktop
    -Statusbar Clock/Date Customizations
    -Dashboard Suggestions/Summaries (Enable/Disable)
    -Notification Intervals
    -Increasing Volume in Ringtone
    -D2S On Navbar
    -Long Press Back button  to Kill App
    -Dashboard Column Configurations
    -Detailed Location QS Tile!
    -Statusbar Traffic Indicators
    -Notification Count
    -DT2S On Statusbar
    -QS Quick Pulldown
    -QS Brightness Slider (Enable/Disable)
    -QS Tiles Animations
    -Force Expand Notifications (Enable/Disable)
    -Immersive Mode messages (Enable/Disable)
    -Flashlight Notifications
    -Immersive Recents
    -Toast Icon
    -MediaScanner Behaviour On Boot
    -Power Menu Customizations
    -Additional Battery Saver steps
    -Volume Rocker Tweaks (Wake/Music seek/Keyboard cursor control/Swap in landscape mode)
    -Add Gestures Back to Settings App
    -QS Haptic Feedback
    -One Tap Data & Wifi Tile
    -Auto Brightness Icon Toggle
    -Breathing Notifications
    -Clickable Clock and Date in Statusbar Header
    -Long Press Gear Icon in Statusbar Header Launches Extensions
    -Show 4G instead LTE switch
    -Night Mode QS Tile
    -Long press Caffeine Tile Action
    -Customize QS Rows/Columns
    -Customize small QS Tiles
    -StatusBar Brightness Control
    -Lockscreen Shortcut
    -Double Tap on Lockscreen to Sleep
    -Quick Unlock for PIN/Password
    -Battery Styles and Percentage
    -Navbar QS Tile
    -Flip Button Animation
    -Unlink Notification Volume
    -Status bar Clock Seconds
    -Partial Screenshot Type
    -Screenshot Delay
    -VIA Browser
    -Retro Music Player
    -Pixel's UI (Navbar/Accent/Pixellauncher)
    -Camera Sound Toggle
    -Advance Ambient Display
    -Longpress Power Button on Lockscreen for Torch
    -Disable FC
    -Wakelock Blocker
    -Toggle Lockscreen Media Art
    -Toggle Lockscreen Music Visualizer
    -Bluetooth QS Tile Easy Toggle
    -Disable QS on Lockscreen
    -Invert Ambient Display's Color
    -Toggle Dynamic Notification Card's Color
    -Low Battery Notification Toggle
    -Hide Clock/Date/Alarm Text from Lockscreen
    -Lockscreen Clock's Font Customizations
    -Weather on Lockscreen
    -Heads up Customizations
    -DU's HW Button Rebinding
    -Button Backlight Customizations
    -Recents Clear All FAB button and Re-positioning
    -Recents Free Ram bar
    -Custom Carrier label
    -Dynamic Navbar
    -Paranoid Android PIE Controls
    -Pocket Lock & Pocket Judge (Accidental Touch)
    -Toggle power menu on Lockscreen
    -Grid Recents
    -CPU info switch
    -Disable orange color in battery saver mode
    -PiP QS tile
    -New pretty adaptive icons for included AOSP apps
    -Toggle Always On display
    -Run SysUI tuner from Extensions
    -Built in DarkUI with multiple accents
    NOTE:Many features might be missing in the intial release
    And many more coming in future! Many extensions are added in each update so we miss out adding new extensions in this list. So always keep on checking the latest changelog in our G+ Community, and there you can monitor the previous changelogs as well, to see how far we have come![/B]


    Download ROM, GApps here for your device!

    Google Apps


    Want to try this awesomeness?

    [b]-Download the ROM and GApps of your choice
    -Backup each and every partition from TWRP Recovery
    -Make a full wipe (system, data, cache, dalvik)
    -Flash AEX Package
    -Install GAPPS package
    -Wipe cache!
    -And at last Reboot!
    [First boot will take few minutes! Have patience]
    Clean Flash is always recommended![/b]


    If you want any bug to be fixed please write here on xda in detail. Give Logcats, mention your device name, mention if any mods and kernels, if used and please be specific about it. By helping us, you are helping yourself too.


    Visit our Website, join our Google+ Community, Subscribe to our Telegram Channel. Also join our Telegram Group Chat!

    Do you want to translate to your language? Visit our Crowdin


    All sort of contributions are welcomed. You can post your walls in our G+ community. Minimum res we require is W: 1152px | H: 2048px. We don't want our users to fight with each other so we humbly request you to be respectful to each other. We are not earning anything by sharing this ROM. Always read the full OP. Don't Quote the whole OP. Join our channel and communitiy. #StayHappy #ExtendYourDevice


    People behind this amazing ROM!

    -JDC Team
    -Nitrogen Project
    -Pure Nexus
    -ABC ROM
    -GZR Community
    -Lakor Tools for Via Browser
    -Hemanth S Tobi for Retro Music Player
    -@AlienCreature7 and @Wizper99 (For designing the ROM Logo, Fling etc)


    I guess there is nothing wrong in reading facts!

    -Base Of the ROM & Version?
    ->Rom is based on AOSP.

    -Why no "Incremental updates" Support?
    ->Actually the updates we provide monthly are heavily changed and modified than the previous builds. New stuffs are merged and added. So we don't provide incremental updates and recommend clean flash.

    -Does this ROM Support Substratum/CMTE?
    ->Yes, full Substratum support!

    -Which Gapps are recommended?

    -Will this ROM relock the bootloader?

    -What about XPOSED?
    ->XPOSED is still in beta stage. We like Xposed but it messes up with the system so before giving any bug reports make sure you have xposed uninstalled.

    -When Will Be the Next Update?
    ->No ETAs please. ROM Will be updated whenever the new build is ready. We generally provide monthly updates with latest security patches and new features.

    -I am facing FCs, Bugs, Some feature is broken?
    ->Provide full info about your problem with logcats and the procedure to reproduce it.
    ->How to take Logcats?

    -Adaway is not working :(
    ->Download it from here Adaway

    -SElinux Linux mode changer app is not working nor Busy Box installer app is working.
    ->Everything is good with the sources. You should try other things first and then contact your maintainer.

    -I want to contribute to the development of this ROM.
    ->Join our Google+ community
    ->Join our Telegram group chat

    -I want to contribute to the translation of this ROM.
    ->Visit our Crowdin

    XDA:DevDB Information
    AospExtended, ROM for the Xiaomi Redmi Note 5 / 5 Plus

    AmulyaX, AndroBuddy007
    Source Code: https://github.com/AospExtended/

    ROM OS Version: 9.x Pie
    ROM Kernel: Linux 4.x
    Based On: AOSP

    Version Information
    Status: Stable
    Current Stable Version: v6.7
    Stable Release Date: 2019-07-21

    Created 2018-10-11
    Last Updated 2019-10-31
    -Merged July Security patch (r44)
    -Fixed issue with USB tethering
    -Systemui: Name cellular tile based on carrier
    -Systemui: Enable/fix QS detail view & adapt to pie
    -SystemUi: Fix several layout bugs
    -Launcher3: Use a buttom margin when software navigation bar is not in use
    -Launcher3: Set search type based on GSA.
    -Added Volte icon from oos
    -Decrease padding for status bar icon
    -Fix clock/statusbar padding issue
    -Seek bar improvement
    -Allow pixel 3 live wallpaper to work in ambient display
    -Animate change in time of Q clock
    -Added 3 new font - Nokia pure, alegreya SansSc, Android Q's Source sans pro
    -Switch to Los Privacy guard for P
    -Bring back to Night light and removed live display temperature
    -Fix crashes with few music players such as Gaana
    -Set delay for screenshot shortcut to 0
    -Fixed install button on updater app(can be installed via updater now)
    -Fixed issues with substratum(included correct substratum signature key, no need to install it manually)
    -Refactored volte icon toggle
    -Add custom music fx
    -Add toggle for aex logo in statusbar
    -Merged with latest sources
    -Under the hood improvements
    -Bug fixes and performance improvements

    -Merge June security patch (9.0.0_r40)
    -Rebased to my 4.9 trees
    -Kernel upstreamed to 4.9.180
    -Massive stability improvements
    -Update all translations
    -Update all pre-built apks
    -Update all of our packages
    -Update APN configs
    -Update Weather client
    -Update Boostframework
    -Update our launcher with Quick Space
    -Add Pocket Lock feature
    -Add Sysserv support for Substratum theme engine
    -Add Pixel Navigation bar animation
    -Add Live Display
    -Add Font QS tile
    -Add Android Q’s seek bar to media notification
    -Add Android Q’s status bar battery icon
    -Add Less boring heads up feature
    -Add Battery animation in settings
    -Add a new Elegant UI theme
    -Improve UI for certain applications
    -Improve three finger swipe screenshot feature
    -Improve some UI/UX aspects
    -Improve auxiliary camera support
    -Improve Bluetooth SBC
    -Improve Location QS tile
    -Fix battery icon shortcut
    -Fix some theme issues
    -Fix audio server crashes again
    -Under the hood improvements
    -Bug fixes and performance improvements

    -Merged May Security Patch (9.0.0_r37)
    -Added Android Q Style Battery Icon
    -Added livedisplay 2.0
    -New theme -> ElegantUI
    -Improved Dailer and Contacts App
    -AOD Trasition Fixed
    -Updated blobs from Tissot Pie
    -Updated thermal blobs
    -Massive stability improvements
    -Merged with latest sources
    -Under the hood improvements
    -Bug fixes and performance improvements

    -Merged April security patch (9.0.0_r35)
    -Improved BootAnimation
    -Update dexpreopt flags
    -Build clearkey HIDL service
    -Sepolicy updated
    -Add QC RIL service support
    -Updated all translations
    -Updated all pre-built apks
    -Android Q inspired lock screen clock
    -Added Aggressive Battery
    -Added support for WPS
    -Added new lock screen clock style
    -Added option to enable seconds in status bar clock
    -Improvement in ambient music ticker’s layout
    -Rebased our OTA app
    -Removed extended vol panel toggles, expandable panel is enough
    -Improvements to AOSP Calender
    -Fixed some themeing issues in DocumentsUI (Files)
    -Improvements and fixes to the default launcher
    -Under the hood improvements
    -Bug fixes and performance improvements

    -Merge March security patch (9.0.0_r34)
    -Fix problems with Gcam
    -Update all translations
    -Update all pre-built apks
    -Update all of our packages
    -Update APN configs
    -Update Weather client
    -Add option to show AOD while charging
    -Add Onehanded mode QS tile
    -Add Sync QS tile
    -Add AmbientDisplay QS tile
    -Add Music QS tile
    -Add AOD QS tile
    -Add Google sound search QS tile
    -Add extended volume panel
    -Add option to set a timeout for volume panel
    -Add more summaries in Extensions
    -Improve ambient display
    -Improve in-call vibrations
    -Remove buggy QS opacity feature
    -Fix audio server crashes
    -Fix ambient display with heads up off
    -Under the hood improvements
    -Bug fixes and performance improvements

    -Fixed FM
    -Updated prebuilt GCAM (Front hw Flash is now usable)
    -Removed useless fw-res ENFORCE_RRO
    -Added option to enable AOD while charging
    -Merged with latest sources
    -Minor other changes

    -Merge February security patch (9.0.0_r31)
    -Add Dirac Support (Mi Sound Enhancer)
    -Added icons in Advanced Ambient Settings
    -Updated XiaomiDoze
    -Fixed issues with aptX support
    -Switch to common data-ipa-cfg-mgr
    -Updated SDM blobs from latest caf tags
    -Update all translations
    -Update all pre-built apks
    -Update all of our packages
    -Update Boostframework
    -Update activity manager service (AMS)
    -Update Ambient music
    -Update Sim colors
    -Update dialer app
    -Add Lockscreen clock styles
    -Add Recents icon pack support
    -Add ADB over network support
    -Add option to hide lockscreen clock
    -Add option to hide lockscreen items
    -Add Incall vibrations seperately
    -Add Kill app button on notification guts
    -Add option to minimise notifications when screen is on
    -Add Less notifications sound feature
    -Add Onehanded mode feature
    -Add Compass QS tile
    -Add LTE tile
    -Add battery temperature in battery stats
    -Add Wellbeing dark theme
    -Add option to set call log deletion limit
    -Add adjustable volume steps
    -Revamp our dark theme
    -Improve theming on certain elements
    -Bug fixes and performance improvements
    -Applied minor cleanup
    -Merged with latest sources

    -Merge January security patch (9.0.0_r30)
    -Bumped to AospExtended 6.2
    -Built inline with stock kernel, feel free to flash any other custom kernel, just don't blame me for any issues you face because I recommend using this stock kernel
    -Advanced Ambient Settings (XiaomiDoze) are back! Go to Settings->Display->Ambient Display->Advanced Settings to use them
    -Implemented boostfw which enhances graphical and core performance(Remain on stock kernel is you wanna use it, as no other kernel got CPU Boost enabled)
    -Nuked WifiAware API
    -Added various Animations customizations in Extensions
    -Added 3-Finger Swipe Gesture for Screenshot
    -Added Apps-Ops
    -Added OP like Navigation Gestures
    -Added Rounded Corners control
    -New Dialer UI
    -Added various Launcher3 customizations
    -Added System Animations OFF (Default/CRT/Scale)
    -Fixed Battery Drain Issue
    -Weather Client Updated
    -Applied minor cleanup
    -Merged with latest sources

    -SELinux Enforcing
    -Crash while toggling flight mode fixed
    -Font Management Service Added (Ability to change fonts)
    -Ambient Display transition fixed
    -Lags/delay while opening apps fixed completely
    -Clocked to normal CPU Frequency (No underclocking)
    -New QS styles added
    -Miracast fully working (Screen Mirroring/Screen Casting)
    -OMX errors fixed which made YouTube videos to go black and only audio being played
    -Updated blobs to Tissot Pie
    -Updated WFD and aptX blobs
    -Updated icons in Power Menu
    -Fixed padding for VoLTE Icon
    -Battery Bar customisations added
    -OTA Improved
    -Weather Client Updated
    -Applied minor cleanup
    -Merged with latest sources

    -Merge December security patch (9.0.0_r21)
    -Built inline with Zucc Notch, did this after reading all reviews here
    -HOTSPOT bug fixed
    -Green Cam fixed
    -Added back Snap, install Gcam after enabling CamHAL3 (cam2api)
    -Delay in opening apps fixed
    -Signal bars would show accurate signal strength now, fixed after a guy reported on TG
    -Updated Alarm blobs
    -Updated DRM Widevine blobs
    -Add new bootanimation by Edoardo Zullo
    -Configurable 0, 90, 180 and 270 degree rotation
    -Add QS Style Picker
    -Ringtone support for Multi-Sim
    -Improvements in statusbar bluetooth battery indicator
    -Add button to AppErrorDialog to upload crash information to dogbin
    -Enable call blocking by default in dialer
    -Add ambient music ticker
    -Add full navbar gesture
    -Add Smartnav(Smartbar,pulse,fling)
    -Launcher3: Round corners for recent cards
    -Cleaned up tree and updated few blobs
    -Merged with latest sources

    -Added ESE-Powermanager blobs
    -Added power off alarm blobs
    -Improved Fingerprint Service and responsiveness
    -Added prebuilt GCAM (RN5Plus fix by Arnova)
    -Updated Camera blobs
    -Tried to improve the network and fix the issue that made the device lock itself when turning on/off flight mode.
    -Applied minor cleanup
    -Merged with latest sources

    -Fixed the issue with DT2W finally, you can now disable it in Settings->Display
    -Fixed Auto-Brightness, brightness will now be optimised according to light normally
    -Added new battery meter style
    -Add GCAM
    -Added Jelly Browser instead of Via
    -Updated GPS blobs to Pie
    -Added aptX blobs
    -Updated Power Profile to Pie
    -Battery stats resetting on every boot completely fixed
    -Removed unnecessary camera files
    -Merged with latest sources

    -Merge November Security Patch(9.0.0_r16)
    -Removed ANNOYING Data Selection Pop-Up on every boot
    -Prebuilt with Zucc (Legendary in balancing the battery drain, really good idle drain)
    -Add XiaomiDoze in Ambient Display (Advanced Settings)
    -LockScreen Weather (Google Awareness API)
    -Full NavBar Gesture Support along with DT2S
    -Enabled Call Recording
    -Merged with latest sources

    -Stable Build
    -OTA SUPPORT Added, you can now receive updates in Settings->System->(Advanced)System Updates
    -Fixed the Google Photos bug
    -Added Clock customizations
    -Updates will be downloaded from our new download center (Cloud Service Provider - SourceForge)
    -Minor Cleanups
    -Upstream Merge

    -Official Build
    -Added VoLTE Icon, with a toggle so that people can disable it too. Big thanks to @shivatejapeddi
    -Added 18:9 scaling to apps
    -Enabled HAL3 (Cam2API, no need to flash it)
    -Improved brightness sensor response
    -Minor cleanup.

    -Official Build
    -Custom Kernels can now be flashed without any issue
    -Completely got rid of lags
    -No delay in unlocking via fingerprint or by using Power Button
    -Double Tap to Wake is enabled by default
    -Screen Flickering fixed finally
    -Display blobs updated
    -Some cleanups and minor fixes
    -Merged with latest sources

    -Official Build
    -Fixed delay on unlocking screen and slow FP issues
    -Screen Flickering Fixed
    -Problem with no charging screen when powered off, i.e offline charging fixed
    -Reverted blobs to MIUI10.
    -Removed Firmware update now as most people got it updated.
    -Merged with latest sources

    -Official Build
    -Shifted download to SourceForge as people were facing slow dl speed on AFH
    -LED fixed for real now
    -Wrong battery stats, battery being reduced/increased after rebooting, fixed too
    -Updated blobs and removed useless stuff
    -Added firmware update so that people will face less bugs on the latest MIUI Firmware
    -Merged with latest sources

    -VoLTE fixed forever
    -Removed HD capable sign
    -LED Light Fixed
    -Added option for Oreo recents who don't like Pie Recents

    -Pie Release
    -VoLTE hax added
    -Fixed Sensors and FP
    -Fixed Proximity and Ambient Light Sensor
    -Everything works now, no popup on every boot for sim choosing, but VoLTE doesn't work after reboot
    AospExtended v6.1

    -Merge December security patch (9.0.0_r21)
    -Built inline with Zucc Notch, did this after reading all reviews here
    -HOTSPOT bug fixed
    -Green Cam fixed
    -Added back Snap, install Gcam after enabling CamHAL3 (cam2api)
    -Delay in opening apps fixed
    -Signal bars would show accurate signal strength now, fixed after a guy reported on TG
    -Updated Alarm blobs
    -Updated DRM Widevine blobs
    -Add new bootanimation by Edoardo Zullo
    -Configurable 0, 90, 180 and 270 degree rotation
    -Add QS Style Picker
    -Ringtone support for Multi-Sim
    -Improvements in statusbar bluetooth battery indicator
    -Add button to AppErrorDialog to upload crash information to dogbin
    -Enable call blocking by default in dialer
    -Add ambient music ticker
    -Add full navbar gesture
    -Add Smartnav(Smartbar,pulse,fling)
    -Launcher3: Round corners for recent cards
    -Cleaned up tree and updated few blobs
    -Merged with latest sources

    People already on AEX v6.0 should receive an OTA

    Oh obviously, I know how much people love AEX here, I wouldn't let you guys wait that much, so I didn't sleep today and fixed everything, will be back at studying so won't be able to be update again if any other bugs comes up, please keep that bug a secret till next week too in case you see one, though I am pretty sure many things got fixed and a big improvement over previous one. KINDLY CLEAN FLASH to avoid issues.

    In few days, June Security Patch will be out, that's when I'll push v6.6 as I said earlier update didn't come last month because of me being busy with the new 4.9 based trees, which you already might have tried with the LOS builds I did recently in past month.

    The deal is, everything works fine, there shouldn't be any bugs now, 4.9 will make the system more smooth and the battery backup will surely be insane. But the tradeoff is 3rd Party camera, we have seen green artifacts in WhatsApp cam previously and it's still there, no only us, many other devices on Pie are facing the same issue, I'll push the update but you guys will have to compromise on one thing, please use the Snap Camera which will come prebuilt or the GCam I'll post with the download post, because that's what works flawlessly on 4.9
    We have been testing AEX on the 4.9 kernel and my LOS trees, and it's insane tbh. AEX has never been this good for our device in my humble opinion.

    So please, I request you guys to refrain from mentioning green camera bugs, it's a humble request, because it can't be solved as of now, all I can do is implement OSS camera HAL from CAF and nuke the prebuilt camera hidl blobs from MIUI, but it's very difficult as of now. I have been banging my head with the logs but they just don't explain enough for me to act. So give some time idk how much though, please use Snap or GCam to click your photos, it shouldn't be that difficult I guess :/

    I hope it won't be difficult for you guys to adjust on that a little.

    v6.6 will be the biggest update ever. Changelog will be pretty good! Both Device side and ROM side.

    Stay tuned!
    AEX v6.1 Soon!

    (Probably this Monday)