Team Win Recovery Project 3.x, or TWRP3 for short, is a custom recovery built with ease of use and customization in mind. Its 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.
Code:
#include <std_disclaimer.h>
/*
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
I’d recommend to read everything in this post, if you care about your phone.
If you already unlocked your bootloader, start with step 3.
First you need to unlock your bootloader. You can do so by enabling developer settings first, enable oem unlocking, then shut down your phone, hold volume up and down at the same time and while holding them plugin your charger. Your phone now should show a green screen with instructions to unlock the bootloader. Just follow them and after the unlocking your data should get wiped. After that your device will boot up and land in setup screen. Do not setup anything, just skip as much as possible, because your phone will get wiped again. Enable developer settings and make sure oem unlocking is greyed out and enabled. (If it does not show up, connect to a network first!)
Flash Galaxy A20e TWRP.tar via Odin or heimdall
Reboot into TWRP AS SOON AS THE FLASHING PROCESS IS DONE because otherwise TWRP will get replaced with the stock Android recovery
If you want to flash a GSI, skip to step 7
Factory reset in TWRP and reboot to stock
Wipe everything in TWRP excluding SD Card / USB OTG
Put a GSI image file onto an SD Card, alongside GSI_Fix_boot.zip and Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip
Flash the GSI image, flash Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip, flash GSI_Fix_boot.zip, wipe cache and reboot.
Enjoy
Current bugs
Encryption/Decryption on stock does not work, you cannot read the internal storage while using the stock firmware
ADB and USB connection / USB OTG does not work
Latest release: https://drive.google.com/file/d/1Nbrmn7BgA3BxA1bqnLXYMuCY4KjpR0Vn/view?usp=sharing
Social media
Twitter: https://twitter.com/xyn_dev
Telegram: https://t.me/xyn_dev
Reserved.
Wow finally... thx a lot for that
Xyn XDotnest said:
Reserved.
Click to expand...
Click to collapse
Great work
Can you now install GSIs
Make sure you backup boot, data, system before you start
physwizz said:
Great work
Can you now install GSIs
Make sure you backup boot, data, system before you start
Click to expand...
Click to collapse
Yep, GSIs work, I am currently using Descendant X on mine.
Xyn XDotnest said:
Yep, GSIs work, I am currently using Descendant X on mine.
Click to expand...
Click to collapse
Beautiful
I'm stuck at GSI (PixelExperience) installation. I've extracted the img file on sd card and the wizard is asking which partition should be used to flash image (boot,recovery,product image,system image,vendor image).
ZemoDroid said:
I'm stuck at GSI (PixelExperience) installation. I've extracted the img file on sd card and the wizard is asking which partition should be used to flash image (boot,recovery,product image,system image,vendor image).
Click to expand...
Click to collapse
System
A few Questions about the process
Xyn XDotnest said:
Team Win Recovery Project 3.x, or TWRP3 for short, is a custom recovery built with ease of use and customization in mind. Its 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.
Code:
#include <std_disclaimer.h>
/*
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
I’d recommend to read everything in this post, if you care about your phone.
If you already unlocked your bootloader, start with step 3.
First you need to unlock your bootloader. You can do so by enabling developer settings first, enable oem unlocking, then shut down your phone, hold volume up and down at the same time and while holding them plugin your charger. Your phone now should show a green screen with instructions to unlock the bootloader. Just follow them and after the unlocking your data should get wiped. After that your device will boot up and land in setup screen. Do not setup anything, just skip as much as possible, because your phone will get wiped again. Enable developer settings and make sure oem unlocking is greyed out and enabled. (If it does not show up, connect to a network first!)
Flash Galaxy A20e TWRP.tar via Odin or heimdall
Reboot into TWRP AS SOON AS THE FLASHING PROCESS IS DONE because otherwise TWRP will get replaced with the stock Android recovery
If you want to flash a GSI, skip to step 7
Factory reset in TWRP and reboot to stock
Wipe everything in TWRP excluding SD Card / USB OTG
Put a GSI image file onto an SD Card, alongside GSI_Fix_boot.zip and Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip
Flash the GSI image, flash Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip, flash GSI_Fix_boot.zip, wipe cache and reboot.
Enjoy
Current bugs
Encryption/Decryption on stock does not work, you cannot read the internal storage while using the stock firmware
ADB and USB connection / USB OTG does not work
Latest release: https://drive.google.com/file/d/1Nbrmn7BgA3BxA1bqnLXYMuCY4KjpR0Vn/view?usp=sharing
Social media
Twitter: https://twitter.com/xdotnest
Telegram: https://t.me/dotnest
Click to expand...
Click to collapse
,
Hey thanks for this, I´ve got a few questions about the process that might also help others.
Do you recommend this method of rooting still over the new method using Magisk?
Do we still need to wipe everything in TWRP after first boot? And what specifically steps should we take to wipe?
Can you recommend any specific GSI images that are known to boot on the A20e (A202F) because so far I've tried LineageOS 17.1 / AOSP system -quack-arm64-ab-gapps.img and system -quack-arm64-ab-vanilla.img / Crdroid and nothing gets past the loading icon.
Do we still need to flash Disable_Verity_ForceEncrypt and GSI_Fix_boot.zip if not installing a GSI ?
a few notes
for anyone else. It helps if you boot into the rom and install magisk manager via APK (recent version is fine) before installing it via TWRP. After I did that rooting worked properly.
Lost ADB for some reason though, might be unrelated.
I also think that the a20e (SM-a202f) is an A device and not an A/B partition device at least according to treble check app.
ADB and USB connection / USB OTG does not work
Click to expand...
Click to collapse
oh.....right. that stinks
moogle said:
,
Hey thanks for this, I´ve got a few questions about the process that might also help others.
Do you recommend this method of rooting still over the new method using Magisk?
Do we still need to wipe everything in TWRP after first boot? And what specifically steps should we take to wipe?
Can you recommend any specific GSI images that are known to boot on the A20e (A202F) because so far I've tried LineageOS 17.1 / AOSP system -quack-arm64-ab-gapps.img and system -quack-arm64-ab-vanilla.img / Crdroid and nothing gets past the loading icon.
Do we still need to flash Disable_Verity_ForceEncrypt and GSI_Fix_boot.zip if not installing a GSI ?
Click to expand...
Click to collapse
1. This method does use Magisk
The tar file contains boot.img patched with Magisk
It also contains recovery.img and vbmeta.img
2. The boot.img is from Android 10 firmware so you need to upgrade to Q first.
3 there is a step missing in the instructions
It should say
6. Reboot the A20e into TWRP and mount everything you can.
Click Wipe then Format Data (not just wipe) - don't restart
Flash Disable_Dm-Verity_ForceEncrypt
Reboot to recovery and wipe both caches
Reboot system .
Click to expand...
Click to collapse
You can then backup boot, data and system for stock.
You can then install GSIs
I'm having some major problems with sd cards not being recognized by google play store as external storage and whatsapp unable to download images. any idea what it might be?
moogle said:
I'm having some major problems with sd cards not being recognized by google play store as external storage and whatsapp unable to download images. any idea what it might be?
Click to expand...
Click to collapse
What OS are you running?
physwizz said:
What OS are you running?
Click to expand...
Click to collapse
Just the stock android 10, I didn't find a GSI that worked for me.
moogle said:
Just the stock android 10, I didn't find a GSI that worked for me.
Click to expand...
Click to collapse
try Crdroid
physwizz said:
try Crdroid
Click to expand...
Click to collapse
Already have, and LOS 17.1 and AOSP system-quack-arm64-ab-vanilla
all of them got stuck at boot icon for an hour. Thats why I went back to stock.
I'm more interested in why I cannot seem to install discord or firefox from the app store, or whatsapp cannot download images.
moogle said:
Already have, and LOS 17.1 and AOSP system-quack-arm64-ab-vanilla
all of them got stuck at boot icon for an hour. Thats why I went back to stock.
I'm more interested in why I cannot seem to install discord or firefox from the app store, or whatsapp cannot download images.
Click to expand...
Click to collapse
Go into magisk and hide any apps that misbehave
physwizz said:
Go into magisk and hide any apps that misbehave
Click to expand...
Click to collapse
Tried it, no change, there's no apps misbehaving, just strange sd storage card behaviour
Is the SM-A202F/DS supported by these methods, I noticed in some other threads it wasn't working back in March, that's the unit I have.
moogle said:
Tried it, no change, there's no apps misbehaving, just strange sd storage card behaviour
Is the SM-A202F/DS supported by these methods, I noticed in some other threads it wasn't working back in March, that's the unit I have.
Click to expand...
Click to collapse
There is a fix here
https://forum.xda-developers.com/showpost.php?p=80184282&postcount=2
physwizz said:
There is a fix here
https://forum.xda-developers.com/showpost.php?p=80184282&postcount=2
Click to expand...
Click to collapse
Which part are you referring to in that thread?
Related
Team Win Recovery Project 3.x, or TWRP3 for short, is a custom recovery built with ease of use and customization in mind. Its 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.
HTML:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this recovery
* before flashing it! YOU are choosing to make these modifications, and if
* y
Let’s start with the installation process
First you need to unlock your bootloader. You can do so by enabling developer settings first, enable oem unlocking, then shut down your phone, hold volume up and down at the same time and while holding them plugin your charger. Your phone now should show a green screen with instructions to unlock the bootloader. Just follow them and after the unlocking your data should get wiped. After that your device will boot up and land in setup screen. Do not setup anything, just skip as much as possible, because your phone will get wiped again. Enable developer settings and make sure oem unlocking is greyed out and enabled. (If it does not show up, connect to a network first!)
Now you need to overwrite vbmeta partition, so you can flash third party partitions. Download vbmeta_disabled.tar then go into download mode on your device. Put vbmeta_disabled.tar to userdata in Odin, click start. This should finish pretty quickly, so pay attention when your device reboots, because you need to boot into recovery (Hold power and volume up after the screen turns black). When booted into recovery, wipe your data and reboot normally into system. Now you can setup your phone as usual and make sure oem unlocking is still greyed out and enabled!
Time to flash recovery. Download (link is at the end of this post). . In Odin put the tar file in AP and simply hit start. Congrats you now have TWRP installed!
BOOT TO TWRP RECOVERY AND MAKE FORMAT DATA AND WIPE SYSTEM
Developers specific details
Sources
https://github.com/blacktox/r1q
https://github.com/Grarak/android_bootable_recovery-1
vbmeta_disabled
https://drive.google.com/file/d/1_Ws71h--Z7YBGfllsbt8qlJElXRxTB1p/view?usp=sharing
twrp based on A805FXXU4BTC3 so you must on firmware binary 4
https://drive.google.com/file/d/1FkYQY_O7daPFX6lWt66Bn-aXadRrDWez/view?usp=sharing
XDA:DevDB Information
twrp galaxy a80, Tool/Utility for the Samsung Galaxy A80
Contributors
blackbuga
Version Information
Status: Testing
Created 2019-11-09
Last Updated 2020-07-03
Awesome! Where do I get the vbmeta.tar file?
Nazato said:
Awesome! Where do I get the vbmeta.tar file?
Click to expand...
Click to collapse
https://github.com/Grarak/android_device_samsung_a70q-twrp/releases/download/3.3.1-3/vbmeta.tar
Sent from my SM-A805F using XDA-Developers Legacy app
blackbuga said:
https://github.com/Grarak/android_device_samsung_a70q-twrp/releases/download/3.3.1-3/vbmeta.tar
Sent from my SM-A805F using XDA-Developers Legacy app
Click to expand...
Click to collapse
Just got it to boot and the touchscreen is unresponsive. Quite a bummer since twrp is the only way to root as far as I've concluded :crying:
Nazato said:
Just got it to boot and the touchscreen is unresponsive. Quite a bummer since twrp is the only way to root as far as I've concluded :crying:
Click to expand...
Click to collapse
Rename it to recovery.img then compress to tar file and flash it
Fixed touchscreen
When reboot twrp flash again this img as image in boot to complete rooting
https://www.mediafire.com/file/ccix57wmz61crzd/magisk_patched.img/file
Sent from my SM-A805F using XDA-Developers Legacy app
blackbuga said:
Rename it to recovery.img then compress to tar file and flash it
Fixed touchscreen
When reboot twrp flash again this img as image in boot to complete rooting
https://www.mediafire.com/file/ccix57wmz61crzd/magisk_patched.img/file
Sent from my SM-A805F using XDA-Developers Legacy app
Click to expand...
Click to collapse
I followed your steps to no avail. First try, twrp didn't even boot up completely as it was stuck in the twrp logo screen. My second attempt was wiping data first using the stock recovery, then flashing twrp. Twrp booted up and I was happy as heck, but the touchscreen was unresponsive. I've completely set up my phone again after giving up. I wouldn't mind losing all my data again just to gain root, but I don't want to lose it for nothing
Now it just doesn't load further than the logo! !(
UPLOAD NEW BUILD
FIX TOUCHSCREEN
https://github.com/blacktox/r1q/releases/download/TWRP/recovery.img
blackbuga said:
UPLOAD NEW BUILD
FIX TOUCHSCREEN
https://github.com/blacktox/r1q/releases/download/TWRP/recovery.img
Click to expand...
Click to collapse
Thanks for fixing the issues! Bummer that I can't root. It's just stuck on bootloop with the Samsung splash image.
You must as sg7 firmware
Then flash twrp recovery
Open magisk manager and patch this recovery.img
And reboot to twrp instal image seltect magisk patched and flash it at boot
Wipe all and reboot
Now you have twrp and rooted
For patching recovery with magisk use this custom source
https://github.com/blacktox/work/blob/master/ianmacd.json
For patching with magisk 19.4
Sent from my SM-A805F using Tapatalk
blackbuga said:
You must as sg7 firmware
Then flash twrp recovery
Open magisk manager and patch this recovery.img
And reboot to twrp instal image seltect magisk patched and flash it at boot
Wipe all and reboot
Now you have twrp and rooted
For patching recovery with magisk use this custom source
https://github.com/blacktox/work/blob/master/ianmacd.json
For patching with magisk 19.4
Sent from my SM-A805F using Tapatalk
Click to expand...
Click to collapse
Thanks, man! This finally worked. Any way I can donate to you or something like buy you a beer or what
Is anything working? Decryption? Back-up? Restore?
I have saw the a70 page and it included many custom roms. Is it easy to port it over to the a80? I really want lineage os on my phone. Thanks
(I have an SM-A8050)
@blackbuga ; how about detail explaining about sg7 firmware how can we get it? what about give us step by step way of unlocking until flash twrp within provided link donwload files we needed, & last could u gv us stock recovery img for emergency used while we faced some trouble like bootloop or something else we dont expected. so we dont needed to flash whole firmware stock & make us felt safety & shortcut the time of we got trouble. thx for great works
Hello blackbuga,
I recently installed your unofficial TWRP-build for the A80.
I want to let you know that it is impossible to flash ROMs successfully. I am a TouchWiz developer since 2016 and I wanted to continue with OneUI.
So, I was porting the A71 firmware, but it didn't let me install the zip. It ended with the Error 7.
Here's a part of the log:
" -- Setting ROM Permissions
ApplyParsedPerms: removexattr of /system/system/usr/srec/en-US/wordlist.syms to 0 failed: Operation not supported on transport endpoint
ApplyParsedPerms: removexattr of /system/system/usr/srec/en-US/wordlist.syms to 0 failed: Operation not supported on transport endpoint
script aborted: set_metadata_recursive: some changes failed
set_metadata_recursive: some changes failed
Updater process ended with ERROR: 7 "
It seems like it's a problem of the recovery. I hope to get an answer from you.
Greetings
Soon i realase new build recovery
Im waiting samsung realase new source s4 or u4
blackbuga said:
Soon i realase new build recovery
Im waiting samsung realase new source s4 or u4
Click to expand...
Click to collapse
Will this solve the above mentioned problem, or don't you know what the problem might be?
n0tavailable said:
Will this solve the above mentioned problem, or don't you know what the problem might be?
Click to expand...
Click to collapse
probelme related to your port not from recovery
edit the permission
Is it possible to installieren android 10 GSI i allways in bootloop and restart in recovery
Nazato said:
Thanks, man! This finally worked. Any way I can donate to you or something like buy you a beer or what
Click to expand...
Click to collapse
Bro @Nazato, could you write steps by steps to root A80 please...
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its 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.
Code:
Code:
/*
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
Features:
- Decryption work
- Otg work
-Vibrator
- Zip Flash
- Mtp/adb
- F2FS support
- Fastbootd
- Adb sideload
- Backup restore and images flash
Not working:
-Tell me
INSTALLATION:
1. Download the TWRP image file to your PC.
2. Put your device into fastboot.
3. Type the following command to flash the recovery:-
Code:
fastboot flash recovery "name_of_recovery.img"
4. On installation of TWRP , to boot the recovery do:-
Code:
fastboot boot "name_of_recovery.img"
The device will automatically reboot into TWRP.
5-A. You are using Xiaomi.eu Miui or custom Rom?
You can enjoy with a functional Data Decrypt
5-B You are using Miui EEA - Global -Cn or any custom rom that doesn't ship custom vbmeta.
6. Download this zip, copy by pc or using otg and flash this zip that will prevent twrp replacing.7. Download VbMeta and flash by fastboot
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img"
7. Reboot into twrp (Take longer Time)
Code:
fastboot boot "name_of_recovery.img"
8. Format Data and Reboot
NOTES:
By Command fastboot boot, recovery will decrypt everytimes you need, also with Global Rom and without patched vbmeta.
Download:
TWRP
VbMeta
(Version tag will follow vendor, a lower version tag than your vendor does not mean that recovery will not work)
Kernel Source: HERE
Donation:
PayPal: paypal.me/manuelbiancodev
Telegram Group: @MBsRoom
One user reported that MTP doesn't work after formatting data, and reboot back to recovery also doesn't make it work again.
Personally I haven't tried it, but the mentioned issue is kinda similar to the last build of mauro's twrp for the phone, so just want to let you know and hope someone else can confirm.
I didn't find how to decrypt data using schema.
huyhung411991 said:
One user reported that MTP doesn't work after formatting data, and reboot back to recovery also doesn't make it work again.
Personally I haven't tried it, but the mentioned issue is kinda similar to the last build of mauro's twrp for the phone, so just want to let you know and hope someone else can confirm.
Click to expand...
Click to collapse
doesn't work after formatting data
zeduck said:
I didn't find how to decrypt data using schema.
Click to expand...
Click to collapse
there are problem to decrypt with 12.2.4 such as umi have to fastboot boot the recovery to decrypt
Thank you.
thought id give it a try...formatting data does indeed make the sdcard inaccessible via mtp; seems the necessary directories isnt created after formatting. if you have a rom installed, you will need to boot back into the rom then reboot to twrp which will now be mtp accessible. tested only on crdroid.
edit: managed to get mtp to work after formatting. after format data reboot to system but on the poco bootscreen, hold down vol up and power key to re-enter twrp, mtp then seems to work
New instructions for eea and global user, post updated.
Decryption works for both PIN and Pattern on EU weekly beta.
PIN didn't work with TWRP3.4.2b but now it is OK with your TWRP. Thank you!
okay.. finally can use my pin again..
cant mount /vendor /product /ODM
With this recovery we don't need anymore to format internal storage every time we change rom?
Redmi K30 Pro Zoom Edition: longer boot into recovery, than LR.Team's TWRP, but PIN decryption works (on mine it worked with LR.Team's too, but I had to cancel password input).
cerealguy said:
With this recovery we don't need anymore to format internal storage every time we change rom?
Click to expand...
Click to collapse
This is rom dependant, if you flash stock global or eaa for example, Yes is needed
New Release!
-Merged 3.5.1 teamwin recovery changes
-Cleaned and ordered twrp flags
-Support to system_ext ro mount
-Improvements into usb managing
manuelbianco said:
New Release!
-Merged 3.5.1 teamwin recovery changes
-Cleaned and ordered twrp flags
-Support to system_ext ro mount
-Improvements into usb managing
Click to expand...
Click to collapse
Touchscreen not working on this version.
karnasw said:
Touchscreen not working on this version.
Click to expand...
Click to collapse
Maybe you clicked into download latest but so dowloaded umi version download this https://sourceforge.net/projects/mbroms/files/TWRPLMI/MBTWRP_08-03-2021.img/download
manuelbianco said:
New Release!
-Merged 3.5.1 teamwin recovery changes
-Cleaned and ordered twrp flags
-Support to system_ext ro mount
-Improvements into usb managing
Click to expand...
Click to collapse
All fine on my Poco F2 Pro. Touchscreen works.
manuelbianco said:
Maybe you clicked into download latest but so dowloaded umi version download this https://sourceforge.net/projects/mbroms/files/TWRPLMI/MBTWRP_08-03-2021.img/download
Click to expand...
Click to collapse
You're right. I downloaded latest not LMI. My bad, sorry.
Do I have to do something special to backup and restore? I want to try some roms but I hate having to config back everything after rollback to the previous ROM.
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its 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.
Code:
#include <std_disclaimer.h>
/*
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
BUG :
OTG
Lemme know
Install guide:
Boot :
Code:
fastboot boot <twrp.img>
Download: here
Contributors
imjyotiraditya
Thx to jjjhitel for his EROFS patch
Source Code: https://github.com/TeamWin/android_bootable_recovery
https://github.com/imjyotiraditya/device_xiaomi_odin-twrp
thanks and reserved
thanks and reserved
treid it this morning, and it looks and feels great so far.. no errors.
Would it be possible for somebody to post a guide for this, never installed it before?
jrvenge said:
Would it be possible for somebody to post a guide for this, never installed it before?
Click to expand...
Click to collapse
I'm not entirely sure what you mean tbh. Would you mind to explain?
imjyotiraditya said:
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its 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.
Code:
#include <std_disclaimer.h>
/*
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
BUG :
OTG
Lemme know
Install guide:
Boot :
Code:
fastboot boot <twrp.img>
Download: here
Contributors
imjyotiraditya
Thx to jjjhitel for his EROFS patch
Source Code: https://github.com/TeamWin/android_bootable_recovery
https://github.com/imjyotiraditya/device_xiaomi_odin-twrp
Click to expand...
Click to collapse
Hey, i wanted to report a bug...
After i installed twrp permanently by advanced settings, i lost the touchscreen, after i rebooted into recovery.
SanHelios said:
Hey, i wanted to report a bug...
After i installed twrp permanently by advanced settings, i lost the touchscreen, after i rebooted into recovery.
Click to expand...
Click to collapse
how did u recover sir ? flashed original boot.img?
jrvenge said:
Would it be possible for somebody to post a guide for this, never installed it before?
Click to expand...
Click to collapse
as of now, no use of flashing twrp as there are no proper custom rom, but inorder to put this ur phone should be unlocked, to do that follow this guide https://forum.xda-developers.com/t/...to-eu-rom-and-root-guide-with-magisk.4338671/
vamsi209 said:
how did u recover sir ? flashed original boot.img?
Click to expand...
Click to collapse
Kinda... i booted the twrp-recovery bootimage by using
fastboot boot twrp.img
that brought me back to twrp and restored touchscreen-control. In twrp i formatted the device and completely wiped all partitions, so i would have a clean install. After all that was done i returned to bootloader and used the fastboot-image to clean-flash everything. I wanted to do this anyways, so no biggy.
It's still okay to use it, but installing it on the device as permanent recovery doesn't work as long as the touchscreen doesn't work at all.. but when this is fixed, go for it.
already did all of it...
vamsi209 said:
as of now, no use of flashing twrp as there are no proper custom rom, but inorder to put this ur phone should be unlocked, to do that follow this guide https://forum.xda-developers.com/t/...to-eu-rom-and-root-guide-with-magisk.4338671/
Click to expand...
Click to collapse
already did all of it...
SanHelios said:
Hey, i wanted to report a bug...
After i installed twrp permanently by advanced settings, i lost the touchscreen, after i rebooted into recovery.
Click to expand...
Click to collapse
Fixed!
Thanks for reporting..
vamsi209 said:
as of now, no use of flashing twrp as there are no proper custom rom, but inorder to put this ur phone should be unlocked, to do that follow this guide https://forum.xda-developers.com/t/...to-eu-rom-and-root-guide-with-magisk.4338671/
Click to expand...
Click to collapse
Phone is already unlocked as im running 21.9.28 lol
jrvenge said:
Phone is already unlocked as im running 21.9.28 lol
Click to expand...
Click to collapse
to just run this twrp, u can boot your device to bootloader, open terminal or powershell, and use command
fastboot boot twrp*.img
this will boot your twrp recovery,
as mentioned by @SanHelios there seems to be a small bug when u r flashing it permanently as recovery,
and the dev already got a fix for the same, he will mostly update the links tomorrow, i tested and it was working,
this is the file he provided, link, @SanHelios test this mate
download the above file,
use fastboot boot twrp*.img, and go to advance, and click on flash current twrp,
it will patch your boot.img file and flash the patched boot.img with twrp recovery
use volume up and power button combo to boot into twrp
imjyotiraditya said:
Fixed!
Thanks for reporting..
Click to expand...
Click to collapse
Thx for your awesome work, man..
I still dont get what it actually does lol
jrvenge said:
I still dont get what it actually does lol
Click to expand...
Click to collapse
You mean, the general function of TWRP?
yes
jrvenge said:
yes
Click to expand...
Click to collapse
TWRP is a well-rounded recovery for android-devices. There's a lot it can do, but basicly, you use it to flash/install software or images on your device. If there is a custom rom you wanna use, you flash it via TWRP, since the stock roms-recoveries only flash/install their associated roms. Apart from that, you can wipe or format your device, so it will be "clean" if you want to make a fresh installation.
In the past it was simple to install it, because devices were mostly A-only devices with a dedicated "recovery"-partition. To install it, the most common way was
- Boot into Fastboot mode, connect android via USB
- open computer CLI/Shell-window
- "fastboot flash recovery twrp.img" - Enter
The Mi Mix 4 is an A/B-Device, which means that the vital partitions are doubled and there's no "recovery"-partition anymore, since all recovery-functions are parked in a different partition. TWRP offers the ability to install itsself according to the A/B-Partitions-scheme and therefore becoming the new System-Recovery. Here the installation-steps are different.
- Boot into Fastboot mode, connect android via USB
- open computer CLI/shell-Windows
- "fastboot boot twrp.img" - Enter <- Starts the system using the image
- Touch Advanced
- Touch "Flash Current TWRP"
If a custom rom ever becomes available, there's certain routine you want to do...
backup vital information and files
format device
wipe all partitions
flash Firmware required
flash rom
flash Google Apps i.e. Open Gapps Project or NikGapps if available and desired
wipe dalvik-cache/cache/data
Enjoy
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its 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.
#include <std_disclaimer.h>
/*
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM/Recovery
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
Working Features:
- Decryption Works
- Backup works
- Wipes Work
- MTP
- ADB
- OTG
- RUI 2 ozip Flashing
- RUI 1 ozip flashing
Not Working:
- No f2fs support yet
- Not tested on CN variants (Can't confirm working status)
Flashing Guide:
Patched VBMETA is must to boot a twrp , so flash the below image to successfully boot this recovery and make it available even after booting back to RealmeUI.
Download Links:
TWRP Download Link
VBMETA Link
To flash TWRP:
fastboot flash recovery twrp-3.6-RUI2-RMX1931-final.img
Flash the VBMETA using below commands
fastboot --disable-verity --disable-verification flash vbmeta vbmeta_path.img
ADB and Fastboot Drivers:
ADB and Fastboot Installer
Source code:
https://github.com/TeamWin/android_bootable_recovery
https://github.com/arnodorian-r/recovery_realme_RMX1931
https://github.com/arnodorian-r/kernel_realme_sm8150
Credits:
Thanks to @mrtechnophile2.0 , Roy for the testing
Thanks @pjgowtham @XiaoAk for guiding me
The best thing ever happened for realme ui 2. Great work mate..!
Finally, a proper working Recovery for our device
Wow...Finally Working TWRP for RMX1931 on RUI2.
Thanks alot bro.
Can I flash this, when I'm on Lineage-18.1?
zheka99 said:
Can I flash this, when I'm on Lineage-18.1
Click to expand...
Click to collapse
Technically its possible...but you should do it after roms released based on rui2 firmware. If not , you will endup with broken OS. For now dont flash custom roms with this recovery.
can i flash magysk to optine root, wich version?
Isavar said:
can i flash magysk to optine root, wich version?
Click to expand...
Click to collapse
Magisk-92546e8a(23016) from CANARY all Ok!
Sorry for my English. And thank you very much for your work. I have the mobile with the latest version of rui2 and with root done following this guide:
https://forum.xda-developers.com/t/...fix-rui-2-0-android-11-global-indian.4371041/ When I went to install twrp, the mobile only started in twrp , and I had to reinstall everything. I used realme flashtool and refollowed the guide to get me back up and running properly. What could have happened?
Leozgz85 said:
Sorry for my English. And thank you very much for your work. I have the mobile with the latest version of rui2 and with root done following this guide:
https://forum.xda-developers.com/t/...fix-rui-2-0-android-11-global-indian.4371041/ When I went to install twrp, the mobile only started in twrp , and I had to reinstall everything. I used realme flashtool and refollowed the guide to get me back up and running properly. What could have happened?
Click to expand...
Click to collapse
Hi
was the same for me, had to reinstall everything, only started in TWRP. Would like to install the recovery but I don't feel like this error anymore.
Thanks. It's working.
Doesnt work for me, i cant boot to realme ui after flashing the vbmeta, i got stuck on recovery. (f.14)
This recovery is broken for me, it gives me no space left on sdcard even after a full data reformat, ozip extraction stops after 500mb.
It's just not working as it should 3.4 works best
arnodorian-r said:
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its 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.
#include <std_disclaimer.h>
/*
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM/Recovery
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
Working Features:
- Decryption Works
- Backup works
- Wipes Work
- MTP
- ADB
- OTG
- RUI 2 ozip Flashing
- RUI 1 ozip flashing
Not Working:
- No f2fs support yet
- Not tested on CN variants (Can't confirm working status)
Flashing Guide:
Patched VBMETA is must to boot a twrp , so flash the below image to successfully boot this recovery and make it available even after booting back to RealmeUI.
Download Links:
TWRP Download Link
VBMETA Link
To flash TWRP:
fastboot flash recovery twrp-3.6-RUI2-RMX1931-final.img
Flash the VBMETA using below commands
fastboot --disable-verity --disable-verification flash vbmeta vbmeta_path.img
ADB and Fastboot Drivers:
ADB and Fastboot Installer
Source code:
https://github.com/TeamWin/android_bootable_recovery
https://github.com/arnodorian-r/recovery_realme_RMX1931
https://github.com/arnodorian-r/kernel_realme_sm8150
Credits:
Thanks to @mrtechnophile2.0 , Roy for the testing
Thanks @pjgowtham @XiaoAk for guiding me
Click to expand...
Click to collapse
I followed this guide and many others in the past 48 hours, with no success. Every time I flash TWRP and the VBMETA, I get stuck in TWRP bootloop.
I started unblocking the bootloader, rolling back to RUI1 - Android 9 and using the Deep-Test App.
After the roll back, I got the phone unblocked right, but then first soft-brick, with only bootloader available and no way to flash a working ROM. After some searches, I've finally managed to unbrick, using OPPO flash tool, and installing stock rom RMX1931_11_F.14_2021102817443142.
This gives me a working phone, RUI.2 - Android 11. Standard recovery.
I tried to flash TWRP and got the phone soft bricked again, in TWRP recovery bootloop.
I'd like to install TWRP and from there going to OrangeFox and finally install Lineage 19.1...
How can i first have a working TWRP recovery??? If you can support also following steps, would be amazing. Thank you!!!
I went few step further... but still I am not able to install a working custom recovery for my realme X2 pro.
I have now also rooted my device with magisk.
I just need a custom recovery to perform 2 actions:
- make a NANDroid backup;
- install a custom ROM.
Any advice? Thank you for your time!
Installed. Working like a charm with lineage 19.1. Only problem: can't access files in storage. Digging into the matter, it seems to be an issue with android 12's new encryption method, which can't be overriden by this version of the recovery. There's a brand new TWRP 3.7.0_9.0 in the official TWRP website which boasts to overcome this problem but, whenever I try to install it (with or without the vbmeta.img provided for version 3.6.0_11), the recovery won't start. Guess a new vbmeta.img is needed as everything goes ok reinstalling TWRP 3.6.0_11 and its corresponding vbmeta. Tried to extract and install vbmeta.img from the lineage zip file without success. Shall we have to patch vbmeta.img? How can we do that? Through Magisk? I've come across some "vbmeta patcher" apk... Am I pointing the right way?
can any one help me to unlock bootloader in realme x2 pro . i am on RUI 10 . i installed in depth tool it said seccesful but no bootloader just keep rebooting and showing fast boot for a moment .. help please i search every where for fix but no way to yet
I'm using the CN variant device, which I understand does not yet have confirmed support, nonetheless sharing the error I'm encountering in case it's a simple or obvious fix I'm missing.
Having followed all above steps, I'm able to flash and get into TWRP recovery, but decryption always failed (even after a dozen tries) with the following:
"Attempting to decrypt FBE for user 0...
Failed to decrypt user 0"
Much obliged for any insight on this. I'm attempting to get back on OF after successfully installing Lineage 19.1, which broke the OF recovery, and since OF needs to be installed as a ZIP, I need to get some version of TWRP working as an intermediary. Specifically this is because I didn't install GAPPS along with Lineage 19.1 (I misread the opening post, which seemed to imply that GAPPS was included in that particular ROM). So alternatively, if there's another way to get GAPPS onto the device without recovery (sideload won't work since I can't decrypt...) then that would be helpful too.
Thanks in advance for any insight on this!
TWRP FOR THE A52 5G! (With issues)
Help needed!
Are you someone that has ported TWRP before without any issues?
Or are you someone that knows how to fix any problem that has been listed in the 'Additional Notes' section?
PM me. We can work together to fix the issue(s)
Note
Code:
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about doing this to your device
* YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
Additional Notes
Code:
THIS RECOVERY IS NOT FULLY TESTED!
There are atleast these issues:
1. MTP Does NOT work. (Not with computer or with OTG)
2. NO access to your SD cards
3. Incorrect resolution (TWRP is 1080x1920, phone is 1080x2400)
4. Temperature sensor doesn't work.
THERE MIGHT BE MORE ISSUES I DO NOT KNOW OF! FLASH AT YOUR OWN RISK.
How to install?
First of all you need an unlocked BL. This is extremely easy to do and there are a lot of guide online.
Download recovery.tar (TWRP) from this post.
Select the AP slot in Odin
Disable auto reboot in Odin
Flash
Credits
TeamWin Recovery Project
Source code:
Minimal TWRP AOSP: https://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp
Device Tree for the a52 5g: Can't upload because of 25mb+ kernel file. Will make a custom kernel soon
Thank you so much for your work on TWRP. Waited for it a year
GiulianoB said:
Thank you so much for your work on TWRP. Waited for it a year
Click to expand...
Click to collapse
No problem.
Hi,
Firstly, thanks for doing this!
Secondly, I've been trying to flash a zip (BluetoothLibraryPatcher) but I cannot find a way to get TWRP to read a zip file. Things I've tried:
From the device itself: The data partition is encrypted. twrp decrypt (in the TWRP terminal) says "No crypto support was compiled into this build".
From ADB Sideload: It gets stuck on "Starting ADB sideload feature..." for 5 minutes, then fails.
From MTP/USB OTG: As you say in your post, neither MTP from PC nor from a USB flash drive works.
Would you have any idea of how I can get TWRP to read a zip file to install?
Thanks!
ByteSizedBit said:
Hi,
Firstly, thanks for doing this!
Secondly, I've been trying to flash a zip (BluetoothLibraryPatcher) but I cannot find a way to get TWRP to read a zip file. Things I've tried:
From the device itself: The data partition is encrypted. twrp decrypt (in the TWRP terminal) says "No crypto support was compiled into this build".
From ADB Sideload: It gets stuck on "Starting ADB sideload feature..." for 5 minutes, then fails.
From MTP/USB OTG: As you say in your post, neither MTP from PC nor from a USB flash drive works.
Would you have any idea of how I can get TWRP to read a zip file to install?
Thanks!
Click to expand...
Click to collapse
Hey, you can use commands by just being on the home screen of TWRP. ADB push <file location and name> /sdcard
ByteSizedBit said:
Hi,
Firstly, thanks for doing this!
Secondly, I've been trying to flash a zip (BluetoothLibraryPatcher) but I cannot find a way to get TWRP to read a zip file. Things I've tried:
From the device itself: The data partition is encrypted. twrp decrypt (in the TWRP terminal) says "No crypto support was compiled into this build".
From ADB Sideload: It gets stuck on "Starting ADB sideload feature..." for 5 minutes, then fails.
From MTP/USB OTG: As you say in your post, neither MTP from PC nor from a USB flash drive works.
Would you have any idea of how I can get TWRP to read a zip file to install?
Thanks!
Click to expand...
Click to collapse
Btw, afaik the encryption problem isn't something I can remove.
This is fantastic to see! Nice work.
Have you tried any custom ROMs with this? Do any of the current custom ROMs (like Lineage OS) support A52 5G, or are we still a far way away from that?
biscuitpants said:
This is fantastic to see! Nice work.
Have you tried any custom ROMs with this? Do any of the current custom ROMs (like Lineage OS) support A52 5G, or are we still a far way away from that?
Click to expand...
Click to collapse
Hey. I've not started a custom ROM yet. I've been busy with school mostly. I will probably start developing Lineage OS as the first custom rom.
Things405 said:
Hey. I've not started a custom ROM yet. I've been busy with school mostly. I will probably start developing Lineage OS as the first custom rom.
Click to expand...
Click to collapse
Good luck and thanks again for your effort
Hey! I found this on GitHub and I was wondering if it's you. Your post is still saying "Will upload in a minute". Thanks!
MeowNyaaa said:
Hey! I found this on GitHub and I was wondering if it's you. Your post is still saying "Will upload in a minute". Thanks!
Click to expand...
Click to collapse
Yep thats me. I can't upload a kernel file on github as its 25mb+ So the device tree won't be complete without it. I'll change the post.
Things405 said:
Yep thats me. I can't upload a kernel file on github as its 25mb+ So the device tree won't be complete without it. I'll change the post.
Click to expand...
Click to collapse
I recommend using Git LFS for that, more info about it here: https://git-lfs.github.com/
I created a device tree myself long time ago as well, was just missing the kernel
I may sell my U1 for the Dual Sim model so I can root. I need parts of this lol
Any progress?
I just can't wait for LineageOS
@Things405 I have GitHub pro if you want someone to host the device tree on there... I'm on https://github.com/SImPilotAdamT/
Also by A52 5G do you mean the A526B?
Also for some reason I can't unlock the bootloader in my device... I have the A526B international model. https://forum.xda-developers.com/t/unable-to-unlock-the-bootloader-a52-5g-sm-a526b.4476861/
TWRP 3.7.0 is out with the support for decryption on Android 12 to be able to backup firmware. Pls update, thx
I'm sorry to have left you guys hanging! I've been too busy with personal stuff but I will get back on this as soon as possible.
flashed in A526BXXU1AUAH, when press buttons for recovery, it freeze on boot logo
does this also work for the a52s 5g version?
LuzzyKins said:
does this also work for the a52s 5g version?
Click to expand...
Click to collapse
No, the version you should be looking at is: https://forum.xda-developers.com/t/recovery-official-twrp-3-7-0-2-for-galaxy-a52s-5g.4488419/