[ROM][RAV*][SOFIA*][11][UNOFFICIAL] DISCONTINUED

Search This thread

kuzo

Senior Member
Sep 30, 2008
113
37
Catamarca
Have another Gapps related problem. Google assistant, when prompted to "navigate" somewhere with multiple locations, will not bring up the display when it asks you "which would you prefer?". I.e. if there are multiple Home Depot's in the area, it asks the question and you can answer, but without opening the Maps screen.
Other Gapps issue is that Gmail doesn't have the "Microsoft Exchange" icon under accounts.
It is not a problem with the gapps, it is a problem with the google app, if you uninstall the update it will work
 

jhford

Senior Member
I will try Migrate, thanx.
I just did exactly what is described in post #2:
- flash twrp via fastboot
- format data via twrp
- flash rom
- reboot into twrp to change slot
- flash gapps
- reboot to system
- setup system + unlock developer options and allow debugging
- reboot into recovery
- flash magisk
- reboot system
- enjoy the great rom
OK, @luca_brasi. I'm going to try flashing 4.6. Some preliminary questions first.
- flash twrp via fastboot
I already have TWRP 3.5.0_10.0 installed. Is this OK?
- format data via twrp
- flash rom
What about flashing boot.img, product.img, system.img, and vbmeta.img?
- reboot into twrp to change slot
From what slot to what slot?
- flash gapps
Flash GAPPS with TWRP?
- reboot to system
- setup system + unlock developer options and allow debugging
- reboot into recovery
- flash magisk
Again, flash Magisk with TWRP?
- reboot system
- enjoy the great rom
Thanks, @luca_brasi.
 

Beetle84

Recognized Contributor
OK, @luca_brasi. I'm going to try flashing 4.6. Some preliminary questions first.
- flash twrp via fastboot
I already have TWRP 3.5.0_10.0 installed. Is this OK?
- format data via twrp
- flash rom
What about flashing boot.img, product.img, system.img, and vbmeta.img?
- reboot into twrp to change slot
From what slot to what slot?
- flash gapps
Flash GAPPS with TWRP?
- reboot to system
- setup system + unlock developer options and allow debugging
- reboot into recovery
- flash magisk
Again, flash Magisk with TWRP?
- reboot system
- enjoy the great rom
Thanks, @luca_brasi.
Boot into TWRP
Format data
Flash the rom zip in TWRP
(use gapps version if you want gapps, vanilla if you dont)
Reboot
(dont change slots or anything, there is no need. TWRP handles that now.)
After you have booted the phone and gone through the setup, reboot to TWRP and flash magisk if you want it. You dont need usb debugging on to flash magisk.
 

jhford

Senior Member
Boot into TWRP
Format data
Flash the rom zip in TWRP
(use gapps version if you want gapps, vanilla if you dont)
Reboot
(dont change slots or anything, there is no need. TWRP handles that now.)
After you have booted the phone and gone through the setup, reboot to TWRP and flash magisk if you want it. You dont need usb debugging on to flash magisk.
What about flashing boot.img, product.img, system.img, and vbmeta.img?
 

luca_brasi

Member
May 18, 2013
34
9
flashing the rom zip is an alternative way of flashing.
You EITHER flash zip OR .img-files.

(dont change slots or anything, there is no need. TWRP handles that now.)
didn't know that. Does TWRP handle that only in case of using gapps version? What if I flash vanilla version and want to flash different gapps-package afterwards? Is it still not needed to change slot?
 

Quantumstate

Senior Member
Feb 6, 2010
918
132
Right, I prefer booting to fastbootd and just use that to flash the .img files as per instructions in OP. Then boot to the system and install Magisk. (tho that's not easy due to lack of browser in vanilla 4.6 -- I had to 'adb push vivaldi.apk /storage/emulated/0/Download' and install with File Manager)

Then adb push boot.img to the phone and use Magisk to modify it, and adb pull it back to laptop, reboot the phone to fastbootd and flash the modified boot image as a normal boot image, but this time it gives you a rooted phone.

I did flash TWRP this time but haven't monkeyed with it as I don't really trust it anymore. And I don't install anything G**gle as I'm in enterprise infosec for 22 years and don't trust it. I always look for apps in F-Droid first, then APKPure, neither of which require registration, and between them have everything.

I also install the Nova desktop and use it instead of the default Shadow, as Nova can back up your desktops. I have a complex setup and this saves lots of time.

If your phone is not unlocked there is a special webpage on the Motorola site to do this -- don't go anywhere else.

Been running 4.6 for over a week and what a joy it is! Only two oddities:
- when I answer the phone the titlebar pulls down and I have to hang up with that;
- it claims it can't record calls on this device, which Havoc used to be able to do, and I think this is an important feature.

All in all Havoc is still the best firmware available anywhere, and the Moto G Power is the best phone.
 
Last edited:

jhford

Senior Member
Boot into TWRP
Format data
Flash the rom zip in TWRP
(use gapps version if you want gapps, vanilla if you dont)
Reboot
(dont change slots or anything, there is no need. TWRP handles that now.)
After you have booted the phone and gone through the setup, reboot to TWRP and flash magisk if you want it. You dont need usb debugging on to flash magisk.
I tried but it got screwed up. FYI, I use the Migrate app rather than TItanium Backup on all my devices to save and reinstall my apps as I move from Rom to Rom.
- I made a backup up of all my apps to zip files with Migrate.
- I booted into TWRP 3.5.0_10-0 from Bootloader and formatted the data partition as you suggested.
- The 4.5 Rom zip file is installed on a micro SD card in my Meenova OTG adapter which was inserted in the the Micro USB charging port. I've been using the Meenova forever without issue. http://www.meenova.com/.
- I could not select USB Storage, which shows zero bytes content, as the source of the 4.5 zip file.
- UGH. So, I rebooted and had to redo the preliminary Google so 3.12 would work

So, I'm back to 3.12 without my apps including Nova Launcher, etc. What should I do now? Should I use ADB to flash the individual .img files like I did when I initially installed 3.12? But the odd thing is that after I installed 3.12, I flashed my apps with Migrate, Magisk, etc. without issue using the Meenova adapter.
Thanks for your help
 
Last edited:

jhford

Senior Member
I tried but it got screwed up. FYI, I use the Migrate app rather than TItanium Backup on all my devices to save and reinstall my apps as I move from Rom to Rom.
- I made a backup up of all my apps to zip files with Migrate.
- I booted into TWRP 3.5.0_10-0 from Bootloader and formatted the data partition as you suggested.
- The 4.5 Rom zip file is installed on a micro SD card in my Meenova OTG adapter which was inserted in the the Micro USB charging port. I've been using the Meenova forever without issue. http://www.meenova.com/.
- I could not select USB Storage, which shows zero bytes content, as the source of the 4.5 zip file.
- UGH. So, I rebooted and had to redo the preliminary Google so 3.12 would work

So, I'm back to 3.12 without my apps including Nova Launcher, etc. What should I do now? Should I use ADB to flash the individual .img files like I did when I initially installed 3.12? But the odd thing is that after I installed 3.12, I flashed my apps with Migrate, Magisk, etc. without issue using the Meenova adapter.
Thanks for your help
I fastbootd flashed the image files and 4.6 is installed. But I need to access USB storage to flash Magisk, and Migrate (my apps) which I can do using the File Manager app in 4.6, TWRP shows USB Storage as a choice (radio button) but I can't access it via TWRP. Please help. Thanks again.
[EDIT] I must have either had a brain fart or I'm so accustomed to using my Menoova USB OTG adapters that I completely forgot about the internal micro SD card adapter which TWRP just recognized, and my Power G8 2020 is now completely setup the way I want it with Havoc 4.6. BTW, I enthusiastically recommend Migrate over TB.
Many thanks to all.
 
Last edited:

Quantumstate

Senior Member
Feb 6, 2010
918
132
Use adb push to push the key apps.

To transfer a large number of files I use SSH Droid, an SSH server, and sshfs mount it to my backups server to restore files using rsync. SSH Droid is getting kind of old and I'm worried about its future, but maybe there's a better sync app.
 

Beetle84

Recognized Contributor
flashing the rom zip is an alternative way of flashing.
You EITHER flash zip OR .img-files.


didn't know that. Does TWRP handle that only in case of using gapps version? What if I flash vanilla version and want to flash different gapps-package afterwards? Is it still not needed to change slot?
Works the same whether vanilla or gapps

If you flash a vanilla rom, reboot to recovery after flashing, then flash the gapps. You shouldn't have to change slots manually anymore at all.
 

J-Putz

Member
Jul 21, 2021
6
0
To Install:

1. Extract the zip and open a shell with ADB and fastboot.
2. Reboot your device into fastbootd mode.

Code:
fastboot reboot fastboot


3. Flash boot, system, product, and vbmeta.

Code:
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash product product.img
fastboot flash vbmeta vbmeta.img


4. Wipe userdata.

Code:
fastboot -w

So, I did this part on my phone, restarted, and it would only boot into fastboot. Everything seemed to install in slot_b, I did not know I had to set slot a as active first. I set slot_a as active then rebooted and the factory rom booted.

Do I redo the flash with slot_a as active, or do I have to flash slot_b to factory images? I don't want to flash it then not be able to boot since then I wont be able to get into fastbootd. the "fastboot reboot fastboot" command does not work and I can only get into fastbootd with the adb reboot fastboot command. I think this is how I bricked my G7 last year.
 

J-Putz

Member
Jul 21, 2021
6
0
So, I did this part on my phone, restarted, and it would only boot into fastboot. Everything seemed to install in slot_b, I did not know I had to set slot a as active first. I set slot_a as active then rebooted and the factory rom booted.

Do I redo the flash with slot_a as active, or do I have to flash slot_b to factory images? I don't want to flash it then not be able to boot since then I wont be able to get into fastbootd. the "fastboot reboot fastboot" command does not work and I can only get into fastbootd with the adb reboot fastboot command. I think this is how I bricked my G7 last year.
Here is the output from my flash:

jeremiah@LR-Laptop:~/Backup/Android_Roms/sophia/HavocOS_4.6-VANILLAFastbootD$ adb reboot fastboot
jeremiah@LR-Laptop:~/Backup/Android_Roms/sophia/HavocOS_4.6-VANILLAFastbootD$ fastboot devices
ZF6522ZRPS fastboot
jeremiah@LR-Laptop:~/Backup/Android_Roms/sophia/HavocOS_4.6-VANILLAFastbootD$ fastboot flash boot boot.img
target reported max download size of 268435456 bytes
sending 'boot_b' (65536 KB)...
OKAY [ 1.888s]
writing 'boot_b'...
OKAY [ 1.527s]
finished. total time: 3.415s
jeremiah@LR-Laptop:~/Backup/Android_Roms/sophia/HavocOS_4.6-VANILLAFastbootD$ fastboot flash system system.img
target reported max download size of 268435456 bytes
sending sparse 'system_b' 1/5 (262140 KB)...
OKAY [ 7.719s]
writing 'system_b' 1/5...
OKAY [ 2.569s]
sending sparse 'system_b' 2/5 (262140 KB)...
OKAY [ 7.740s]
writing 'system_b' 2/5...
OKAY [ 1.553s]
sending sparse 'system_b' 3/5 (262140 KB)...
OKAY [ 7.871s]
writing 'system_b' 3/5...
OKAY [ 1.513s]
sending sparse 'system_b' 4/5 (262140 KB)...
OKAY [ 7.791s]
writing 'system_b' 4/5...
OKAY [ 1.478s]
sending sparse 'system_b' 5/5 (193928 KB)...
OKAY [ 5.952s]
writing 'system_b' 5/5...
OKAY [ 1.145s]
finished. total time: 45.331s
jeremiah@LR-Laptop:~/Backup/Android_Roms/sophia/HavocOS_4.6-VANILLAFastbootD$ fastboot flash product product.img
target reported max download size of 268435456 bytes
sending sparse 'product_b' 1/3 (262140 KB)...
OKAY [ 7.880s]
writing 'product_b' 1/3...
OKAY [ 1.496s]
sending sparse 'product_b' 2/3 (262140 KB)...
OKAY [ 7.774s]
writing 'product_b' 2/3...
OKAY [ 1.445s]
sending sparse 'product_b' 3/3 (258616 KB)...
OKAY [ 7.628s]
writing 'product_b' 3/3...
OKAY [ 1.496s]
finished. total time: 27.720s
jeremiah@LR-Laptop:~/Backup/Android_Roms/sophia/HavocOS_4.6-VANILLAFastbootD$ fastboot flash vbmeta vbmeta.img
target reported max download size of 268435456 bytes
sending 'vbmeta_b' (4 KB)...
OKAY [ 0.002s]
writing 'vbmeta_b'...
OKAY [ 0.058s]
finished. total time: 0.060s
jeremiah@LR-Laptop:~/Backup/Android_Roms/sophia/HavocOS_4.6-VANILLAFastbootD$ fastboot -w
wiping userdata...
Erase successful, but not automatically formatting.
File system type raw not supported.
erasing 'userdata'...
OKAY [ 0.595s]
finished. total time: 0.595s
 

J-Putz

Member
Jul 21, 2021
6
0
NM, I figured out how to get into fastbootd through the stock recovery. I tried to reflash it and the phone still will not boot into the rom because I guest the /data partition is still encrypted:

jeremiah@LR-Laptop:~/Backup/Android_Roms/sophia/HavocOS_4.6-VANILLAFastbootD$ fastboot -w
wiping userdata...
Erase successful, but not automatically formatting.
File system type raw not supported.
erasing 'userdata'...
OKAY [ 0.595s]
finished. total time: 0.595s

I installed twrp but I cannot do anything because data is encrypted. I tried everything I could find online including formating the data partition but I am still getting errors.
 
D

Deleted member 4197323

Guest
Reporting in on v4.8 from Telegram. Two issues I've noticed -- FM Radio is broken (this is known), and double tap to wake doesn't work (seems you might have JUST pushed a fix for this). Other than that, I've had zero issues with the ROM. Super fast and smooth. Thanks for bringing my all time favorite ROM to the Moto G Power! I wish the notification LED could blink rather than remain solid though! I hope to see it go official sometime soon!

Edit: Confirmed that v4.8.2 fixes double tap to wake!
 
Last edited by a moderator:

nnSlick

Member
Sep 23, 2007
20
2
Reporting in on v4.8 from Telegram. Two issues I've noticed -- FM Radio is broken (this is known), and double tap to wake doesn't work (seems you might have JUST pushed a fix for this). Other than that, I've had zero issues with the ROM. Super fast and smooth. Thanks for bringing my all time favorite ROM to the Moto G Power! I wish the notification LED could blink rather than remain solid though! I hope to see it go official sometime soon!

Edit: Confirmed that v4.8.2 fixes double tap to wake!
Do you have a link to the v4.8 ROM? I searched Telegram but could not find it.
TIA.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    Havoc_Logo.png



    About.png

    Havoc-OS 4.x is based on AOSP, inspired by Google Pixel.
    Has a refined Material Design 2 UI crafted by @SKULSHADY.
    Many useful features that will blow your mind.
    All you can dream of and all you'll ever need.
    Just flash and enjoy...


    Features.png

    Code:
    [SIZE="3"][SIZE="3"][B][U]General:[/B][/U][/SIZE]
    
    Material Design 2 UI
    Android R Style Screenrecord Dialog
    Rounded UI
    Inbuilt GApps (optional)
    Face Unlock
    Enhanced QS Battery Estimation
    Lockscreen Clocks
    Font Customisation
    Dark Theme Support for AOSP apps
    Notification LED Settings
    Pixel Lockscreen weather
    Signature Spoofing
    Micro-G support
    Lockscreen charging animation
    
    [SIZE="3"][B][U]Status Bar:[/B][/U][/SIZE]
    
    Clock & Date Settings
    Custom Logo
    Brightness Control Gesture
    Double Tap to Sleep
    Network Traffic Indicator Settings
    Carrier Label Settings
    Battery Icon Style/Percentage Settings
    Status Bar Icons Toggle
    HD/VoLTE Icon Toggle
    4G/LTE Icon Toggle
    Data Disable Icon Toggle
    Roaming Indicator Toggle
    Small Mobile Type Icon Toggle
    Bluetooth Battery Status Toggle
    
    [SIZE="3"][B][U]Quick Settings:[/B][/U][/SIZE]
    
    Quick Pulldown
    Smart Pulldown
    Battery Estimates Toggle
    Background Opacity
    Background Blur Configuration
    Header Image Configuration
    QS Customisations
      Rows/Column
      Tile Title
      Vibrate on Touch
    Brightness Slider Customization
      Brightness Slider On Bottom/Top/Hidden
      Auto Brightness Icon
      Brightness Control Buttons
    QS Footer Customization
      Settings Icon
      Running Services Icon
      Edit Icon
      User Switcher Icon
    
    [SIZE="3"][B][U]Ambient Display:[/B][/U][/SIZE]
    
    Show/Hide Battery Level
    Ambient Options
      Always On
      Always On When Charging
      Wakeup On New Notifications
      Wakeup on New Music (Music Ticker)
      Sensor Based Screen Wakeup (Tilt/Hand Wave/Pocket)
      Double Tap for Ambient Display
    Ambient/Always On Display Brightness Configuration
    
    [SIZE="3"][B][U]Screen:[/B][/U][/SIZE]
    
    Corners Customisation
      Rounded Corner Radius
      Corner Content Padding
    Legacy App Scaling
      Force Higher Aspect Ratio for Selected Apps
    
    [SIZE="3"][B][U]Buttons:[/B][/U][/SIZE]
    
    Navigation
      Nav Bar Toggle
      System Navigation Type
      Arrows Keys
    Volume Buttons
      Swap Keys
      Volume Steps
      Long Press to Seek Tracks
      Keyboard Cursor Control
      Volume Rocker Wakeup
      Volume keys Answer Call
    Power Button
      Power Menu Customization
      Lockscreen Options
        Visibility on the Lockscreen
        Reboot
        Advanced Reboot
        Screenshot Option
        Screenrecord
      Screen-Off Torch
        Double Tap Power Button
        Long Press Power Button
    Back Gesture
      Arrow Animation toggle
      Long Swipe Type (Swipe and Hold/Swipe Edge to Edge)
      Long Swipe Timeout
      Long Left/Right Swipe Action
      Haptic Feedback toggle
    
    [SIZE="3"][B][U]Gestures:[/B][/U][/SIZE]
    
    Jump To Camera
    System Navigation Settings
    Prevent Ringing Gesture
    Swipe To Screenshot
    Touchscreen Gestures
    
    [SIZE="3"][B][U]Lockscreen:[/B][/U][/SIZE]
    
    Double Tap to Sleep
    Media Cover Art
    Media Cover Art Blur Level
    Music Visualiser
    Unlocking
      Pocket Detection
    Fingerprint
      Screen Off FOD
      Show Icon
      Recognizing Animation
      FP Authentication Vibration
      FP error Vibration
    Elements Customisation
      Status Bar
      Quick Settings
      Lock Icon
      Charging Info
    
    [SIZE="3"][B][U]Notifications:[/B][/U][/SIZE]
    
    Flashlight
      Blink for incoming call
      Blink for Call Waiting
    Screen
      Edge Lighting Customisation
    Status Bar
      Heads Up
    System
      FC Notifications
    Misc
      Kill App Button
      Noisy Notifications
    
    [SIZE="3"][B][U]Animations:[/B][/U][/SIZE]
    
    Animation Duration
    System Animation customization
    QS Tile Animation Customisation
    
    [SIZE="3"][B][U]Battery Saving:[/B][/U][/SIZE]
    
    Smart Pixels
    Suspend Actions
    
    [SIZE="3"][B][U]Miscellaneous:[/B][/U][/SIZE]
    
    Gaming Mode
    Wake Up on Charge
    Charging Animation
    Screenshot Type (Full/Partial)
    Adaptive Playback
    Playback Timeout (30sec/1min/2min/5min/10min)
    
    [SIZE="3"][B][U]Other Features:[/B][/U][/SIZE]
    
    Vibration & Haptics Customization
    LiveDisplay
    Notch Hide Settings
    Seperate ringtone for SIM1&2
    Screen Refresh Rate (For Supported Devices)
    ALways On Display
    Smart Charging
    Theming
      Styles and Wallpapers
      Dark Theme
      Accent Colour
      Icon Shape
    
    [SIZE="3"][B][U]QS Tile Shortcuts:[/B][/U][/SIZE]
    
      Heads Up tile
      Caffeine tile
      CPU info tile
      Smart pixel tile
      Live Caption
      Screenrecord tile
      Gaming Mode tile
      Screenshot tile
      LTE tile
      Music Tile
      LiveDisplay
      Switch Data Card Tile
      Reboot Tile
      Reading Mode
      Gaming Mode
      Compass
      Sound Search
      Compass Tile
    
    [/SIZE]
    Screenshots.png



    Team.png

    Founder & Lead Developer:
    Support Team:


    Donate.png

    If you like our work then please consider donating.
    UPI: anushekprasal@okhdfcbank
    Maintainer PayPal: https://www.paypal.me/ANUSHEK


    Links.png

    Open GApps: http://opengapps.org
    Magisk: https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
    Telegram Support Group: https://t.me/havocofficial
    Telegram Announcements Channel: https://t.me/Havoc_OS
    Discord Server: https://discord.gg/YfhBCj4[/SIZE][/INDENT]


    Credits.png

    And all the other Developers, Testers, Donators and Users.


    Source.png


    Device Trees: https://git.asineth.gq/android_device_motorola_sofiar/
    Vendor Trees: https://git.asineth.gq/android_vendor_motorola_sofiar/
    Kernel Trees: https://git.asineth.gq/android_kernel_motorola_trinket/

    KNOWN BUGS:

    Let me know!
    6
    ROM Download Links

    19-9-20 (Initial) Build - No GApps, Screen Recording Causes Reboot, ADB Broken

    https://drive.google.com/file/d/1-ztGP-YYJRzRB8p-bLuMl3YWDw7mawm8/view?usp=sharing

    20-9-20 Build - GApps Included, ADB Access Fixed, Screen Recording The Same

    https://drive.google.com/file/d/16xXU4gbKOhcsNVOQREidrDeUDrnZN8jC/view?usp=sharing

    10-11-20 Build - Updated to 3.11, November security patch. New boot.img included with hotspot fix and twrp decryption support (thanks vache and odin and samuel). GAPPS still included. Clean install recommended.

    https://drive.google.com/file/d/1PfPLco3pcfJ-x-uBDuBWVMffY4vySorx/view?usp=sharing

    21-11-20 Build - Still 3.11, Nothing new, No GAPPS build.

    https://drive.google.com/file/d/1HZg7jNw5COVDiKbCw5Wfpd6OP95eqxNO/view?usp=sharing


    22-12-20 Build - Fixed device detection (should display the correct device in settings now, thanks odin!), December Security patch, working screen recorder added to system and broken one's quick setting tile removed.

    No Gapps Build

    Gapps Included Build


    23-6-21 Build - HavocOS 4.6!!!

    Fixed screen recorder, fixed screen cast/mirroring (gapps build/vanilla with gapps installed), added Moto Camera 2 and Moto clock widgets, kernel upstreamed to .236 with kcal patches added, color control app added to tweak colour/saturation, June security patch. GAPPS and Vanilla builds, TWRP zips and Fastboot D images.

    https://drive.google.com/drive/folders/1zhgC1r-FxnobhCG_CyO7aLbvMz8iiFMh?usp=sharing

    07-08-21 build

    Havoc-OS v4.8

    Rebased to omni device trees.
    Kernel upstreamed to 4.14.240
    Tap to wake working.
    (Stylus model only) Stylus should be working, may need to reopen stylus settings from time to time.

    FM radio is BROKEN

    https://drive.google.com/drive/mobile/folders/1v2WqTsdZHQcFg_NKaL7DbnBVn0KzzhQa?usp=sharing
    4
    23-6-21 Build - HavocOS 4.6!!!
    Fixed screen recorder, fixed screen cast/mirroring (gapps build/vanilla with gapps installed), added Moto Camera 2 and Moto clock widgets, kernel upstreamed to .236 with kcal patches added, color control app added to tweak colour/saturation, June security patch. GAPPS and Vanilla builds, TWRP zips and Fastboot D images.

    Link is up at Post #3
    3
    Im here still, Im skipping 4.2, not alot changed, and awaiting 4.3's release 😉
    3
    The download files for 4.8 are only named "sofiap" and stylus. Previous downloads were named "SOFIA-R-P-RAV". Is variant "sofiar" still supported? Which file to take for sofiar"?

    I know, i forgot to rename the file. You are 100% safe to flash it. All variants still supported and using the same zip/images.