FORUMS
Remove All Ads from XDA

[ROM][9.0][grus][unofficial] HavocOS v2.7

474 posts
Thanks Meter: 1,091
 
By faust93, Senior Member on 9th July 2019, 10:02 PM
Post Reply Email Thread
HavocOS v2.7 16/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-20190716-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
@yuneharuka (ROM bundled with his 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_d..._sdm712-common

PPS: Clicking this link makes you buy me some beer.
The Following 24 Users Say Thank You to faust93 For This Useful Post: [ View ] Gift faust93 Ad-Free
 
 
9th July 2019, 10:02 PM |#2  
faust93's Avatar
OP Senior Member
Flag Moscow
Thanks Meter: 1,091
 
Donate to Me
More
Changelog
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..
The Following 10 Users Say Thank You to faust93 For This Useful Post: [ View ] Gift faust93 Ad-Free
10th July 2019, 12:24 AM |#3  
Senior Member
Thanks Meter: 33
 
More
Quote:
Originally Posted by faust93

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

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...
10th July 2019, 02:11 AM |#4  
okitavera's Avatar
Senior Member
Flag Malang, Indonesia
Thanks Meter: 338
 
More
Quote:
Originally Posted by shisaya24

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


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
The Following User Says Thank You to okitavera For This Useful Post: [ View ] Gift okitavera Ad-Free
10th July 2019, 02:20 AM |#5  
pbjr92's Avatar
Member
Flag Porto Alegre
Thanks Meter: 8
 
More
Definitely going to try this as I'm using the GSI and it's working great.
Hope the ANX camera works in this one.
The Following User Says Thank You to pbjr92 For This Useful Post: [ View ] Gift pbjr92 Ad-Free
10th July 2019, 02:31 AM |#6  
Member
Thanks Meter: 6
 
More
Can i use miui dev to flash this rom?
Btw, can you add dc dimming in this rom?
10th July 2019, 03:16 AM |#7  
okitavera's Avatar
Senior Member
Flag Malang, Indonesia
Thanks Meter: 338
 
More
- 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
Attached Thumbnails
Click image for larger version

Name:	Screenshot_Settings_20190710-084702.png
Views:	1450
Size:	132.6 KB
ID:	4789860   Click image for larger version

Name:	Screenshot_Settings_20190710-084724.png
Views:	1368
Size:	65.4 KB
ID:	4789861   Click image for larger version

Name:	Screenshot_NFC_Tools_20190710-090305.png
Views:	1380
Size:	132.1 KB
ID:	4789862   Click image for larger version

Name:	Screenshot_Camera_20190710-083758.jpg
Views:	1344
Size:	214.5 KB
ID:	4789863   Click image for larger version

Name:	Screenshot_Camera_20190710-083805.jpg
Views:	1330
Size:	214.1 KB
ID:	4789865   Click image for larger version

Name:	Screenshot_Camera_20190710-082014.jpg
Views:	1376
Size:	63.4 KB
ID:	4789866   Click image for larger version

Name:	Screenshot_Magisk_Manager_20190710-091219.png
Views:	1362
Size:	134.0 KB
ID:	4789867  
The Following 3 Users Say Thank You to okitavera For This Useful Post: [ View ] Gift okitavera Ad-Free
10th July 2019, 03:47 AM |#8  
Member
Thanks Meter: 6
 
More
Quote:
Originally Posted by yuneharuka

- 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

How can you boot into this rom?I always boot into fastboot
10th July 2019, 03:52 AM |#9  
okitavera's Avatar
Senior Member
Flag Malang, Indonesia
Thanks Meter: 338
 
More
Quote:
Originally Posted by Flyskea

How can you boot into this rom?I always boot into fastboot

I just follows the instruction (flash global rom because I'm on miui dev, then format data, install the rom, gapps, and magisk)
10th July 2019, 03:55 AM |#10  
pbjr92's Avatar
Member
Flag Porto Alegre
Thanks Meter: 8
 
More
Quote:
Originally Posted by yuneharuka

- 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

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.
The Following User Says Thank You to pbjr92 For This Useful Post: [ View ] Gift pbjr92 Ad-Free
10th July 2019, 05:11 AM |#11  
Member
Thanks Meter: 6
 
More
Quote:
Originally Posted by yuneharuka

I just follows the instruction (flash global rom because I'm on miui dev, then format data, install the rom, gapps, and magisk)

I booted finally. BTW it is hard to touch the head of phone
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread