[ROM][Xiaomi Mi 9][OFFICIAL] Havoc OS 4.9 [11.0][26/09/2021]

Search This thread

Quorthon74

New member
Apr 20, 2021
1
0
the only issue is the allready reported problem with the touch screen. Hope to see this solved soon, thanks!!!
 
Last edited by a moderator:
Just installed the ROM. Came from PA. Very smooth, much lesser overheating. If your sensors (wifi, nfc, fp etc.) are not working it's probably because of corrupted persist.

Just experiencing some minor bugs
- touch screen bug as mentioned above happened once, had to lock/unlock few times
- just a visual bug, the signal strength icon is a bit higher up/off center when using data. I'll try and add a pic.

 

David *"**

Senior Member
Dec 9, 2014
64
5
I got a complain and a doubt. First is because the installation guide says the Gapps are optional when it's not true there's not even play store included In the ROM. Second is, I flashed Nikki Gapps after android R Gapps and I'm having trouble installing apps and errors in play services. HELP
 

David *"**

Senior Member
Dec 9, 2014
64
5
Oh yeah tried to flash flame Gapps and realized the ROM encrypted sdcard. I don't want to lose all my files . So how to removed encryption without erasing data?
 

David *"**

Senior Member
Dec 9, 2014
64
5
This ROM has the best battery life on my mi 9 so Far. I'm impressed. If it were not for a few bugs it would be perfect.
 

nil00000

Member
Feb 17, 2018
6
0
Havoc-OS v4.5 Changelog 20-05-2021:
- Merged May Security Patch (android-11.0.0_r37)
- Added OTA Support
- Moved Smart Charging to Adaptive Charging
- Added Temperature based Adaptive Charging
- Added Battery temperature to battery stats
- Added Partial screenshot
- Added App volume row to volume dialog
- Added Havoc-OS Recovery UI
- Added QS tile to show Volume panel
- Added QS tile to show Power menu
- Added Compass QS tile
- Added Language switch QS tile
- Added Wi-Fi data usage in QS footer when connected
- Added Navbar layout customization
- Added left and right virtual buttons while typing
- Added Home button press to answer call
- Added Volume button tap to answer call
- Added Volume button cursor control
- Added Volume button tap to wake device
- Added toggle to hide Status bar on Lockscreen
- Added Lockscreen background blur
- Added a few Lockscreen clock styles
- Added kill button to notification conversation guts
- Improved VoLTE/VoWiFi Status bar icons
- Improved Status bar brightness control gesture
- Improved Notch hide
- Improved Hidden gesture navbar
- Improved Clipboard access notifications
- Improved AOD while charging
- Fixed QS footer icons visibility
- Fixed FOD disappearing on Lockscreen
- Fixed face removal when disabling Security
- Fixed Notification panel with immerse mode
- Fixed screenshot action chip colors in dark mode
- Fixed wrong VoLTE/VoWiFi slot detection for Dual SIM
Device Changelog:
- Ok google fixed
- Enforcing fixed
- Android auto fixed
- Notch setting fixed
- Kernel upstreamed to 4.14.232
- Other fixes and improvements

Havoc-OS v4.4 Changelog 21-04-2021
• Merged April Security Patch
• Added HW button customization
• Added Clock customizations
• Added option to auto hide status-bar clock
• Added SFUNY lockscreen clock
• Added Tux lockscreen clock
• Added Divided lines lockscreen clock
• Added burn-in protection to navbar
• Added brightness slider to bottom and added to quick QS
• Added Data usage summary to QS footer
• Added Settings icon to quick QS
• Added long-press on QS Settings button for Config Center
• Added AOD QS tile
• Added Powershare QS tile
• Added option to disable app launch on tapping heads up
• Added Always on display scheduling
• Added option to instantly lock app on closing
• Added Bluetooth timeout
• Added Wi-Fi timeout
• Added support for global cleartext penalties
• Added shortcut for radio info in About Phone
• Added dark theme colors
• Added custom vibration pattern for calls
• Added Screen off FOD
• Added option in crash dialog to disable app
• Added activity indicators to wifi icon
• Added OOS-style small data type icons
• Redesigned vibrate icon
• Increased 5 GHz network signal tolerance
• Reduced network transition timeout
• Improved statusbar padding
• Improved rounded corners for icon shapes
• Changed toast animation to match snackbar
• Fixed hardcoded black text in storage summary
• Fixed crash on Connection preferences
• Fixed USSD alert dialog theme
• Fixed vibration strength seekbar theme
• Fixed permissions for a few GApps
• Dirac qs tile added
• Anx camera support fixed
• Safetynet fixed
• Clear speaker added
• Kernel upstreamed to 4.14.230
• Enforcing support added (Test)
• Other fixes and improvements
When the phone is plugged in to the earphones, Facebook messenger call volume doesn't decrease
 

David *"**

Senior Member
Dec 9, 2014
64
5
The most annoying bugs are touchscreen not responding sometimes when phone is locked untill you reboot. The 2nd is the damn phone won't charge sometimes untill you reboot the phone too. Please fix this,I'm having to reboot like 10 times a day, I don't want to change ROM because this one has the best battery life I ever had in a custom ROM.
 

nil00000

Member
Feb 17, 2018
6
0
Havoc-OS v4.5 Changelog 20-05-2021:
- Merged May Security Patch (android-11.0.0_r37)
- Added OTA Support
- Moved Smart Charging to Adaptive Charging
- Added Temperature based Adaptive Charging
- Added Battery temperature to battery stats
- Added Partial screenshot
- Added App volume row to volume dialog
- Added Havoc-OS Recovery UI
- Added QS tile to show Volume panel
- Added QS tile to show Power menu
- Added Compass QS tile
- Added Language switch QS tile
- Added Wi-Fi data usage in QS footer when connected
- Added Navbar layout customization
- Added left and right virtual buttons while typing
- Added Home button press to answer call
- Added Volume button tap to answer call
- Added Volume button cursor control
- Added Volume button tap to wake device
- Added toggle to hide Status bar on Lockscreen
- Added Lockscreen background blur
- Added a few Lockscreen clock styles
- Added kill button to notification conversation guts
- Improved VoLTE/VoWiFi Status bar icons
- Improved Status bar brightness control gesture
- Improved Notch hide
- Improved Hidden gesture navbar
- Improved Clipboard access notifications
- Improved AOD while charging
- Fixed QS footer icons visibility
- Fixed FOD disappearing on Lockscreen
- Fixed face removal when disabling Security
- Fixed Notification panel with immerse mode
- Fixed screenshot action chip colors in dark mode
- Fixed wrong VoLTE/VoWiFi slot detection for Dual SIM
Device Changelog:
- Ok google fixed
- Enforcing fixed
- Android auto fixed
- Notch setting fixed
- Kernel upstreamed to 4.14.232
- Other fixes and improvements

Havoc-OS v4.4 Changelog 21-04-2021
• Merged April Security Patch
• Added HW button customization
• Added Clock customizations
• Added option to auto hide status-bar clock
• Added SFUNY lockscreen clock
• Added Tux lockscreen clock
• Added Divided lines lockscreen clock
• Added burn-in protection to navbar
• Added brightness slider to bottom and added to quick QS
• Added Data usage summary to QS footer
• Added Settings icon to quick QS
• Added long-press on QS Settings button for Config Center
• Added AOD QS tile
• Added Powershare QS tile
• Added option to disable app launch on tapping heads up
• Added Always on display scheduling
• Added option to instantly lock app on closing
• Added Bluetooth timeout
• Added Wi-Fi timeout
• Added support for global cleartext penalties
• Added shortcut for radio info in About Phone
• Added dark theme colors
• Added custom vibration pattern for calls
• Added Screen off FOD
• Added option in crash dialog to disable app
• Added activity indicators to wifi icon
• Added OOS-style small data type icons
• Redesigned vibrate icon
• Increased 5 GHz network signal tolerance
• Reduced network transition timeout
• Improved statusbar padding
• Improved rounded corners for icon shapes
• Changed toast animation to match snackbar
• Fixed hardcoded black text in storage summary
• Fixed crash on Connection preferences
• Fixed USSD alert dialog theme
• Fixed vibration strength seekbar theme
• Fixed permissions for a few GApps
• Dirac qs tile added
• Anx camera support fixed
• Safetynet fixed
• Clear speaker added
• Kernel upstreamed to 4.14.230
• Enforcing support added (Test)
• Other fixes and improvements
 

hyp89

Senior Member
May 23, 2019
53
22
Xiaomi Mi 9
Replaced my battery with a 4000mAh one. How to change the capacity? Files in /sys/class/power_supply aren't editable even with root access :(
 

Bugscze

Senior Member
Sep 23, 2011
178
58
You can try edit /sys/class/power_supply from TWRP. Mount /system as RW and you should be able to edit file.
 

toumm

Member
Apr 12, 2011
9
0
Does this rom integrates a built-in firmware? Or it's required to flash it by ourselve? Thanks :)
 

hyp89

Senior Member
May 23, 2019
53
22
Xiaomi Mi 9
You can try edit /sys/class/power_supply from TWRP. Mount /system as RW and you should be able to edit file.

Tried it but twrp gave me the error that the files inside the power_supply folder are folders too. Tried to access for example the battery folder but twrp had only options for edit or chmod these files (or folders).
I also tried to change it with twrp terminal but normal linux commands like "cd" arent working there :(

@toumm: Firmware is included, just follow the flashing instructions on post 1
 
  • Like
Reactions: toumm

Ic3y83

Senior Member
Feb 20, 2011
62
20
Nijmegen
Replaced my battery with a 4000mAh one. How to change the capacity? Files in /sys/class/power_supply aren't editable even with root access :(
Try it in this folder: /sys/class/power_supply/bms

Or download Termux in the store.
Open the app and enter this:
su
cd /sys/class/power_supply/bms
echo "4000000" > charge_full

To go back to original replace it with 3300000.
I'am not responsible for any damage ofcourse. I only try to help.
 
  • Like
Reactions: hyp89

hyp89

Senior Member
May 23, 2019
53
22
Xiaomi Mi 9
Try it in this folder: /sys/class/power_supply/bms

Or download Termux in the store.
Open the app and enter this:
su
cd /sys/class/power_supply/bms
echo "4000000" > charge_full

To go back to original replace it with 3300000.
I'am not responsible for any damage ofcourse. I only try to help.

This was working thanks. Hoping the battery percent symbol is now working better than without these change.

Replaced battery have the same specifications like the original one like charging with 4.4v so the risk of blowing up my phone should not be high risky :)
 

HQDOR

Member
Hello, I can't get ambient display settings like double tap or new notifications to work because in order for screen off FOD to work I have to enable AOD.That also causes a sceen flickering every time I lock the phone (as shown in the video). Any solution?
 

Attachments

  • screen-20210618-144201~2.mp4
    8.5 MB · Views: 0

David *"**

Senior Member
Dec 9, 2014
64
5
Leaving the ROM. The dev won't answer the damn questions and complains or anything. Having to reboot my phone 10 times a day to start charging or because screen not answering the touch.
 

savsir

Senior Member
Jul 11, 2012
332
317
28
Yalova
Xiaomi Mi 5
Xiaomi Mi 6
Leaving the ROM. The dev won't answer the damn questions and complains or anything. Having to reboot my phone 10 times a day to start charging or because screen not answering the touch.
Sorry for delay but there was no answer I could give before and many users, myself included, did not experience this problem that often. You can try the new version if you want, if you don't want to, I wish you good luck with the new rom you will try.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    Havoc_Logo.png




    About.png

    Havoc-OS 4.x is based on AOSP, inspired by Google Pixel.
    Has a refined Material Design 2 UI crafted by @SKULSHADY.
    Many useful features that will blow your mind.
    All you can dream of and all you'll ever need.
    Just flash and enjoy...



    Features.png

    Code:
    [SIZE="3"][SIZE="3"][B][U]General:[/B][/U][/SIZE]
    
    Material Design 2 UI
    Android R Style Screenrecord Dialog
    Rounded UI
    Inbuilt GApps (optional)
    Face Unlock
    Enhanced QS Battery Estimation
    Lockscreen Clocks
    Font Customisation
    Dark Theme Support for AOSP apps
    Notification LED Settings
    Pixel Lockscreen weather
    Signature Spoofing
    Micro-G support
    Lockscreen charging animation
    
    [SIZE="3"][B][U]Status Bar:[/B][/U][/SIZE]
    
    Clock & Date Settings
    Custom Logo
    Brightness Control Gesture
    Double Tap to Sleep
    Network Traffic Indicator Settings
    Carrier Label Settings
    Battery Icon Style/Percentage Settings
    Status Bar Icons Toggle
    Small Mobile Type Icon Toggle
    
    [SIZE="3"][B][U]Quick Settings:[/B][/U][/SIZE]
    
    Quick Pulldown
    Smart Pulldown
    Battery Estimates Toggle
    Tint Tiles
    QS Customisations
      Rows/Column
      Tile Title
      Vibrate on Touch
    QS Footer Customization
      Settings Icon
      Running Services Icon
      Edit Icon
      User Switcher Icon
    
    [SIZE="3"][B][U]Ambient Display:[/B][/U][/SIZE]
    
    Show/Hide Battery Level
    Ambient Options
      Always On
      Always On When Charging
      Wakeup On New Notifications
      Wakeup on New Music (Music Ticker)
      Sensor Based Screen Wakeup (Tilt/Hand Wave/Pocket)
      Double Tap for Ambient Display
    Ambient/Always On Display Brightness Configuration
    
    [SIZE="3"][B][U]Screen:[/B][/U][/SIZE]
    
    Corners Customisation
      Rounded Corner Radius
      Corner Content Padding
    Legacy App Scaling
      Force Higher Aspect Ratio for Selected Apps
    
    [SIZE="3"][B][U]Gestures:[/B][/U][/SIZE]
    
    Quickly Open Camera
    System Navigation
    Prevent Ringing
    Power Menu
      Power Menu Customization
        Visibility on the Lockscreen
        Reboot
        Advanced Reboot
    Quick Torch
    Skip Music Tracks
    Swipe to Screenshot
    
    [SIZE="3"][B][U]Lockscreen:[/B][/U][/SIZE]
    
    Double Tap to Sleep
    Unlocking
      Pocket Detection
    Elements Customisation
      Quick Settings
      Charging Info
    
    [SIZE="3"][B][U]Notifications:[/B][/U][/SIZE]
    
    Screen
      Edge Lighting Customisation
    Status Bar
      Heads Up
    Misc
      Kill App Button
      Noisy Notifications
    
    [SIZE="3"][B][U]Battery Saving:[/B][/U][/SIZE]
    
    Smart Pixels
    Suspend Actions
    Block Sensors
    Aggressive Battery
    
    [SIZE="3"][B][U]Media:[/B][/U][/SIZE]
    
    Focus Mode
    Adaptive Playback
    Playback Timeout (30sec/1min/2min/5min/10min)
    Media Cover Art
    Media Cover Art Blur Level
    Music Visualiser
    
    [SIZE="3"][B][U]Miscellaneous:[/B][/U][/SIZE]
    
    Wake Device
    Gaming Mode
    Charging Animation
    
    [SIZE="3"][B][U]Other Features:[/B][/U][/SIZE]
    
    Vibration & Haptics Customization
    LiveDisplay
    Notch Hide Settings
    Seperate ringtone for SIM1&2
    Screen Refresh Rate (For Supported Devices)
    Always On Display
    Smart Charging
    Theming
      Styles and Wallpapers
      Dark Theme
      Accent Colour
      Icon Shape
    
    [SIZE="3"][B][U]QS Tile Shortcuts:[/B][/U][/SIZE]
    
    Heads Up tile
    Caffeine tile
    CPU info tile
    Smart pixel tile
    Live Caption
    Screenrecord tile
    Gaming Mode tile
    Screenshot tile
    LTE tile
    Music Tile
    LiveDisplay
    Switch Data Card Tile
    Reboot Tile
    Reading Mode
    Gaming Mode
    Compass
    Sound Search
    Compass Tile
    
    [/SIZE]
    Screenshots.png


    https://photos.app.goo.gl/WSbmYy7QeB6K9CSn6

    Team.png

    Founder & Lead Developer:
    SKULSHADY (Anushek Prasal)

    Support Team:
    theo.j22 (Tushar Jain)



    Donate.png

    If you like our work then please consider donating.
    PayPal: https://www.paypal.me/ANUSHEK
    UPI: anushekprasal@okhdfcbank


    Links.png

    ROM: https://download.havoc-os.com/?dir=cepheus
    Recovery: https://twrp.me
    Open GApps: http://opengapps.org
    Magisk: https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
    Telegram Support Group: https://t.me/havocofficial
    Telegram Announcements Channel: https://t.me/Havoc_OS
    Discord Server: https://discord.gg/YfhBCj4


    Installation.png

    First Installation
    !!!Backup everything just in case. If you need format data everything will be deleted!!!
    1.
    Download the ROM, GApps (Optional), Magisk (Optional) from the links above.
    2. Wipe Data, Vendor, System, Cache, Dalvik.
    3. Flash the ROM.
    4. Reboot system.
    5. If it remains in boot animation ,force restart after two or three minutes, go recovery and format data . If the phone boots up, skip this step and go to the next step.
    6. Wipe Data, Vendor, System, Cache, Dalvik.
    7. Flash the ROM, GApps (Optional), Magisk (Optional).
    8. Reboot and Enjoy.

    Clean Flash
    1.
    Download the ROM, GApps (Optional), Magisk (Optional) from the links above.
    2. Wipe System, Vendor, Dalvik, Cache, Data.
    3. Flash the ROM, GApps (Optional), Magisk (Optional).
    4. Reboot and Enjoy.

    Dirty Flash
    1.
    Download the ROM, GApps (Optional), Magisk (Optional) from the links above.
    2. Wipe System, Vendor, Dalvik, Cache.
    3. Flash the ROM, GApps (Optional), Magisk (Optional).
    4. Reboot and Enjoy.


    Credits.png

    LineageOS (https://github.com/LineageOS)
    Crdroid (https://github.com/crdroidandroid)
    Pixel Experience (https://github.com/PixelExperience)
    Nitrogen Project (https://github.com/nitrogen-project)
    Omnirom (https://github.com/omnirom)
    And all the other Developers, Testers, Donators and Users.


    Source.png

    https://github.com/Havoc-OS
    https://github.com/Havoc-Devices

    Build author: savsir
    Kernel Source: https://github.com/EcrosoftXiao/kernel_xiaomi_cepheus

    XDA:DevDB Information
    [ROM][Xiaomi Mi 9][OFFICIAL] Havoc OS 4.9 [11.0][26/09/2021], ROM for the Xiaomi Mi 9

    Contributors

    galata7788
    Source Code: https://github.com/Havoc-OS

    ROM OS Version: Android 11
    ROM Kernel: Linux 4.x
    Based On: Havoc OS

    Version Information
    Status:
    Beta

    Created 2021-01-28
    Last Updated 2021-09-26
    8
    Havoc-OS v4.9 Changelog 25-09-2021:
    - Merged September Security Patch (android-11.0.0_r43)
    - Added ability to lock apps in recents
    - Added back Screenshot notification
    - Added Battery health
    - Added OxygenOS lock screen clock
    - Added App drawer opacity setting to Launcher
    - Added Local installation support in Updater
    - Added Custom rounded corner settings
    - Added Legacy WFD output video mode settings
    - Added Status bar notification ticker
    - Added New Gaming Mode overlay
    - Added toggle for anti-falsing on the lock screen
    - Added toggle for IME button space
    - Added Preferred refresh rate settings
    - Added One shot auto-brightness
    - Added FOD press animation
    - Added toggle to hide display cut-out
    - Improved FPS info
    - Improved Charging stats on lock screen
    - Improved DataSwitchTile
    - Improved Lock screen pulse
    - Improved Type lock screen clock
    - Improved Screen recorder
    - Improved Status bar burn in protection
    - Improved Twilight Service
    - Improved Night Mode
    - Improved Settings search bar layout
    - Fixed overlays resetting on reboot
    - Fixed package cache errors on user builds
    - Fixed Network Traffic visibility on Status bar
    - Fixed charging vibration for some devices
    - Fixed Screen-off Camera gesture
    - Reduced NotificationHistoryDatabase logspam
    - Restored AOSP Wi-Fi Display
    - Disabled all-caps for smart reply button text
    - Removed random text on some Wi-Fi SSID

    Havoc-OS v4.8 Changelog 05-08-2021:
    - Merged July and August Security Patch (android-11.0.0_r39/40)
    - Added Hotspot client manager
    - Added Auto-brightness icon to QS footer
    - Improved QS Panel layout in landscape
    - Improved FOD with Assistant on Lockscreen
    - Improved Night Light transition
    - Improved Brightness slider animation
    - Improved captions and ringer buttons when on landscape
    - Improved scrolling in some apps
    - Improved some UI elements for user fonts
    - Improved vertical padding between QS tiles
    - Spoofed device for a few more Google apps
    - Removed VoLTE slice from MobileDataPanel
    - Fixed Status icons activity crash
    - Fixed Auto-hide clock for right/center clock positions
    - Fixed Clock icon in Kai, Victor icon packs
    - Fixed wiping dynamic partitions in Havoc-OS Recovery
    - Added Google Search Widget to homescreen dock
    - Improved homescreen dock padding
    - Fixed Kill App button in recents app sheet
    - Fixed Blur not showing in some scenarios
    - Other fixes and improvements
    Device Changelog:
    • Enabled freeform windows
    • Enabled seamless transfer
    • Fixed AOD flicker
    • Smoother UI
    • Kernel upstreamed 4.14.239
    4
    Updated 5.08.2021
    Changelog in second post and please read notes (third post)
    4
    Updated 25.03.2021
    Changelog in second post and please read notes (third post)
    Anx camera dont work this version! I will fix it. Gcam works perfectly.
    3
    There's some sort of scroll bar appearing when pulling down the QS panel. It's not that major but it gets annoying when you can't interact with elements because system thinks that you are scrolling.

    Edit: It seems to only occur when there is media playback active.
    If you set smallest width 400 scroll bar will gone. It will be fix next versions.