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

Unable to decrypt FBE device

Search This thread

TGVB

Member
Mar 12, 2021
9
0
Hello members

Guess I am in a pickle, with mi10t lite 5g where I followed the steps to flash PixelExperience but after flashing it reboots to MIUI page and hangs. on TWRP it does state that the flash was successful. Is there any solution to this issue. thanks
 

TGVB

Member
Mar 12, 2021
9
0
Hello members

Guess I am in a pickle, with mi10t lite 5g where I followed the steps to flash PixelExperience but after flashing it reboots to MIUI page and hangs. on TWRP it does state that the flash was successful. Is there any solution to this issue. thanks
 

TGVB

Member
Mar 12, 2021
9
0
Hello members
post removed as it may not be relevant here!
 
Last edited:
Well, this may be a bit funny, but I discovered how to remove this error in the poco x3 nfc due to an oversight, I was following the steps of a previous comment and just emphasized that I would not select the "clean all & lock" option and it just hit me. step and leave it in that option, when I realized it is when the program marked me error, then I rebooted my device (It always turned on without problem in the stock rom, but when I tried to install any other it failed) it started everything fine and it is still unlocked, It starts with the arrival of miui12, I set a pin, once in the main menu I restart in the recovery to see if the twrp was still, I see that the stock is there and I select restart in the system, now I restart in fastboot to install the TWRP again , I enter the recovery and surprise! He asks me for my pin (which he did not do the previous times) and it seems that everything works perfect again :)
Sorry for the english, use the translator XD
 

bhanu9009

New member
Apr 8, 2018
2
1
please try 'fastboot -w'

once data got erased there is no need for decryption...

the problem I feel is it was not able to encrypt the /data.
 
  • Like
Reactions: Jester646

lg-optimus

Senior Member
Mar 5, 2012
236
15
Build author not me, build author is Franssen (Thanks to him!)

Havoc_Logo.png



About.png

Havoc-OS 2.x is based on AOSP, inspired by Google Pixel.
Has a refined Material Design 2 UI by @SKULSHADY.
So many features that you probably won't find in any ROM.
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]

MD2 UI
Rounded UI
Enhanced QS Battery Estimation
Seekbars for Media Notifications
QS Panel Inspired by OOS
Pixel Lockscreen weather
Substratum Support
Compiled using SDCLANG
OTA Support
Signature Spoofing
Micro-G support
Lockscreen charging animation
In-built Oneplus Camera & Gallery(Oneplus Device only)

[SIZE="3"][B][U]Status Bar:[/B][/U][/SIZE]

Double tap to sleep
Statusbar brightness slide
Quick & Smart pulldown
Clock Settings
Date Settings
Battery Customization
Battery Bar
Network Traffic Indicator
Carrier Label Customization
Status Bar Icons Toggle
Notifications Count
Bluetooth Battery Status
VoLTE Icon Toggle
Old Mobile Type Icon style
4G/LTE icon switch
Data Disable Icon Toggle
Breathing Notifications

[SIZE="3"][B][U]Quick Settings:[/B][/U][/SIZE]

Layout customization
Brightness Slider Customization
  Brightness Slider On Bottom
  Auto Brightness Icon
  Auto Brightness Icon on Right
  Brightness Control Buttons
QS Elements Customization
  Tile Tittle
  Vibrate On Touch
  Information Header
QS Footer Customization
  VPN Warning
  Settings Icon
  Running Services Icon
  Edit Icon
  User Switcher Icon

[SIZE="3"][B][U]Interface:[/B][/U][/SIZE]

Themes
  UI Style (Pixel/AOSP)
  Background Color (Automatic/Light/Dark/Shady/Glassy)
  Accent Color
  Font Manager
  App Icon Shape (Default/Square/Rounded Square/Squircle/Circle/Teardrop/Hexagon)
QS Themes
  QS Color based on Wallpaper
  QS Color based on Accent
  Custom QS Panel color
  QS Panel Opacity
  QS Header Style (Black/Grey/Light Grey/Accent Based/Transparent)
  Custom QS Header Image
  QS Tile Style (Wavey/Cookie/Teardrop and 15+ More)
Settings Customisation
  Switch Appearance (OnePlus/Material Design 2)
  Dashboard Icons (Round/Oreo/Round Accented/Round OnePlus Style/Oreo Style Accented)
  Dashboard Conditions
  Dashboard Suggestions

[SIZE="3"][B][U]Ambient Display:[/B][/U][/SIZE]

Ambient Options
  Always On
  Always On When Charging
  Wakeup On New Notifications
  Sensor Based Screen Wakeup (Tilt/Hand Wave/Pocket)
Battery Level at Botton while Dozing
Music Ticker

[SIZE="3"][B][U]Screen:[/B][/U][/SIZE]

Smart Pixel
Screen Stabilization
Corner Customisation
  Rounded Corner Radius
  Corner Content Padding
  Satus Bar Padding

[SIZE="3"][B][U]Buttons:[/B][/U][/SIZE]

Volume Rockers
  Volume Panel On Left
  Volume Dialog Timeout
  Volume Steps
  Keyboard Cursor Control
  Swap Keys
  Control Ring Volume
  Control Music Volume
  Volume Rocker Wakeup
  Volume keys Answer Call
Power Button
  Power Menu Customization
  End Call
  Screen off power button torch
Hardware keys
  Disable Keys
  Swap Keys
  Backlight Brightness
  Backlight Timeout
  Backlight On Touch
  Accidental Touch Protection
Back/Home/Overview Button Customisation
  Single Tap Action
  Long Press Action
  Double Tap Action
  Home Button Use While Ringing Toggle
 
[SIZE="3"][B][U]Navigation bar:[/B][/U][/SIZE]

Navigation Mode (Fling/SmartBar/Default)
Stock Navigation Bar Customisation
  Gestures
  Pixel Animation
  One-Handed Mode
  Layout Customisation
Smart Bar Customisation
Fling Customisation
Pulse Customisation
Height Customisation (Potrait/Landscape)

[SIZE="3"][B][U]Gestures:[/B][/U][/SIZE]

System Gestures
  Jump to Camera
  Long Press to Activate Torch
  Swipe Up on Home
Button
  Full Gesture Mode
  Double Tap on NavBar to Sleep
  Prevent Ringing
Swipe to Screenshot
Swipe Gestures
OnePlus Gestures
Edge Gestures
Pie Control
 
[SIZE="3"][B][U]Lockscreen:[/B][/U][/SIZE]

Double Tap to Sleep
Media Cover Art
Media Cover Art Filter (Blur/Greyscale/Accent tinted/Greyscale and Blurred)
Music Visualiser
Clock Widget Customisation
Info Widget Customisation
Weather Temperature Unit (Celsius/Fahrenheit)
Unlocking
  FP Authentication Vibration
  Force FP Authentication
  LS Dismissal On Face Unlock
  Pocket Detection
  Allow FP in Pocket
Elements Customisation
  Quick Settings
  Satus Bar
  Multiuser Switch
  Status Text
  Charging Info
  Left/Right Shortcuts
  Lock Icon
Shortcuts
  Mid-Screen Shortcuts
  Bottom Shortucts
Others
  Pin Ripple
  Scramble Layout
  Quick Unlock
  Auto Lock
  Power Button Instantly Locks
  Direct Unlock
  Lockscreen Message

[SIZE="3"][B][U]Recents:[/B][/U][/SIZE]

Recents style (Quickstep/Oreo/Grid/Android Go/Slim)
Oreo Recents Customization
  Clear All Button
  Clear All Button Location
  Button Style
  Memory Bar
  Custom Styles
  Icon Pack
  Apps Blacklist
  Immersive Mode (Full Screen/Status Bar/Navigation Bar -- Clock/Date)
Slim Recents Customisation

[SIZE="3"][B][U]Notifications:[/B][/U][/SIZE]

Lights Customization
  Charging Light
  Notification Light
  Blink Flashlight on Call
Status Bar
  Heads Up Customisation
  Ticker Customisation
Disable/Enable FC Notifications
Immersive Mode Messages
Toast Icon
Force Expanded Notifications
Kill App Button
Noisy Notifications
In-Call Vibration
  On Connect
  On Disconnect
  On Call Waiting
  For Notifications

[SIZE="3"][B][U]Animations:[/B][/U][/SIZE]

Disable animation
Animation Duration
Animation customization
List view animation
QS tile animation
Power menu animation
Screen off animation
Toast animation

[SIZE="3"][B][U]System:[/B][/U][/SIZE]

Signature Spoofing
CPU info
Privacy Guard
Burn-in protection

[SIZE="3"][B][U]Input Method:[/B][/U][/SIZE]

Selector notification
Auto keyboard rotation
Auto-Rotate Timeout
Disable Full Screen Keyboard
Show enter key

[SIZE="3"][B][U]Battery Saving:[/B][/U][/SIZE]

Sensor block per-package
Alarm Blocker
Wakelock Blocker
Suspended Actions
Doze settings
Aggresive Battery
  Aggresive Idle
  Aggresive Standby
  Auto-enable on Battery saver mode
View CPU Frequency Stats

[SIZE="3"][B][U]Miscellaneous:[/B][/U][/SIZE]

MediaScanner behaviour on boot
Scrolling Cache
USB Configuration
Wake Up on Charge
Launch Music App
Screen Capture
  Screenrecord Shortcut
  Screenrecord Quality
  Screenshot Shortcut
  Screenshot Type (Full/Partial)

[SIZE="3"][B][U]Other Features:[/B][/U][/SIZE]

LiveDisplay
On-the-go mode
Prevent Accidental wake-up
Seperate ringtone for SIM1&2
Battery Charge Warning
Smart Charge
Advanced Battery Info

[SIZE="3"][B][U]QS Tile Shortcuts:[/B][/U][/SIZE]

  Heads Up tile
  Caffeine tile
  Ring mode tile
  CPU info tile
  Suspended action tile
  Smart pixel tile
  Ambient display tile
  AOD tile
  Screenrecord tile
  Stabilization tile
  Gaming Mode tile
  Screenshot tile
  Accidental touch tile
  Alarm/Calc/Phone/Camera/Music tiles
  Expanded Desktop tile
  Havoc settings tile
  HW key tile
  LTE tile
  Navbar tile
  On the go tile
  Pie control tile
  Reboot tile
  Sleep screen tile
  Accent picker tile
  Volume panel tile
  High Brightness tile
  Sound Search
  One Handed Mode Tile
  Compass Tile
  App Picker Tile
  Language

[SIZE="3"][B][U]Device Extras:[/B][/U][/SIZE]

Alert Slider Customisation
Spectrum Profiles
Screen Calibration
High Brightness Mode
Gestures[/SIZE]
Screenshots.png



Known Issues

- The FM radio app can't output to speaker (yet)

Team.png

Lead Developers:
Support Team:


Donate.png

If you like our work then please consider donating.


Links.png

ROM DOWNLOADS:
Recovery: https://twrp.me
Firmware: AFH - 9.9.3
Open GApps: http://opengapps.org
Telegram Support Group: https://t.me/havocofficial
Telegram Announcements Channel: https://t.me/Havoc_OS
Discord Server: https://discord.gg/YfhBCj4


Installation.png

1. Download the ROM, Firmware-9.6.27, GApps (Optional), Magisk (Optional) from the links above.
2. Wipe System, Data, Dalvik, Cache.
3. Flash the ROM, Firmware-9.6.27, GApps (Optional), Magisk (Optional).
4. Reboot and Enjoy.


Credits.png

Pixel Experience (https://github.com/PixelExperience)
MSM-Xtended Team (https://github.com/Project-Xtended)
And all the other Developers, Testers, Donators and Users.


Source.png


XDA:DevDB Information
Havoc-OS, ROM for the Xiaomi Mi Max 3

Contributors
Nikitel, Franssen, MrColdbird, mario_rr, SKULSHADY, afr30010, Alyer
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
ROM Firmware Required: Firmware-9.9.3
Based On: AOSP

Version Information
Status:
Stable

Created 2019-07-03
Last Updated 2019-09-16

but I'm gonna stuck in bootloop.
 

lg-optimus

Senior Member
Mar 5, 2012
236
15
Well, this may be a bit funny, but I discovered how to remove this error in the poco x3 nfc due to an oversight, I was following the steps of a previous comment and just emphasized that I would not select the "clean all & lock" option and it just hit me. step and leave it in that option, when I realized it is when the program marked me error, then I rebooted my device (It always turned on without problem in the stock rom, but when I tried to install any other it failed) it started everything fine and it is still unlocked, It starts with the arrival of miui12, I set a pin, once in the main menu I restart in the recovery to see if the twrp was still, I see that the stock is there and I select restart in the system, now I restart in fastboot to install the TWRP again , I enter the recovery and surprise! He asks me for my pin (which he did not do the previous times) and it seems that everything works perfect again :)
Sorry for the english, use the translator XD

I am in a bootloop with a X3 NFC surya. Before it worked with crdroid and I liked to change from crdroid to havoc-os-v4.6-20210620-surya-official using twrp_3.5.0-0_by_mahajant99

The 1st time I was asked for my key and data was decrypted. I erased all partitions and formatted data (yes). Then I rebooted into recovery again.

Flashing havoc-os-v4.6-20210620-surya-official and nikgapps-core-arm64-11-20210704-signed showed no(!) erros except this "unable-to-decrypt-fbe-device" at the beginning.. I tried to flash havoc only too, but I am always getting into bootloop.

The same strategy with a Redmi Note 9 Pro global / Joyeuse worked fine. with the RN9 I used havoc-os-v4.6-20210619-joyeuse-official and the same gapps-file nikgapps-core-arm64-11-20210704-signed.

I will give orangefox-r11.0_6_alpha-unofficial-surya a chance now.

Any advices are welcome. Everything personal is saved, so I can delete everything.
 

Line321

Member
Oct 27, 2021
5
0
Which recovery are you using?
Try flashing magisk 20 or 21.
Flash twrp by marounfurio( I am sorry if I slaughtered the name) which is available on xda.
And format data.
It's midnight here and I am going to sleep I will help to tommorow morning.
How do you flash another TWRP, when you have already flashed another one? (sorry question from a not-computer-wizard). Do you just command something in terminal or do you have to do something on the phone?

Kind regards,
Line321
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    That is odd but still flash fastboot rom and then flash twrp , flash a rom of your choice then format data . Maybe it will help . Btw which rom are you installing.
    2
    Try this.
    How to decrypt rom/storage so you can easily switch roms without format

    First I would thankx to @sakhatlonda for koutiliy.zip

    Steps to download file
    1. Download koutility.zip from below.

    2. Documentation related to koutility
    Read from below link (recommended)


    Just a utility zip which can be flashed on every rom flash, to do some pre-defined tasks.

    Can be used either to copy everything you place in sdcard/sudeep/system_root to respective dirs or to set config and use that to do predefined tasks

    This is how it works:
    Flash in recovery, every option has Note with it

    Available Configs:
    brbootdtbo - auto backup/restore boot & dtbo, will do backup if no backup present and will do restore if backup is there

    bbootonly - always backup boot

    bdtboonly - always backup dtbo

    resbootdtbo - always restore boot & dtbo (brbootdtbo won't work if this is enabled)

    enalways - encrypt always (edauto won't work if this is enabled)

    dealways - decrypt always (enalways & edauto won't work if this is enabled)

    edauto - auto change encryption state on each flash

    avb - removes avb flags (if decrypted)

    quota - removes quota flag (if decrypted)

    keep - doesn't over-writes boot/dtbo backups

    debloat - removes bloats

    rebloat - restore removed bloats

    patchD - same as flash but set in config

    productsize - makes a product image from your currently flashed rom to sdcard/sudeep and adds 600mb to it. So you can flash gapps etc. without error. (PC needed to flash product.img)

    Steps to decrypt rom/storage
    1. Flash roms
    2. Flash koutility.zip tested on aosp only
    3. Format data (required only first time after flashing koutility)
    4. Reboot to recovery
    5. Flash gapps (optional)
    6. Boot into system

    Congratulations your storage/rom is decrypted , you can switch roms without format

    Next time when you want to switch roms

    Steps
    1. Wipe data,caches and dalvik caches
    2. Flash rom
    3. Flash koutility.zip
    4. Reboot to recovery
    5. Flash gapps (optional)
    6. Boot into system

    Notes
    Remember you need to config koutility.zip in recovery

    How to config koutility for decryption

    Volume down (set config) > yes
    After that "No" till 5th option
    Then "yes" for 6th option
    Rest "No" till 15th option
    Last "yes" to flash
    1
    Plz anybody help this out...
    I unlocked bootloader, then immediately flashed Pitchblack recovery, then booted into recovery.
    Initially console shows decrypted FBE device with default password. But Encryption status : Encryped
    So I went into wipe & Formatted Data inorder to get rid of encryption. Then I rebooted recovery & it shows Unable to decrypt FBE device.

    [UPDATE] (24/12/20) : The console output Unable to decrypt FBE device was nothing but to tell us that incompatible operating system flashed.
    I flashed global version roms which are the main cause for bootloops. I flashed stock rom, then immediately worked out of the box.
    1
    1. Format data after going into twrp *It will wipe you device*
    2. If you don't want to install a custom rom just mod MIUI, remove your lock screen password or flash orange fox and if it asks for password just put your lock screen password.
    3. Else if you want to install a custom rom
    Open recovery
    Wipe data cache davilk
    Flash rom
    Format data
    Reboot.
    1
    Have you changed your partition to ext4?. Some Roms don't boot on ext4 maybe that is the reason for bootloop. Try switching it back to f2fs. And after you flash a custom rom does your internal storage show weird folder names? In recovery file manager.