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

Development [RECOVERY] [11] [OFFICIAL] TeamWin Recovery Project

Search This thread

RAMBO29

Senior Member
Jan 9, 2007
480
21
Munich
@WhereIsMyROM Hi Same issue as yours. Can you please share how you fixed it in detail?

Had some issues after installing this TWRP via fastboot mode similar to what was faced by other uses. Managed to install Orangefox recovery from https://forum.xda-developers.com/t/...oject-r11-1-sweet-sweetin-sweetinpro.4263333/. Then used MTP to copy files from PC to phone and install ROM, magisk etc. Working now.


Thanks for the super quick responses @Laptapper


So I tried flashing ROM from sd card as you suggested and I get an error. I have attached a pic of error.

I am going to try OrangeFox and let you know if that works or not.

Please let me know if you need any more info.

EDIT:
I tried OrangeFox just now and it works without any errors. I successfully flashed crdroid and flamegapps. So I can confirm that nothing is wrong with my device. But I still cannot understand why TWRP doesn't work. It is my favorite recovery and I would really like to use it.

Thank you
Ayush
 
Last edited:

ooops4

Member
May 14, 2015
23
0
25
Ahmedabad
I just want root access for changing the emoji ttf font file.
Currently on MIUI 12.5.8.0 RKFINMX. Redmi note 10 pro indian variant (sweetin)
Do i have to follow the steps below ? correct me please if am wrong
-> Unlock bootloader
-> Flash twrp via fastboot
-> decrypt using my lockscreen password.
-> flash magisk zip file to gain root access.
-> install magisk app. (update magisk version if required.)
-> change my ttf font file.
-> will keeps the root access.

Do I need to flash disable dm verity forceencrypt ? if yes then when ?

Am I correct ? I was previously using Redmi Note 7 Pro.
 

meirioon

Member
Jul 5, 2021
33
9
Hello,
I have an issue to report with TWRP 3.5.2 from you, Nebrassy. I don't know if this is a known issue, but when you format data it will change dm-5 to sda34 and thus preventing TWRP to decrypt FBE (File Based Encryption) and so the internal storage. To fix this you have to use ADB Sideload to push a ROM. It'll install normally and revert sda34 back to dm-5.

Before formating data and also after restarting to OS after ADB Sideload push:
unknown.png


After:
unknown1.png
 

Nebrassy

Recognized Developer
Sep 17, 2015
991
1,984
Lattakia
Xiaomi Poco X3 Pro
Hello,
I have an issue to report with TWRP 3.5.2 from you, Nebrassy. I don't know if this is a known issue, but when you format data it will change dm-5 to sda34 and thus preventing TWRP to decrypt FBE (File Based Encryption) and so the internal storage. To fix this you have to use ADB Sideload to push a ROM. It'll install normally and revert sda34 back to dm-5.

Before formating data and also after restarting to OS after ADB Sideload push: View attachment 5435483

After: View attachment 5435485
When you format data, data is no longer encrypted, and if data is empty twrp won't let you access it because if you put anything there and then flash and boot a rom that rom will not boot because it's expecting an encrypted data, after formatting data you need to boot a rom, then you can access it from twrp again
 

majster95

Senior Member
Jun 16, 2014
115
15
Poland
Redmi Note 10 Pro
When you format data, data is no longer encrypted, and if data is empty twrp won't let you access it because if you put anything there and then flash and boot a rom that rom will not boot because it's expecting an encrypted data, after formatting data you need to boot a rom, then you can access it from twrp again
If you flash any android 12 based ROM and boot, then go back to recovery, TWRP doesn't ask for password and doesn't recognize partitions.
 

Rendering

Senior Member
May 13, 2011
249
36
Everytime I try to wipe my phone I get following errors

Code:
Unable to mount /data/media/TWRP/.twrps
Unable to mount /data/media/TWRP/.twrps
Failed to mount '/data' (Invalid argument)
Formatting Cache using mke2fs...
Done.
Updating partition details...
...done
Unable to mount storage

Any idea how to fix them?
 

Mauco

Member
May 5, 2019
41
14
I'm sorry but have a question. I was running Pixel Experience and yesterday I've try an aosp Android 12 ROM.
After that I want to rollback to Pixel Experience ROM but TWRP cannot access data anymore and shows the errors in my image attached. I've try to format and restart recovery, to change recevery, to install again TWRP via fastboot with no success at all. the only way to use this phone is to flash an official ROM via MiFlash (In my case V12.5.4.0.RKFEUXM works).
I also try to lock bootloader and new unlock but TWRP is not working anymore.
I'd like to use this phone with a custom ROM but I can't now. any suggestions will be appreciated.
Thank you for your precious work and time spent!

PXL_20211018_141445523.jpg.jpg
 

meirioon

Member
Jul 5, 2021
33
9
I'm sorry but have a question. I was running Pixel Experience and yesterday I've try an aosp Android 12 ROM.
After that I want to rollback to Pixel Experience ROM but TWRP cannot access data anymore and shows the errors in my image attached. I've try to format and restart recovery, to change recevery, to install again TWRP via fastboot with no success at all. the only way to use this phone is to flash an official ROM via MiFlash (In my case V12.5.4.0.RKFEUXM works).
I also try to lock bootloader and new unlock but TWRP is not working anymore.
I'd like to use this phone with a custom ROM but I can't now. any suggestions will be appreciated.
Thank you for your precious work and time spent!

View attachment 5435963
Format data, wipe cache, Dalvik/ART cache, metadata and data then reboot to recovery and use ADB sideload (in the advanced tab) to push a ROM (such as Pixel Experience). When the ROM is flashed, reboot to OS and data will be decrypted. At least it worked for me. You can't flash a ROM directly with TWRP as you usually do as TWRP fails to decrypt data and doesn't have access to your internal storage.
 

Mauco

Member
May 5, 2019
41
14
Format data, wipe cache, Dalvik/ART cache, metadata and data then reboot to recovery and use ADB sideload (in the advanced tab) to push a ROM (such as Pixel Experience). When the ROM is flashed, reboot to OS and data will be decrypted. At least it worked for me. You can't flash a ROM directly with TWRP as you usually do as TWRP fails to decrypt data and doesn't have access to your internal storage.
Thanks for your reply, I've try but also using sideload it gives me error1. I'm on TWRP 3.5.2.
 

rafid0028

Member
Jul 17, 2016
25
8
Xiaomi Redmi Note 5 / 5 Plus
I think the problem with "Unable to decrypt FBE device" began with Pixel experience/extended/ui etc. ROMS. I followed every step before installing (xtended XR may be) and everything was fine. Then tried Pixel extended and didn't like it. So, finally decided to set on LineageOS. But I got stuck with "Unable to decrypt FBE device" issue. I can see roms getting installed but always getting reboot into TWRP. I didn't find any solution yet. I have decided to flash the latest stock firmware (12.5.8 RKFINXM) first and then start everything over. I am only worried if I have to lock bootloader again and wait 7 more days to unlock. :sick::sick::sick:
 
Sep 13, 2010
41
8
I think the problem with "Unable to decrypt FBE device" began with Pixel experience/extended/ui etc. ROMS. I followed every step before installing (xtended XR may be) and everything was fine. Then tried Pixel extended and didn't like it. So, finally decided to set on LineageOS. But I got stuck with "Unable to decrypt FBE device" issue. I can see roms getting installed but always getting reboot into TWRP. I didn't find any solution yet. I have decided to flash the latest stock firmware (12.5.8 RKFINXM) first and then start everything over. I am only worried if I have to lock bootloader again and wait 7 more days to unlock. :sick::sick::sick:
You need not wait any more. You can unlock immediately after reboot and do the other initial settings.
 
  • Like
Reactions: opg2000

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    Official builds have started

    1
    1) On xda it says [11]. Does this mean that this recovery will only work with android 11 and not 12?
    2) I already have twrp installed and I am currently running arrowos 11. I plan to install lineage 12 when it comes out, and when it does, I also want to update my recovery. So should I follow the same steps as on the website or should I do anything differently?
    Thanks a lot for the recovery by the way!!!
    Same flashing method, it works on 12 it just won't decrypt
  • 46



    Introduction:

    Team Win Recovery Project or TWRP for short, is a custom recovery built with ease of use and customization in mind. We started from the ground up by taking AOSP recovery and loading it with the standard recovery options, then added a lot of our own features. It's a fully touch driven user interface , no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

    Key Features:

    Touchscreen driven with real buttons and drag-to-scroll
    XML-based GUI that allows full customization of the layout true theming!
    Settings are saved to the sdcard and persist through reboots
    Ability to choose which partitions to back up and which to restore
    Ability to choose to compress backups now with pigz (multi-core processor support for faster compression times)
    Onscreen keyboard
    Easy selection of internal/external storage

    In addition to the above new features, TWRP features a scripting engine that allows an app to send commands to the recovery for the recovery to perform during startup. We call this scripting engine OpenRecoveryScript. This engine will be put to use immediately in the GooManager app. GooManager will be able to install recoveries automatically for most supported devices. The app will also let you choose to install multiple zips from within Android, wipe, and run a backup.

    We are looking for other talented developers, themers, and device maintainers if they are interested in helping with a free, open source project.

    Source Code:

    GitHub - https://github.com/TeamWin/android_bootable_recovery

    Gerrit Instance - http://gerrit.twrp.me

    If you have made your own TWRP build for an unsupported device, please let us know. We might add your build to the list of unofficial builds. Bear in mind that we are working hard to add more devices and we may add your device to our official build list later.

    Hello, this is TWRP, for Redmi note 10 Pro Global/Indian/Indian Pro Max (sweet/sweetin)

    touch and adb work
    SD card and USB OTG are working
    Decryption is working

    Send me a beer: Crypto(Preferred) | PayPal

    Tree: https://github.com/TeamWin/android_device_xiaomi_sweet

    Telegram group: https://t.me/NSSFB

    Download: https://twrp.me/xiaomi/xiaomiredminote10pro.html
    22
    New build is up

    Fixed adb sideload
    Fixed fastbootd
    Fixed vibration
    Fixed decryption on stock while flashed
    13
    New build, decryption now works

    Problems as of now are:
    adb sideload
    fastbootd
    vibration

    7
    Official builds have started

    7
    New twrp for redmi note 10 pro is OUT now


    I prefer this version than the team win
    that's just mine, renamed and reuploaded...