[ROM][8.1.0_r52][OFFICIAL] AospExtended ROM V5.8 for Redmi 4A/5A [ROLEX/RIVA]

Search This thread


New member
Jan 5, 2020
I wan't to tell you or asking to you about this ROM.. Especially about battery

When I use this ROM, my phone is very difficult to recharge the batteries. There is no lightning icon inside the battery icon. I checked the Ampere application, it appears there with the status "fill" but only detected 1000mA. then I try to enter twrp to make sure where the problem is. I see the battery charging status is running normally. then I try to wipe cache and dalvik cache, then I reboot. the problem is fixed, my phone can be recharged. There is a solution?

Top Liked Posts

  • There are no posts matching your filters.
  • 42

     * 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 initial release
    And many more coming in future! Many extensions are added in each update so we miss out adding new extensions to 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!

    Download Site (rolex)

    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]


    Monitor the changelog here!

    [b]AospExtended 5.4 Changelog
    -Merged Android 8.1.0_r20
    -Merged April Security Patch 
    -Update all packages
    -Update all translations
    -Disable Quick settings on secure lock screen
    -Add AOKP animations and tweaks
    -Add Scrolling cache
    -Swipe down 3 fingers for screenshot
    -Fruity pebbles from DU!
    -Disable Fruity pebble when substratum overlays are enabled
    -Add Theme QS Tile
    -Re-design Extensions app!
    -Update OMS stuff
    -Add Substratum Service commits (Rootless substratum)
    -Fixed airplane mode on power menu
    -Merge statusbar battery icon fixes
    -Fixed widgets not loading issue
    -Added screenshot edit option
    -Configure QS panel transparency
    -Add QS tiles animations
    -Disable QS footer warnings
    -Allow QS customizer to use custom rows and columns
    -Improvements in hide QS tile’s title
    -Configure USB default mode
    -Android P animations
    -Toggle for P animations
    -Center clock finally!
    -Added Ambient display QS tile
    -AOD tile
    -AOD disabled by default
    -Add lockscreen visualizer
    -Option to launch running services from QS footer
    -Updates in AOSP dialer & Contacts apps
    -Signal strength improvement
    -Performance improvement
    -Lots of bug fixes
    Clean flash is always recommended​. Bug reports are not appreciated  if not clean flashed. 
    Remove any kind of security PINs/Password and Fingerprints before flashing this build.


    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 community. #StayHappy #ExtendYourDevice


    Checkout this ROM!


    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 stuff 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?
    https://goo.gl/UcTM9 and https://goo.gl/J4CSEP

    -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 Official Rolex/Riva, ROM for the Xiaomi Redmi 4a

    ECr34T1v3, 33bca, CarlosArriagaCM, manucarcor, muralivijay, ataberkozen
    Source Code: https://github.com/ECr34T1v3

    ROM OS Version: 8.x Oreo
    ROM Kernel: Linux 3.10.x
    ROM Firmware Required: MIUI Global
    Based On: AOSP

    Version Information
    Status: Stable
    Current Stable Version: v1.5
    Stable Release Date: 2018-06-01
    Current Beta Version: v1.0
    Beta Release Date: 2018-04-27

    Created 2018-05-01
    Last Updated 2019-02-03

    Build 2019/01/30:
    -Merged: January Security Patch (8.1.0_r52)
    -Updated: Graphic Blobs from marmite
    -Added: Media OMX blobs (Fix GCam)
    -Enabled: HAL3

    Build 2018/12/19:
    -Reworked: Compilation
    -Merged: MIUI Poweroff Charging Animation (Finally fixed offline charging)
    -Merged: Kernel tag 'LA.UM.6.6.r1-09600-89xx.0' CAF
    Last update of AEX Oreo. Thanks for all guys <3

    Build 2018/11/23:
    -Merged: November Security Patch (8.1.0_r50)
    -Fixed: Offline Charger

    Build 2018/10/17:
    -Merged: October Security Patch (8.1.0_r48)

    Build 2018/09/13:
    -Merged: September Security Patch (8.1.0_r46)
    -Added: Call Recording

    Build 2018/08/23:
    -Increased: JPEG Quality in Pictures
    -Increased: Some Cam Improvements
    -Added: Spectrum Support
    -Added: Universal XiaomiDoze (Fixed Battery Drain)
    -Fixed: Headset Sound bug (When receive calls)
    -Merged: Eagle DTS Audio added by default
    -Merged: Underclocked for more battery backup (battery_profile overlay)



    Frequently Asked Questions (F.A.Q)

    Q: Which TWRP do I use?
    A: Use latest TWRP for ROLEX/RIVA from HERE

    Q: Which GApps do I use?
    A: Flash OpenGApps Pico (recommended version). Link HERE

    Q: Is there a bug in ROM??
    A: No. It is stable. Maybe there is a problem (if you have it, let me know which one I will correct), but it is stable for daily use.

    Q: Do I have to wipe data if coming from another ROM?
    A: Yes, I will not be providing help/support to users that haven't wiped data when coming from another ROM.

    Q: How often will I be getting updates?
    A: The plan is for weeklies, if unavoidable circumstances come up, please don't spam the thread. I will release a build as soon as one is ready.

    Q: Does VoLTE/VoWiFi work?
    A: Yes, works.

    Q: Is the ROM official?
    A: Yes, Official, and updates OTA available.

    Q: I use Telegram, where can I find help on that platform?
    A: There is a common AEX Group Chat for all devices, the link is HERE

    Q: Does SafteyNet pass and is the SELinux Enforcing?
    A: Yes, SafetyNet does pass and SELinux is Permissive.

    Special Thanks

    Carlos Arriaga (@CarlosArriagaCM) for all
    Fabian (@33bca) for the Device Tree and Vendor Blobs
    Manuel Carmona (@manucarcor) for the help
    Stark(@devstark15), StarLord (@dellschulz) and Caio Oliveira (@Caio99BR) for helping me get started
    Thanks too for Aryan Patidar, MacTavish (@ataberkozen), Souradeep (@SouradeepB), Oli and PuteraP

    Thanks to everyone for the support <3

    Guys... NEW UPDATE AVAILABLE! ... I apologize for the days that I did not upgrade to ROM. It was 23 days, I was enjoying my university vacations to travel a little, however I will continue compiling monthly or weekly updates, I apologize for the delay. The changelog is in Post #2 of topic... Finally, check in Settings > OTA Updates or download the latest update from the official website "downloads.aospextended.com/rolex" .. I hope you enjoy the update. <3
    Guys, thank you for the support! This is the last version of AEX Oreo fixing problems, I'm sorry for still having other small things to fix, I will not have to fix them as I will be leaving the development of Redmi 4A / 5A .. I will compile the Pie version with the contribution of community, I will keep the AEX Pie official for a while. If you want, my repository is open to everyone who wants to compile the unofficial AEX Oreo, I will only release AEX Oreo updates updating security patch, today I will release the latest version of AEX Nougat with a custom zip (Custom Kernel and Spectrum Support ) optionally. I will continue compiling the AEX Pie for rolex / riva, but now I have bought a new device, the Redmi 5 Plus (vince) and I am going there soon. I will close all the builds next year, hopefully enjoy the OTA Updates that I will still compile for the AEX Oreo and Pie for the Redmi 4A / 5A .. Thank you very much, you are the best community that a dev can have.. i love you guys! <3
    Yes he told he would release it soon

    is solved the VoLTE bug, guys .. It was solved this week, I have not yet compiled because I'm waiting for the June AEX Security Patch .. As soon as the patch is released, I compile the new version with the VoLTE bug fixed