• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[9.0][GSI] Havoc-OS [v2.4][Unofficial][ARM64-A/AB][April 2019]

Search This thread

M3nd0

New member
May 4, 2019
4
1
Sounds.app

Hi,
Actually it is a good GSI build. I only faced one bug, that is I can change the ringtone and notification sound before I flash the gapps, but since i flash either pico or nano gapps, the page for picking sounds automatically changed into sounds.app and then closed when I try to choose.
I have to remove the sounds app from system and reinstall it normally from play store, it fixed anyway.
But I hope this is not gonna happen in the next build.
Wish to see the 2.5 version.
Thank you.

Edit: +bug , screen recording won't work from QS tile unless the shortcut button option (power+volume up) is on.
 
Last edited:

jazzyd1

Senior Member
May 26, 2010
166
85
Hi,
Actually it is a good GSI build. I only faced one bug, that is I can change the ringtone and notification sound before I flash the gapps, but since i flash either pico or nano gapps, the page for picking sounds automatically changed into sounds.app and then closed when I try to choose.
I have to remove the sounds app from system and reinstall it normally from play store, it fixed anyway.
But I hope this is not gonna happen in the next build.
Wish to see the 2.5 version.
Thank you.
You can always do a factory reset from the ROM settings option after flashing all that is required and everything will stand well....:good:
 

rzki03

Senior Member
Sep 13, 2017
238
45
21
Denpasar
Hello, tried to flash this gsi on my Mi 9 SE, but it bootloops and everytime flashing the GApps, it's always returns error 70 insufficient system partition, even on pico variant. Anyone can help me please?
Oh i flashed it over Xiaomi.eu ROM.
Thanks in advance!
 

Technical

Senior Member
Jun 2, 2008
3,462
1,210
Hello, tried to flash this gsi on my Mi 9 SE, but it bootloops and everytime flashing the GApps, it's always returns error 70 insufficient system partition, even on pico variant. Anyone can help me please?
Oh i flashed it over Xiaomi.eu ROM.
Thanks in advance!
Gapps issue? Can't it be solved with #3 post in this thread?
 

him7x

Member
Oct 20, 2009
46
5
Ragusa
I've followed it. But still bootloop.

Same trouble before, this worked for me:

- Wipe: System, Data, Cache (not internal data/sd)
- install this GSI in Sytem partition
- flash permissiver.zip (if you have A only device)
- reboot to System

if the boot was fine and you are in the home screen reboot again to Recovery and:
- do not wipe nothing
- flash gaaps
- flash once again permissiver.zip
reboot to system and this time everything will be ok
 

rzki03

Senior Member
Sep 13, 2017
238
45
21
Denpasar
Same trouble before, this worked for me:

- Wipe: System, Data, Cache (not internal data/sd)
- install this GSI in Sytem partition
- flash permissiver.zip (if you have A only device)
- reboot to System

if the boot was fine and you are in the home screen reboot again to Recovery and:
- do not wipe nothing
- flash gaaps
- flash once again permissiver.zip
reboot to system and this time everything will be ok
where do i get permissiver.zip?
 

Dlind

Senior Member
May 10, 2016
337
95
Port orchard, WA
I have a pixel xl. when I come from the official liquid remix rom, I obviously wipe all besides a internal storage wipe cause I'd lose the gsi image file. But I can flash open gaps is says I'm using Oreo( api 27 ) when the rom is api 28 also it boot loops I have decrypted internal storage I even flash a zip to disable all the encryption BS.
 

sinkoo1979

Senior Member
I have a pixel xl. when I come from the official liquid remix rom, I obviously wipe all besides a internal storage wipe cause I'd lose the gsi image file. But I can flash open gaps is says I'm using Oreo( api 27 ) when the rom is api 28 also it boot loops I have decrypted internal storage I even flash a zip to disable all the encryption BS.

Pixel Xl is not treble device.
 

CalebQ42

Senior Member
Jan 4, 2014
168
129
OnePlus 7 Pro
Pixel Xl is not treble device.

Yes it is.

I have a pixel xl. when I come from the official liquid remix rom, I obviously wipe all besides a internal storage wipe cause I'd lose the gsi image file. But I can flash open gaps is says I'm using Oreo( api 27 ) when the rom is api 28 also it boot loops I have decrypted internal storage I even flash a zip to disable all the encryption BS.

If you can see your internal storage just fine from within TWRP then encryption shouldn't be an issue (as far as I know). Firstly make sure TWRP is updated, then try re-downloading the gapps package, make sure you have the arm64-ab rom image, then flash the rom, reboot back into recovery, and then flash gapps.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 32

    Havoc.png



    About.png


    Havoc-OS is an all new ROM.
    So many features that you probably won't find in any ROM.
    Just flash and enjoy...



    Features.png


    Code:
    [SIZE="4"][B][U][SIZE="5"]General:[/SIZE][/U][/B]
    System-wide Rounded UI
    Full OMS support
    System-wide burn-in protection
    Spectrum support
    Compiled using SDCLANG
    Razer Phone lock/unlock sounds
    OTA support
    Signature spoofing
    Micro-G support
    
    [SIZE="5"][B][U]Included Apps:[/U][/B][/SIZE]
    AdAway
    Google Calculator
    Google Markup
    Lean Launcher
    
    [SIZE="5"][B][U]Settings:[/U][/B][/SIZE]
    
    [B][U]Battery:[/U][/B]
    Battery performance profiles
    Sensor block per-package
    Wakelock blocker
    Alarm blocker
    Optimal charge level alert
    
    [B][U]Display:[/U][/B]
    Live display (Day/Night/Outside)
    Colour profiles (sRGB, DCI-P3)
    Font manager
    Ambient display
    Always on display
    Expanded desktop
    
    [B][U][SIZE="5"]Havoc Settings:[/SIZE][/U][/B]
    
    [B][U]Status Bar:[/U][/B]
    Quick pulldown
    Smart pulldown
    Tap to sleep
    Brightness control
    Battery icon styles
    Bluetooth battery status
    Battery bar
    Battery saver color
    Clock & date options
    Statusbar logo
    No sim network hide
    Disable no sim icon
    Volte icon
    Network icon customization
    Net activity
    Custom carrier label
    System icons
    
    [B][U]Panels:[/U][/B]
    Power menu tweaks
    Volume dialog tweaks
    
    [B][U]Quick Settings:[/U][/B]
    Brightness slider customization
    QS panel footer customization
    QS layout editor
    Custom header images
    
    [B][U]Notifications:[/U][/B]
    Disable fc notifications
    Force expanded notifications
    Disable immersive mode messages
    Kill app button in the notification
    Screen-on notifications
    Toast icon
    Toast animation
    Toast icon color
    Toast text color
    Heads up toggle
    Heads up timeout
    Heads up blacklist
    Heads up stoplist
    Snooze timer
    Statusbar ticker
    Ticker animation
    In-Call vibration options
    Less annoying in-call notifications
    
    [B][U]Recents:[/U][/B]
    Stock recents customization
    Clear all button customization
    Memory bar
    Recent styles
    Hide apps from recents
    Icon pack
    Immersive recents
    Recents layout (Stock/Grid/Android Go)
    OmniSwitch
    Slim recents
    
    [B][U]Interface:[/U][/B]
    Berry styles (Light/Dark/Black/Auto)
    Blur personalization
    Dashboard suggestions
    Dashboard conditions
    Screen stabilization
    
    [B][U]Lockscreen:[/U][/B]
    Charging info
    Hide statusbar
    Lockscreen elements visibility
    Notification count
    Lockscreen colors
    Clock and date options
    Lockscreen alpha
    Double tap to sleep
    Wake and unlock
    Ambient display music ticker
    Ambient display bottom view (Weather/Battery/None)
    Music cover art
    Music visualizer
    Disable power menu
    Disable qs panel
    Fingerprint vibration
    FP unlock on boot
    Face auto unlock
    Custom bottom shortcuts
    
    [B][U]Navigation:[/U][/B]
    Navigation mode(Stock/Smartbar/Fling)
    Dynamic navbar color
    Pulse
    
    [B][U]Buttons:[/U][/B]
    Swap back and recents
    Awesome alert slider (Notification/Flashlight/Brightness/Rotation/Ringer)
    Accidental touch
    Power menu customization
    Long press power button torch
    Disable buttons
    Button backlight customization
    Hardware keys customization
    Swap volume buttons with rotation
    Volume keys for media volume
    Playback control
      
    [B][U]Gestures:[/U][/B]
    Three finger screenshot
    Pie control
    App circle bar
    Gesture anywhere
    Screen-on gestures
    Touchscreen gestures
    
    [B][U]Animations:[/U][/B]
    System Animations
    Android P animations
    Disable animations
    QS tile animations
    Listview animations
    Custom Bootanimation
    Screen off animation
    
    [B][U]System:[/U][/B]
    SELinux mode Toggle
    Smart Pixels
    Suspend actions
    System app remover
    Allow untrusted overlays toggle (for Substratum Support)
    CPU info overlay
    
    [B][U]IME Settings:[/U][/B]
    Selector notification
    Auto keyboard rotation
    Disable fullscreen keyboard
    
    [B][U]Weather:[/U][/B]
    Weather service settings
    Statusbar weather
    Lockscreen weather
    
    [B][U]Miscellaneous:[/U][/B]
    Screenshot editor
    Wake on plug
    Pocket detection
    Camera shutter sound
    Disable safe headset volume
    Launch music App on headset Connection
    Scrolling cache
    Events[/SIZE]

    Links.png

    ROM: https://www.androidfilehost.com/?w=files&flid=291817 (all vanilla: no Gapps, no su)
    Official Open GApps: https://opengapps.org

    For the Official builds:
    Telegram Support Group: https://t.me/havocofficial
    Telegram Announcements Channel: https://t.me/Havoc_OS
    Feature Request Form: https://goo.gl/forms/b8rY79XtUZnd5ji42


    Installation.png


    1. Download ROM.7z file for your device (A/B or A only).
    2. Extract it and get the IMG file.
    3. Flash it:
    For Fastboot: Open ADB and type "fastboot flash system <image name>.img"
    For TWRP: Install > Install Image > Select Image and Flash to "SYSTEM"
    4. Reboot and Enjoy.


    Team.png

    ZeNiXxX
    SKULSHADY
    mountaser halak


    Donate.png

    PayPal Havoc Team

    Credits.png

    @phhusson
    @Dil3mm4
    @king1990

    LineageOS Team (https://www.lineageos.org)
    AICP (https://www.aicp-rom.com)
    MSM-Xtended Team (https://forum.xda-developers.com/on...nt/cardinal-aosp-5-0-android-8-0-pre-t3693585)
    Crdroid (https://crdroid.net)
    Omnirom (https://omnirom.org)
    And all the other Developers, Testers, Donators and Users.


    Sources.png

    https://github.com/Havoc-OS
    https://github.com/Havoc-Devices
    https://github.com/phhusson/device_phh_treble
    https://github.com/phhusson/treble_patches
    https://github.com/phhusson/treble_experimentations.git
    https://android.googlesource.com/device/sample
    18
    Major effort to bring all the stable patches from phh Treble up to April 2019 (AOSP 9.0 v112).

    Listing only the successful applied ones:
    Applying: "remaining" of HAL onEnroll is actually a percent of progress
    Applying: Actually restore pre-P mutex behavior
    Applying: Add a property toggle to enable high brightness range on samsung device
    Applying: Add japanese S9
    Applying: Add props to control supported features and states (#1)
    Applying: Add Qualcomm starlte
    Applying: Add route to gateway on null netmask
    Applying: Allow deletion of symlink
    Applying: Also create vendor_ce (same reason as vendor_de)
    Applying: AOSP 8.0/8.1 didn't use presentOrValidate, so it's broken. Don't use it
    Applying: CameraService: Support calling addStates in enumerateProviders
    Applying: Change SignalStrentgh to change behaviour based on property
    Applying: Change SignalStrentgh to change behaviour based on property
    Applying: Choose a more generic prop.
    Applying: Create vendor_de. This is done by /init.rc on system-as-root device
    Applying: Different value for astarqlte. Probably more devices to add later
    Applying: Don't set esdfs or exfat genfscon. Assume OEM does
    Applying: Enable multipl_decls by default. This is needed because 8.0 init doesn't add -m
    Applying: FIH devices: Fix "Earpiece" audio output
    Applying: First drop_privs (which may fail) and only run thread that might be scheduled before us
    Applying: Fix backlight control on Galaxy S9(+)
    Applying: Fix OP6 brightness
    Applying: Fix typo on fnmatch return value check
    Applying: Fix WiFi-Display on Huawei devices (EMUI 8.0)
    Applying: Huawei Kirin 960:: accept broken rpfilter match
    Applying: Huawei:: HWC doesn't understand 0,0,0,0 == fullscreen damage. Set it to the whole visible surface
    Applying: idmap: Don't silently ignore RROs with same priority
    Applying: Ignore /proc/kmsg if reading from it faults
    Applying: Increase default log_level to get actual selinux error in kmsg
    Applying: Initial support of in-display fingerprint sensor
    Applying: Kirin:: Remove lock to prevent self-lock
    Applying: Kirin:: Workaround some conflicting Kirin tether SELinux context
    Applying: Make BTM_BYPASS_EXTRA_ACL_SETUP dynamic
    Applying: Make MAX_CONNECTIONS_GSM settable from property
    Applying: power: Disable keyboard/button lights while dozing/dreaming
    Applying: property-matching RROs: allow to prefix the value with + to do glob match instead of exact match
    Applying: Read SDK version override from property
    Applying: Relax /proc read from ueventd, huawei needs it
    Applying: Re-order services so that it works even without qtaguid
    Applying: Revert "logd: add "+passcred" for logdw socket"
    Applying: Revert "Set rlimit rtprio for cameraserver"
    Applying: Revert "SupplicantManager: Remove |ensure_config_file_exists|"
    Applying: S9 brightness override only for screen
    Applying: Set ro.build.fingerprint in system/etc/prop.default
    Applying: Show APN Settings for CDMA carriers
    Applying: Some kernel crashes when using too recent sdcardfs options. Force everyone to old options
    Applying: Start supplicant later
    Applying: Support hostap on O/O-MR1 vendors
    Applying: Support new samsung light hal
    Applying: Support Samsung's implementation of exfat, called sdfat
    Applying: Switch samsung light fingerprint match to regexp, to include Note9
    Applying: Telephony: Don not call onUssdRelease for Huawei RIL
    Applying: Try to make brightness more generic using property set by rw-system
    Applying: Use Samsung fingerprint percent thingy on all Samsung devices
    Applying: We might not have a mFlashlight at this state, but that's ok


    Also attaching the ROM Changelogs.
    I’ll be out for the next three weeks. So, bear with me on updates until then.
    11
    A bit of story and future steps. Building unofficially means you're alone, not a part of a team. On April, Liquid made quite some changes for their official devices that made me move to Havoc. On May, Havoc followed the same way. Generally, it's more complicated to build for a-only than for ab (at least for me). Bootleggers is still working on ab, but a-only started to fail. The future is not promising this way: each build became a very time-consuming task especially if we're building 2 ROMs x 2 devices types.

    It's not time to stop. But it's time to think, test and discover an alternative way to build consistenly (yes, seems to have at least one). I'll make tests during next weeks because time-consuming tasks are not sustainable in long-term for a single person building unofficially for free. You can see how many ROMs come and go.

    Both ROMs (Havoc and Bootleggers) from late April are working very well (at least on the single device I have to test). Thanks for your patience and comprehension.
    10
    Finally, new versions are being uploaded. It took me quite some time to recover the development environment and which patch was causing the building issues. In theory, you can dirty flash over @vince31fr version (and vice versa). In some phones, maybe, you need to flash the permissive zip.

    Hope @vince31fr could briefly explain me the solution for Havoc SELinux policies that could prevent booting in some phones.

    Bootloops: for users experiencing bootloops, you can try to use this patch, or any other that could work, in order to make your kernel boot in permissive mode. Custom kernels for your device may also help. Incompatibilities exist between ROMs and vendor SELinux policies, that can cause bootloops. Some progress has been made since 20190527 build with debugging Havoc's sepolicy (big thanks to @phhusson for giving explanations and pointing me out with the good tools), but some problems may remain.
    10
    Hello! I've updated all the sources mentioned in OP and compiled new versions. I'm attaching the changelogs.
    Sorry if it does not work on certain phones, but I'm doing my best to bring you the last available patches and updates.