HavocOS v2.7 22/07/2019
During my spare time doing some experiments with custom ROM building for MI9SE, so decided to share may be it'll be useful for those who like AOSP expirience instead of "polished" MIUI.
Compared to "general GSI" images it feels much better and almost everything works at first glance, but need to test more of course..
BUGS:
There are some for sure, waiting to be discovered..
TODO
Fix SELinux policy. Keep it as "permissive" as for now.
Installation & Requirements
Reqs:
1. Unlocked BL and TWRP installed
2. Running MIUI global or PE (yep, it's all about Treble so we're going to use vendor's blob and firmware)
Installation
1. Boot into twrp, format data, swipe to factory reset, reboot back into twrp
2. flash Havoc-OS-v2.7-20190722-grus-Unofficial.zip
3. Flash gapps & magisk (if needed)
4. Reboot and pray || enjoy !
5. In case of bootloop (for me everything works without this step): flash vbmeta.img with fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img (check GSI topics to obtain vbmeta file)
Credits to
HavocOS Team
@okitavera (ROM bundled with her kernel)
Links
FaceUnlock module which works for me. Flash it using TWRP:
TWRP_Face-Unlock-9-Pie.zip
Optionally you can flash latest ANXCamera for MIUI camera experience.
https://github.com/XEonAX/ANXCamera/releases/
Device tree
https://github.com/faust93/android_device_xiaomi_grus
https://github.com/faust93/android_device_xiaomi_sdm712-common
PPS: Clicking this link makes you buy me some beer.
Changelog
22/07/2019
* Charge only mode fix
* Sources sync with havoc repo
16/07/2019
* In-call mic/handset fix
13/07/2019
* Flicker-Free mode (experimental, shipped kernel is a must, will not work with Okita) (Settings->Display->at the very bottom)
* Bring up QTI Telephony stack (manual SIM provisioning is now possible)
12/07/2019
* Sources sync with Havoc repo
* Color profiles fix (Settings->Display->Color profile)
10/07/2019
* Unresponsive statusbar fixed
* FaceUnlock fixed (though you still need to flash it, look up for Magisk faceunlock module or use this one for TWRP)
* Several improvements regarding fingerprint UI
* Some other minor improvements/fixes..
faust93 said:
HavocOS v2.7 09/07/2019
Reqs:
1. Unlocked BL and TWRP installed
2. Running MIUI global or PE (yep, it's all about Treble so we're going to use vendor's blob and firmware)
Installation
1. Boot into twrp, format data, swipe to factory reset, reboot back into twrp
2. flash Havoc-OS-v2.7-20190709-grus-Unofficial.zip
3. Flash gapps & magisk (if needed)
4. Reboot and pray || enjoy !
..
Click to expand...
Click to collapse
I have a few questions:
1) format data - do you really mean format data? Do I have to wipe internal storage completely or do you mean "wipe data, cache, dalvik cache"?
2) which ROMs work as base ROM? is Xiaomi.eu beta possible? Or only official global rom?
3) coming from MIUI - will encryption be a problem at any point during installation? I would like to try your rom but I don't really want to risk loosing my internal storage due to encryption problems...
shisaya24 said:
I have a few questions:
1) format data - do you really mean format data? Do I have to wipe internal storage completely or do you mean "wipe data, cache, dalvik cache"?
2) which ROMs work as base ROM? is Xiaomi.eu beta possible? Or only official global rom?
3) coming from MIUI - will encryption be a problem at any point during installation? I would like to try your rom but I don't really want to risk loosing my internal storage due to encryption problems...
Click to expand...
Click to collapse
1. Yes, Format the entire data, if you're come from anything besides this ROM itself.
3. Yup, for example; even if flashing back the Global Stable from Xiaomi.eu's ROM, you can't keep your encrypted data too. So, that's why you should format the data
Definitely going to try this as I'm using the GSI and it's working great.
Hope the ANX camera works in this one.
Can i use miui dev to flash this rom?
Btw, can you add dc dimming in this rom?
- Wlan, Mobile Data, NFC : works.
- Camera (normal, wide, front) : works pretty well (I'm using MGC_6.2.030_MI9SE_V4_plus2 right now).
- Fingerprint : works as expected like the GSI's version (not as fast as miui and don't expect for an FOD while screen off or in ambient display).
- Double tap to wake : perfect (yes it is).
Bugs that I know :
- Statusbar is untouchable. (I have to back to the launcher since it has swipe down gesture if I want to saw notification/qs)
- MTP is recognized but I can't open it on my system (Arch Linux x86_64, Thunar FM from xfce4 desktop)
- No Smart Lock or Face Unlock option yet
Status :
- Havoc v2.7 w/ the built-in kernel.
- OpenGapps arm64 9.0 nano (build 20190704)
- Magisk 19.3 stable
yuneharuka said:
- Wlan, Mobile Data, NFC : works.
- Camera (normal, wide, front) : works pretty well (I'm using MGC_6.2.030_MI9SE_V4_plus2 right now).
- Fingerprint : works as expected like the GSI's version (not as fast as miui and don't expect for an FOD while screen off or in ambient display).
- Double tap to wake : perfect (yes it is).
Bugs that I know :
- Statusbar is untouchable. (I have to back to the launcher since it has swipe down gesture if I want to saw notification/qs)
- MTP is recognized but I can't open it on my system (Arch Linux x86_64, Thunar FM from xfce4 desktop)
Status :
- Havoc v2.7 w/ the built-in kernel.
- OpenGapps arm64 9.0 nano (build 20190704)
- Magisk 19.3 stable
Click to expand...
Click to collapse
How can you boot into this rom?I always boot into fastboot
Flyskea said:
How can you boot into this rom?I always boot into fastboot
Click to expand...
Click to collapse
I just follows the instruction (flash global rom because I'm on miui dev, then format data, install the rom, gapps, and magisk)
yuneharuka said:
- Wlan, Mobile Data, NFC : works.
- Camera (normal, wide, front) : works pretty well (I'm using MGC_6.2.030_MI9SE_V4_plus2 right now).
- Fingerprint : works as expected like the GSI's version (not as fast as miui and don't expect for an FOD while screen off or in ambient display).
- Double tap to wake : perfect (yes it is).
Bugs that I know :
- Statusbar is untouchable. (I have to back to the launcher since it has swipe down gesture if I want to saw notification/qs)
- MTP is recognized but I can't open it on my system (Arch Linux x86_64, Thunar FM from xfce4 desktop)
- No Smart Lock or Face Unlock option yet
Status :
- Havoc v2.7 w/ the built-in kernel.
- OpenGapps arm64 9.0 nano (build 20190704)
- Magisk 19.3 stable
Click to expand...
Click to collapse
Only way to pull down the status bar is from the notch, or changing the "display cutout" to tall display cutout in the developer options.
MTP is working fine in macOS.
yuneharuka said:
I just follows the instruction (flash global rom because I'm on miui dev, then format data, install the rom, gapps, and magisk)
Click to expand...
Click to collapse
I booted finally. BTW it is hard to touch the head of phone
can i flashed this from xiaomi eu?
yuneharuka said:
- Fingerprint : works as expected like the GSI's version (not as fast as miui and don't expect for an FOD while screen off or in ambient display).
Bugs that I know :
- Statusbar is untouchable. (I have to back to the launcher since it has swipe down gesture if I want to saw notification/qs)
- MTP is recognized but I can't open it on my system (Arch Linux x86_64, Thunar FM from xfce4 desktop)
- No Smart Lock or Face Unlock option yet
Click to expand...
Click to collapse
Thx for the report!
Trying to figure out wtf is wrong with notifications pulldown menu, currently it can be pulled from the notch area or landscape mode only.
Btw MTP works OK on MacOS as for me.
Please add face unlock. I'm so used to it that I don't use fingerprint anymore.
faust93 said:
Thx for the report!
Trying to figure out wtf is wrong with notifications pulldown menu, currently it can be pulled from the notch area or landscape mode only.
Btw MTP works OK on MacOS as for me.
Click to expand...
Click to collapse
MTP works for me on win,too.BTW,i cant touch the head of screen easily.And the statusbar shows few icons.Hope you can add more icons and dc
yuneharuka said:
- Wlan, Mobile Data, NFC : works.
- Camera (normal, wide, front) : works pretty well (I'm using MGC_6.2.030_MI9SE_V4_plus2 right now).
- Fingerprint : works as expected like the GSI's version (not as fast as miui and don't expect for an FOD while screen off or in ambient display).
- Double tap to wake : perfect (yes it is).
Bugs that I know :
- Statusbar is untouchable. (I have to back to the launcher since it has swipe down gesture if I want to saw notification/qs)
- MTP is recognized but I can't open it on my system (Arch Linux x86_64, Thunar FM from xfce4 desktop)
- No Smart Lock or Face Unlock option yet
Status :
- Havoc v2.7 w/ the built-in kernel.
- OpenGapps arm64 9.0 nano (build 20190704)
- Magisk 19.3 stable
Click to expand...
Click to collapse
Great to see that the wide angle is working! Looking forward to the development of this! ?
Ah, great ! A full AOSP release, I was waiting for it.
Thanks a lot !
I guess it's impossible export/import message, images, contact, etc. without the google account?
I have been waiting this for a long time , great job!:laugh::laugh::laugh:
After flashing okita kernel, issues like lagging and top bar swipe are fixed. For me i guess
ebautista said:
After flashing okita kernel, issues like lagging and top bar swipe are fixed. For me i guess
Click to expand...
Click to collapse
OMG it works indeed!
Seems I've messed up something while playing with touchscreen fresh firmware and drivers..
Flashing can be considered as a temporary fix at the moment.
Going to use upstream okita in the next build.
AOSPA Extended
#Be Extended
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.
*/
Just sharing a personal build here. This started(and ended) with nougat OnePlus 3/3t. Due to the lack of custom ROMs that could fulfill my specific needs, I decided to revive AOSPA-Extended and here we are (after fixing haptics and stuff). The features included are things that I find necessary personally. By no means, you are to compare this ROM to any other ROM(even AOSPA). The awesome optimization and extreme hard work done by the AOSPA team is why this has been possible.
Here is the list of additional tweaks/additions:: (not up-to-date)
- In-call vibration haptics
- Statusbar network traffic
- MicroG support
- QS tiles haptics
- QS tile padding adjustments
- QS column and row configurable
- Alert slider haptics improvements
- Added Caffeine, heads-up and Reboot tiles
- Added Battery Stats reset option
- Unlink ring and notification volume
- Better haptics
- Ringtone and notification vibration intensity
Please note that this ROM is based on OSS vendor.
Download Link::
Get the latest build SourceForge
Make sure this device runs under MIUI firmware 12.x.x before flashing the ROM package. It is advisable to flash the full fastboot MIUI v12.x.x ROM for your region if you are switching from an MIUI vendor based ROM to this ROM(OSS vendor based).
Install Instructions::
- Wipe data, cache, dalvik
- Flash ROM package
- Flash GApps (nano only)
- Flash Magisk (optional)
- Flash DFE (optional: if decrypted)
- Reboot into system.
ROM Source: https://github.com/AOSPA & https://github.com/ritujb
Kernel Source: https://github.com/aospa/android_kernel_xiaomi_sm8150 branch quartz-raphael
Join the telegram group [url]https://t.me/joinchat/OBPVtFGtMrioYpUtTPVfWg[/URL]
XDA:DevDB Information
AOSPA-Extended, ROM for the Redmi K20 Pro
Contributors
rituj_b
Source Code: https://github.com/ritujb
ROM OS Version: Android 10
ROM Kernel: Linux 4.x
ROM Firmware Required: 12.x.x firmware
Based On: Paranoid Android
Version Information
Status: Stable
Stable Release Date: 2020-03-31
Created 2020-03-29
Last Updated 2020-09-21
Changelogs
Changelog for 21/09/2020 build:
Code:
1) September security patch
2) Upstream merges
3) EOL build for Q
4) New CAF TAG
5) Switch to immensity kernel(battery life fixed)
Changelog for 30/08/2020 build:
Code:
1) August security patch
2) Upstream merges
3) Fix deep sleep issue
4) New CAF TAG
5) Fix WiFi Calling
6) Fix double status bar issue when pulling quick settings
7) Fix wired headset gesture keycodes
Changelog for 09/08/2020 build:
Code:
1) August security patch
2) Applock bug fixes
3) Lockscreen weather
4) Smart charging support
5) Don't light up notif led when the camera is out
6) Fix low mic volume on VOIP calls when using wired headset
Changelog for 27/07/2020 build:
Code:
1) Introduce automated DC Dimming
2) Add per-app notification control in applock settings
3) Fix FOD not working when PIP window is showing (applock)
4) New "prevent ringing" gesture (power + volume-up) to cycle through ringer modes
5) Better microG support (permissions issue fixed)
6) Fix glitchy ringer and notif volume bar when switching modes
7) Smoothly fade-out FOD view
8) Let legacy apps scale fully to the display's aspect ratio
9) Run automatic night light and dark mode switching even when location is not enabled (9pm to 5am)
10) Update blobs to MIUI 12 (Make sure you use 12.x.x few)
11) Add support for notification LED
Changelog for 10/07/2020 build:
Code:
1) Fix SystemUI crash on switching to silent mode
2) Fix volume getting stuck bug
Changelog for 09/07/2020 build:
Code:
1) App lock improvements
2) PA source sync
3) Added FOD animation
4) Allow disabling screenshot sound
5) Add settings for VoLTE and VoWiFi icon
6) Add support for AudioPlaybackCapture
7) Grey out FOD view when the fingerprint is not trusted
8) Add option to swipe up on keyguard to use Face Unlock
9) July security patch
10) Switch to f1xy kernel
11) Fix Amazon Prime HD video on Indian devices
12) Fix GCAM crash
Changelog for 25/06/2020 build:
Code:
1) App lock improvements
2) PA source sync
3) Switch to bottom panels for quick toggles
4) Lockscreen charging info
5) Volume panel UI changes
6) Don't disable offscreen gestures while in call or ringing
7) Good ol' circle battery style
Changelog for 21/05/2020 build:
Code:
1) Lockscreen pin/pattern view bug fixes
2) Rework App lock
3) May security patch
4) Switch to LA.UM.8.13.r1-08200-SAIPAN.0 tag
5) BiometricPrompt dialog layout adjustments
6) Fix QS security footer layout
7) Fix QS tiles left and right padding
8) Switch to F1XY kernel
Changelog for 30/04/2020 build:
Code:
1) Rework brightness slider implementation (move to bottom)
2) App locker (alpha stage)
3) Fixed HDR
4) Add Face unlock
5) Merge QPR2 tag
6) Bump to quartz 3
7) latest CAF tag merged
8) Many more bug fixes
Changelog for 14/04/2020 build:
Code:
1) Remove GAPPS
2) Source upstream
Changelog for 12/04/2020 build:
Code:
1) Brightness slider UI tweaks
2) Enable force encryption by default
3) Selinux Enforcing now, Safety net passes
4) ANX cam support added (v175 works fine)
5) Fix video recording bug
6) Add navigation gesture full screen toggle
7) Add support for changing back gesture height in gestural navigation mode
8) switch to latest immensity kernel
9) SQLite database improvements (at least 50% improvements)
10) Switch to user build (Clean flash recommended)
11) April security patch
12) Screen recorder added
13) Many more bug fixes
Changelog for 31/03/2020 build:
Code:
1) Move brightness slider down
2) Add auto brightness button
3) Switch to f1xy kernel
4) Add wake to ambient display gesture
5) Add power button torch gesture
6) Update FOD icon
7) Lot's of performance improvements
Reserved
is firmware fw_raphael_miui_RAPHAEL_V11.0.7.0.QFKCNXM_4a6b851d43_10.0.zip the same as vendor file?
Currently i'm on RAPHAELGlobal-V11.0.3.0.QFKMIXM-10.0-vendor-firmware... must i flash the above file?
tugas2khas said:
is firmware fw_raphael_miui_RAPHAEL_V11.0.7.0.QFKCNXM_4a6b851d43_10.0.zip the same as vendor file?
Currently i'm on RAPHAELGlobal-V11.0.3.0.QFKMIXM-10.0-vendor-firmware... must i flash the above file?
Click to expand...
Click to collapse
Yes. You must flash.
Any screenshots?
rituj_b said:
Yes. You must flash.
Click to expand...
Click to collapse
Is this really ok because i read that it's not Safe to mix firmware and vendor from another variety of phone(I mean ,if you have global you must use global and if you use Chinese you must use Chinese) ? Sorry for my English!
I glad to see you here!I remember you from the OnePlus section!
Sent from my Xiaomi Mi 9T Pro using XDA Labs
Thanks Dev
It's interesting
But we can't use bigger gapps ?
anx cam work?
OMG AOSPA extended was my favorite ROM on OP3
xarrismoto said:
Is this really ok because i read that it's not Safe to mix firmware and vendor from another variety of phone(I mean ,if you have global you must use global and if you use Chinese you must use Chinese) ? Sorry for my English!
I glad to see you here!I remember you from the OnePlus section!
Sent from my Xiaomi Mi 9T Pro using XDA Labs
Click to expand...
Click to collapse
Your specify it must be the Chinese seller. It brings doubts to those of us who use the USA. USA Wait for a response if there is no problem installing the ROM
xarrismoto said:
Is this really ok because i read that it's not Safe to mix firmware and vendor from another variety of phone(I mean ,if you have global you must use global and if you use Chinese you must use Chinese) ? Sorry for my English!
I glad to see you here!I remember you from the OnePlus section!
Click to expand...
Click to collapse
Yes you can. It is only firmware zip and the rom includes the vendor.
fereidooni said:
Thanks Dev
It's interesting
But we can't use bigger gapps ?
Click to expand...
Click to collapse
You can use. But nothing smaller than Nano.
What kernel is the base? There are very noticable frame drops every now and then.
And could you please move the brightness slider down? I just have normal sized hands, and there is no way to reach the top with one hand. Thanks
and also the SQLite performance is over 2x as slow as syberia OS. Would it be possible to adopts syberias solution ?
other than the framedrops, the ROM feels alright.
Thanks a lot for bringing AOSPA extended to 9T Pro:highfive:
No VoWiFi...
with f1xy kernel the frame drops disappeared
Great ROM! I'm happy to report that android auto works for me on this rom
So even though I have it installed just today, you can already feel the optimized perf of PA (if you change the kernel for now because of immensitys kernel UI lags in this version, which seems to be the base for PA)
Just flies through everything I through at it where other ROMs would start to slow down. Only syberia would come as 2nd place, and all the rest on 3rd.
I thing immensity dev will fix the UI lag issues, so our PA Extended will also include it in next update
The only things which are left on my wish list:
-SQLite tuning from syberia
-Brightness slider on bottom of QS
-long press flashlight when screen off
-and maybe screen OFF FOD like syberia (an PE should have it too I've heard)
But for now thank you @ dev :victory:
New Update!!
Changlelog for 31/03/2020 build:
Code:
1) Move brightness slider down
2) Add auto brightness button
3) Switch to f1xy kernel
4) Add wake to ambient display gesture
5) Add power button torch gesture
6) Update FOD icon
7) Lot's of performance improvements
Download links updated in OP
rituj_b said:
Changlelog for 31/03/2020 build:
Download links updated in OP
Click to expand...
Click to collapse
The file size is 32 kb
---------- Post added at 09:28 AM ---------- Previous post was at 08:46 AM ----------
rituj_b said:
Changlelog for 31/03/2020 build:
Download links updated in OP
Click to expand...
Click to collapse
Sir you have to change dtbo because of fixy kernel
Rom not booted now it's a known issue
I flashed dtbo from 11.0.4 vendor and rom booted
Hi, i've just installed HavocOS 3.5 GSI on my A7 2018 aka A750FN , EVERYTHING WORKS except for:
- Bluetooth in-call audio
(bluetooth works just for music and system audio but not for calls)
- Fingerprint Gestures
(fingerpring scanner works for unlocking but gestures don't)
- No face unlock
(absent in security section)
Steps i used to flash the GSI:
1) Flashing Samsung's Stock firmware(Pie - so i have aonly)
2) Flashing TWRP
3) Format data(so i can mount it)
4) Wipe Dalvik/Cache/Data/System
5) Flash Quantum Stock v4 through TWRP
6) Boot it for the first time
7) Execute a factory reset through TWRP
8) Flash Quantum_Kernel_GSI_v3 through TWRP
9) Flash GSI and Magisk
I've tried both LineageOS v17.1 and HavocOS v3.4(3.5
What can i do to fix these issues?
Thanks!
- Bluetooth in-call audio
(bluetooth works just for music and system audio but not for calls)
- Fingerprint Gestures
(fingerpring scanner works for unlocking but gestures don't)
- No face unlock
(absent in security section)
I think there's a fix for these problems. You can search it here.
Does network bars work ?
Stuck network if u search for networks?
FC's settings ?
[A7 2018 / GSI] Fix network problems
g0didit said:
Does network bars work ?
Stuck network if u search for networks?
FC's settings ?
Click to expand...
Click to collapse
TO FIX NETWORK PROBLEMS
1) Enter Settings
2) Go into Connections
3) Go to mobile data
4) Go to APN
5) Delete all entries
6) Tap the 3 dots at the top right corner of the page
7) Tap on New APN and fill these parts:
- APN Name(yourprovidername) [ho-mobile]
- APN (yourprovideraddress) [in my case web.ho-mobile.it]
- IMVNO type
!!! NOTE THAT THE PARAMETERS MIGHT BE MORE THAN THE ONE I MENTIONED!!!
!!! CHECK THE CORRECT PARAMETERS FOR YOUR PROVIDER!!!
HIT THANKS BUTTON IF THAT HELPS YOU!
gsi
do you have more info on how to install this gsi?
and, do you think I can use it as my daily driver on the sm-a750gn\ds?
itamarBL8844 said:
do you have more info on how to install this gsi?
and, do you think I can use it as my daily driver on the sm-a750gn\ds?
Click to expand...
Click to collapse
Yes, i will make an updated guide showing how to install this GSI with updated Kernel.
Then YES, it's perfect for daily usage, OBVIOUSLY it depends on which GSI you choose and on which kernel you're on!
ATM you can choose between Quantum_Kernel_GSI_v3 and Quantum_quack_v1
to me, the first one goes fine but the second one is mean to be better...