• 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

vince31fr

Senior Member
Dec 18, 2016
850
854
Toulouse
Thanks! I need to compile it first to test, but seems it will work.
By the way, when Havoc moved from 2.4 to 2.5 a lot of changes messed my compile environment. I've started from scratch more than once and I did not succeed like you. Right now, I'm using your build and it's working like a charm. I'll post in your thread about other topic.

Thanks for jumping and wishing you can keep Havoc moving on.

Yes some repos have been shuffled a bit... this is a tedious task to build... Hope you'll succeed and maybe, one build that fails for someone will work for one other and vice-versa ;)
 
  • Like
Reactions: Technical

Mr.R™

Senior Member
Aug 11, 2008
890
202
OnePlus 8 Pro
Managed to boot the 24th build you uploaded previously using devbase v6 cse3 for the S9. None of the 22nd builds work for me only the 24th a build but I have no sim access with it. I have gone back to lineage 16 for my device and the sim issue has persisted through to my restored lineage so I'm not so sure the sim issue is completely down to the Rom but something else.

Sent from my SM-G960F using Tapatalk
 
  • Like
Reactions: Technical

Technical

Senior Member
Jun 2, 2008
3,462
1,210
Managed to boot the 24th build you uploaded previously using devbase v6 cse3 for the S9. None of the 22nd builds work for me only the 24th a build but I have no sim access with it. I have gone back to lineage 16 for my device and the sim issue has persisted through to my restored lineage so I'm not so sure the sim issue is completely down to the Rom but something else.

Sent from my SM-G960F using Tapatalk
Wait some days as I'm trying a new approach on patches and IF I can finish the build, it boots, I can manage to get a better compatible one in the future. Wish me luck ;) Right now, 75% and building...
 

Attachments

  • Building.png
    Building.png
    13.4 KB · Views: 124

Akhayev

Senior Member
Nov 9, 2013
1,326
223
OnePlus 7 Pro
OnePlus 8T
Managed to boot the 24th build you uploaded previously using devbase v6 cse3 for the S9. None of the 22nd builds work for me only the 24th a build but I have no sim access with it. I have gone back to lineage 16 for my device and the sim issue has persisted through to my restored lineage so I'm not so sure the sim issue is completely down to the Rom but something else.
Flash CSB_3 OR 8 that might fix ur issue , it happened to me and after flashing that vendor the Sim worked
 

gxfuzion92

Senior Member
Jul 19, 2013
122
17
My devices arm64 type-A.. Im trying to install type-A its bootloop,when install type-A/B its working.. Now my problem,cannot install gapps,architecture detect my devices arm,not arm64.. trying to intall gapps arm,but not stick when reboot..
 

frewys

Senior Member
Jan 12, 2005
1,845
289
Miami beach
Samsung Galaxy S21
New to treble flashing and not really sure after doing some reading if I need the system to be there or wipe it?
The zip is only 468MB in size. Seems very small and flash so fast it feels it is a dud

I'm on pixel 3
I presume ab not a only?

Getting errors on boot every time I try. Wiping System. Not wiping system. TWRP flash. Fastboot flash

Furthest I came was having the Google logo for 10 min before I rebooted and tried again

Thank you
 
Last edited:

Technical

Senior Member
Jun 2, 2008
3,462
1,210
New to treble flashing and not really sure after doing some reading if I need the system to be there or wipe it?
If you wipe the system partition, you need to flash system image in both slots before booting the phone (via TWRP or fastboot).

The zip is only 468MB in size. Seems very small and flash so fast it feels it is a dud
Hey... It's not a flashable .zip file. You need to uncompress it and flash the .img file via TWRP or fastboot.
 
Last edited:

Technical

Senior Member
Jun 2, 2008
3,462
1,210
My devices arm64 type-A.. Im trying to install type-A its bootloop,when install type-A/B its working.. Now my problem,cannot install gapps,architecture detect my devices arm,not arm64.. trying to intall gapps arm,but not stick when reboot..
You shouldn't even be trying to flash a or ab in a different phone :rolleyes:
Wait a bit, I'm working like a dog to get the ability to finish compilation again :fingers-crossed:
 

frewys

Senior Member
Jan 12, 2005
1,845
289
Miami beach
Samsung Galaxy S21
If you wipe the system partition, you need to flash system image in both slots before booting the phone (via TWRP or fastboot).


Hey... It's not a flashable .zip file. You need to uncompress it and flash the .img file via TWRP or fastboot.

Thanks for the reply

Like I said. Tried both. Wiped and untouched system

Yes. I did extract the file. It was a crazy extreme compression that I usually don't see in these types of files so just wanted to double check.

No theory as to what I am doing wrong?

ab is the right option for my pixel 3?

Has it been confirmed working with my phone or confirmed not working?
 

Technical

Senior Member
Jun 2, 2008
3,462
1,210
It was a crazy extreme compression that I usually don't see in these types of files so just wanted to double check.
It's just 7-zip (ultra compression).

No theory as to what I am doing wrong?
Can you post (again, sorry), step by step what is your phone state before and after flashing?

Has it been confirmed working with my phone or confirmed not working?
Unfortunately, I do not own a Pixel 3 :p
 
  • Like
Reactions: frewys

frewys

Senior Member
Jan 12, 2005
1,845
289
Miami beach
Samsung Galaxy S21
It's just 7-zip (ultra compression).


Can you post (again, sorry), step by step what is your phone state before and after flashing?


Unfortunately, I do not own a Pixel 3 :p

Thank you for your patience

I have done as such
"Getting errors on boot every time I try. Wiping System. Not wiping system. TWRP flash. Fastboot flash"

I tried according to this instruction set for AquariOS
"Boot into bootloader (power on while holding volume up)
fastboot devices - confirm your device is seen. If not, update your fastboot
fastboot set_active a
Perform flash-all command suitable for your computer’s OS. Allow phone to boot. Power down. Power back on while holding volume up key
fastboot set_active b
Repeat step 4, only once phone boots, skip through Setup Wizard and enable USB debugging and set to file transfer. Then drag AquariOS ROM onto phone.
Back in bootloader, run the appropriate command to enter TWRP:
fastboot boot <twrp_image_3.x.img> (use proper TWRP file name here)
Do NOT wipe system! Perform factory reset (swipe to reset)
Flash AquariOS zip followed by TWRP zip
Reboot to system "

This is the closest to a complete instruction I have seen

Yes. 7zip ultra compression does some true magic
 

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.