[CLOSED][RECOVERY][UNOFFICIAL] TWRP-3.5.2-0 [surya][karna][10][11]

Status
Not open for further replies.
Search This thread

ocujos

Senior Member
Feb 21, 2010
1,626
785
Sydney
ASUS ZenFone 8 Flip
Google Pixel 6
To make it short : that's a wrong encryption in ArrowOS ! No rom developer use that (pixel, lineageos, miui ... etc) in any recent device !

Brigudav has made his own version of TWRP to support that error !

I'm telling you how the things should be done ... that's it. If you are happy with brigudav recovery, that's good for you !
Sounds like ArrowOS needs to fix their build, not the other way around.
 

gringo80

Account currently disabled
Jun 8, 2018
742
656
"code improved a lot : switch between custom roms is no longer an issue"

Sounds great. How does it work?
Some roms like pixel experience required to flash super.img/Stock MIUI before installing the rom ... also, switching from pixel to another rom required the same thing.

This is not needed anymore. You can flash any rom you want !
 

gringo80

Account currently disabled
Jun 8, 2018
742
656
Is mandatory to format your hd in order to flash an other rom? This is the main problem with this device.
HD ??? You mean the internal storage ?

It's mandatory because each OS has its own setting files in /data, build fingerprint and own encryption configuration (some without) ... So yeah it's the basic rule in android !

You should search in google to learn more about these stuff !
 

vwong

Senior Member
Oct 10, 2014
301
87
Big Update Highly Recommended

[OP]
Screenshot_2021-01-01-16-33-20[1].png


there is no option to flash system.img file. how to flash system.img (Gsi)..?

and can you explain miscellaneous and Custom options..?
 
Last edited:

gringo80

Account currently disabled
Jun 8, 2018
742
656
View attachment 5432695

there is no option to flash system.img file. how to flash system.img (Gsi)..?

and can you explain miscellaneous and Custom options..?
it looks like you never used fastbootd ...
reboot to fastboot and type :

fastboot reboot fastboot

There you are, you can erase & flash any partition ! (... but don't mess with persist)

Read OP again : fastbootd is for advanced users only !

For any other question : use Google !
 
Last edited:
  • Like
Reactions: gorillaz_gr

deathgaze2497

Senior Member
Apr 22, 2017
70
3
I'm using aicp ROM and even now and using this twrp I still can't decrypt data it dose not give me the option nor can I on latest orangefox or beta builds
 

deathgaze2497

Senior Member
Apr 22, 2017
70
3
Also if I boot into recovery and ya know don't decrypt my data well cause I can't but once I do boot to it can I still flash an aicp ROM update without decrypting my data directory will it be fine because the latest aicp should fix decryption thanks any help would be great
 
  • Like
Reactions: gringo80

Classic Nero

Senior Member
Sep 10, 2015
77
43
Ternate
Xiaomi Poco X3 NFC
it looks like you never used fastbootd ...
reboot to fastboot and type :

fastboot reboot fastboot

There you are, you can erase & flash any partition ! (... but don't mess with persist)

Read OP again : fastbootd is for advanced users only !

For any other question : use Google !
do you have a guide about fastbootd? I searched on google but couldn't find it.

I used the command "fastboot reboot fastboot" after that it said "entering fastboot" something like that, after that I don't know how to use it.
 

Smilex93

Senior Member
Jun 15, 2012
108
81
Anywhere in Germany
Does it support A12 encrpytion/decryption ?

I know i know you wrote it already with Android R (11)
I need only confirmation before i Test it myself and losing all Data again.

some twrp's Recovery have now Problems accesing Data Partition with A12 Roms and want to know somehow If it has to do with OSS encrpytion or something else
 

gringo80

Account currently disabled
Jun 8, 2018
742
656
Does it support A12 encrpytion/decryption ?

I know i know you wrote it already with Android R (11)
I need only confirmation before i Test it myself and losing all Data again.

some twrp's Recovery have now Problems accesing Data Partition with A12 Roms and want to know somehow If it has to do with OSS encrpytion or something else
As in the title ... it's for A11 !
I will make a beta release-test for A12 ... later !
 
  • Like
Reactions: predatorian
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 16
    TWRP.png



    Team Win Recovery Project [aka TWRP] is an open-source software custom recovery image for Android-based devices. It provides a touchscreen-enabled interface that allows users to install third-party firmware and back up the current system, functions often unsupported by stock recovery images. It is, therefore, often installed when rooting Android devices, although it isn't dependent on a device being rooted to be installed.





    ***




    Hi there,

    This is the unofficial build based on the official TWRP sources for the POCO X3 [NFC] !




    WHAT'S WORKING ? [Everything +++]

    - Backup/Restore
    - Encryption support : all A11 custom roms
    - adb sideload
    - fastbootd : for flashing GSI builds and other stuff ! (advanced users only ++++)
    - flashing special images
    - switch between custom roms without any issue
    - miscellaneous : OTG, brightness & vibration control



    INSTALLATION PROCEDURE [First Time]

    Required firmware version : [R][11] [Mandatory +++]

    For Android [Q][10], use the lower version [3.4.0-0]

    - Unlock your bootloader
    - Enable ADB from MIUI Settings > Developer options
    - Plug your USB cable to your Windows PC and type :

    adb reboot bootloader

    then :

    fastboot flash recovery <twrp-xxxx>.img

    fastboot reboot recovery


    . For MIUI users Only :


    After a long investigation, i find out that the command " fastboot boot <twrp-xxxx>.img " is no longer working in Android [11] to avoid overwriting TWRP by the Stock MIUI Recovery. Because the code to do this wicked job after every reboot is inside the stock "init" binary.

    So to finally stop this mess :

    (after doing)
    fastboot reboot recovery

    Flash Magisk (rename it to .zip) in TWRP menu ... This will overwrite the original "init" with the Magisk one ... That's All !

    This workaround should work for all devices with android 11 oem software pre-installed ! (tested on my oneplus 8 too)




    DATA BACKUP & RESTORE PROCEDURE

    - Create your backup in the internal storage, for faster process.

    - Transfer the created "TWRP" folder to your PC/Micro-SD/USB Stick ... for future use & emergency !

    - To restore "Data" again, just do the simple "wipe" before or restore on the fly !

    If you do "format", your encryption files will be lost and you can't restore your "data" again, unless you boot to the system then reboot to TWRP to do the simple wipe again and restore !




    TOOLS & GUIDES [must read +++]
    . TWRP Universal Script
    .
    Google Essential Pack
    . LOS 18.1 : SafetyNet Fix & Full System Optimization
    . GCam Fix : AOSP 11 / OSS 11
    .
    Scoped Storage Disabler [11]
    . Display Refresh Rate [60Hz]
    . Downgrade / Upgrade Android versions



    DOWNLOAD


    Here


    XDA : DevDB Information
    TWRP, Tool/Utility for the POCO X3 [NFC]

    Contributors

    gringo80


    Source Code 1 : https://github.com/TeamWin
    Source Code 2 : https://github.com/mauronofrio/android_device_xiaomi_surya


    Version Information

    Stable Release
    : 2021-11-24
    Initial Release : 2021-10-03
    10
    Reserved

    Update 2021-11-24 : Highly Recommended

    - fstab update
    - improve the overall stability
    - final update for both 10 & 11 builds

    Update 2021-10-15 :
    - fstab update : remove "wrappedkey" flag ... for maximum roms compatibility

    Update 2021-10-11 :
    - update fastbootd : now it's fully working as a stock recovery +++
    - make adb sideload working again ! (all credits ... to me)
    - code improved a lot : switch between custom roms is no longer an issue (i know ... i'm awesome :D)
    - ramdisk : use LZMA compression

    Update 2021-10-10 :
    - initial support for fastbootd
    - fix a regression in the previous builds, that caused sometimes, a TWRP bootloop
    - improve the overall stability +++

    Update 2021-10-09 :
    - general code cleanup
    - add special version for android 10 [3.4.0-0] (must read the guide - 1st post)

    Update 2021-10-08 :
    - fix the "internal storage" not being readable after formatting /data
    => please reboot TWRP again after formatting to transfer your files !
    - decrypter script : minor update
    - add time_daemon
    - improve : touchscreen, vibration & the overall performance

    Update 2021-10-06 :
    - split prop.default to show the true name of the device when connected : surya or karna
    - fstab : remove the duplicated string for super

    Update 2021-10-05 :
    - add vibration support
    - rework from scratch the decrypter script ... no more useless stuff
    - recompile recovery to (raw).img ... avoids the red splash warning (aka Soft Brick)

    Update 2021-10-04 :
    - use the official "prebuilt" xiaomi blobs (dtb, dtbo & kernel) for optimal performance and stability

    [What does it mean in english, please ?]
    Stock Recovery Core with TWRP UI !
    8
    Big Update

    [OP]
    4
    New Update
    [OP]
    4
    Do you know of any recovery that does? I've been looking for one, and niether TWRP nor OrangeFox seem to support decrypting OSS vendor ROMs.
    It doesn't decrypt ROMS with OSS vendor, such as ArrowOS
    OK guys & girls,

    Your ROM developer missed something very important in the fstab.qcom (userdata string) ... this flag : "wrappedkey".

    Without this, no recovery in the whole galaxy will be able to decrypt your data !

    Yes, you have a faulty build. I made for you (and him) the fix. So ask him to add it in the next build !
    You have to flash again your build followed with this fix, then format data is mandatory even if he put the fix after ... there is no other way !

    He should recognize this error ! (he should also be very careful and test his build before uploading)

    As you can see, with the fix, TWRP is able to decrypt /data partition again !

    Cheers

    ArrowOS.png



    TWRP 1.png



    TWRP 2.png