• 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


Senior Member
Oct 12, 2011
I get this on my Razer Phone 2 when I try to boot up Havoc after install. I did a factory reset and even tried to do a full factory reset which included wiping data, davlik, and internal storage and still get it. I even flashed permissive v2 and still get it.



Senior Member
Apr 19, 2019
OnePlus 5T
I get this on my Razer Phone 2 when I try to boot up Havoc after install. I did a factory reset and even tried to do a full factory reset which included wiping data, davlik, and internal storage and still get it. I even flashed permissive v2 and still get it.
Format data trough TWRP and dont wipe internal...then try again
Flash disable forceencrypt and try again...

Top Liked Posts

  • There are no posts matching your filters.
  • 32



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


    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]
    Google Calculator
    Google Markup
    Lean Launcher
    Battery performance profiles
    Sensor block per-package
    Wakelock blocker
    Alarm blocker
    Optimal charge level alert
    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
    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
    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
    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)
    Slim recents
    Berry styles (Light/Dark/Black/Auto)
    Blur personalization
    Dashboard suggestions
    Dashboard conditions
    Screen stabilization
    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
    Navigation mode(Stock/Smartbar/Fling)
    Dynamic navbar color
    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
    Three finger screenshot
    Pie control
    App circle bar
    Gesture anywhere
    Screen-on gestures
    Touchscreen gestures
    System Animations
    Android P animations
    Disable animations
    QS tile animations
    Listview animations
    Custom Bootanimation
    Screen off animation
    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
    Weather service settings
    Statusbar weather
    Lockscreen weather
    Screenshot editor
    Wake on plug
    Pocket detection
    Camera shutter sound
    Disable safe headset volume
    Launch music App on headset Connection
    Scrolling cache


    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


    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.


    mountaser halak


    PayPal Havoc Team



    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.


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