Yes, I format data (because it gets encrypted if I input a password) then reboot to recovery and proceed to restore my NcX backupA question comes to my mind : Do you format data before restoring the backup (going from crDroid back to NCX) ?
Yes, I format data (because it gets encrypted if I input a password) then reboot to recovery and proceed to restore my NcX backupA question comes to my mind : Do you format data before restoring the backup (going from crDroid back to NCX) ?
A backup of boot, vendor_boot, dtbo, super and data should be enough to achieve what you wanted to do. Remember you must disable PIN/password in One UI when booting in TWRP in order to mount and backup your data partition correctly.
hi everyone... is it possible to flash zips (magisk or custom roms) without having an external sd card?
Reason I am asking is... after twrp installation and reboot to recovery ->
I want to completely root and install lineage os and then do other stuff. I have not done rooting since end of android 7 and once with early andriod 8. Looks like many things have changed.
- unable to find the magisk file via file manager or install -> went through all the folders
- if I do data wipe, then also unable to find the file
- if i reboot to system after data wipe, the files I had put in internal storage disappeared (phone started setting up again, and this is the culprit I guess)
- then if i save the magisk or other files in internal storage and reboot to recovery problem is same as above steps 1,2,3
Please advise and help with what I am doing wrong.
I have followed the steps given by OP and tried https://magiskzip.com/install-twrp-recovery-on-samsung-galaxy-a52s-5g/ this as well. When I try the method in this magisk link I get stuck at Flash the Disable Dm Verity Force Encrypt step because (you guessed it) can't find the file :-D.
Ok let me try this again by following OP steps. BTW just bought an external sd cardI highly suggest you not to follow that guide since it is just a CTRL+C/CTRL+V guide for another phone where they just replaced the device name (dm-verity is not anymore a thing). Please read and follow the guide in OP and make sure not to set a lockscreen protection method to be able to decrypt your data partition.
You have to connect your phone to pc with usb cable. Then, press and hold VOLUME UP + POWER KEY. When the bootloader unlocked warning appear , release the power button, keep hold Volume Up 15sHello I'm having an issue while trying to enter TWRP after I updated my one ui to may update I can't enter twrp recovery mode I can enter it while doing a format
Even on lineage os and crdroid I still can't enter twrp I'm doing volume down + power button they don't work I'm lucky that I flashed magisk to enter recovery mode can you please check this issue if I'm the only one who's having it
If you’re having issues with the one in OP, you can download a newer one here.
A backup of boot, vendor_boot, dtbo, super and data should be enough to achieve what you wanted to do. Remember you must disable PIN/password in One UI when booting in TWRP in order to mount and backup your data partition correctly.
Yes, I format data (because it gets encrypted if I input a password) then reboot to recovery and proceed to restore my NcX backup
I'm answering to my own post.OK, I restored a backup (I'm coming from official LOS and restoring NCX) and... I'm stuck in Samsung logo.
This time when restoring I had messages saying that odm, vendor could not be mounted (invalid argument).
There must be something I'm not doing right.
Now when I reboot to recovery and try to wipe cache for instance, it says my filesystem is encrypted and I may need to perform a Format Data (and loose the data I restored lol).
The thing is, I created the backup after I disabled any PIN/password or fingerprint on NCX (which is not encrypted by default by the way).
I have a Samsung A52 5G SM-5260 and had to resurrect my phone, it came up vmeta and TWRP failed. The lineage ROM is for A52s 5G but is this the same as an A52 5G ??? Am confused.Team Win Recovery Project
Code:#include <std_disclaimer.h> /* * 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. */
![]()
![]()
Disclaimer:
- I am not responsible about any damage of any kind that this custom binary may cause.
- Please pay attention to this post & related ones before proceeding and follow the guide correctly. I will not offer support for any issues that have been already stated.
- Your Knox Warranty Bit will be blown once you flash this or others custom binaries, preventing you to use Knox features. It can't be resetted in any way, so think twice before flashing this.
- Bugs can be reported here in XDA or via the community's Telegram Group. Please be more clear as possible and make sure you provide detailed info when reporting bugs.
What's TWRP?
Oh come on, you know what it is - don't try to fool me!
In case you're serious, though...
Team Win Recovery Project is a custom recovery for Android devices.
It allows you to back up and restore your data, flash custom ROMs to your device, repair broken file systems, root your device and more.
Read more about TWRP here: https://twrp.me/about/
How do I flash and set it up correctly?
Please notice that the following guide is meant for full stock devices, if you've already rooted your device you can skip it and flash directly the recovery without any extra steps.
Before starting, make sure to backup all your data and important files stored in your phone, since this procedure will format your data partition.
- Download Odin3, Samsung's Android USB Drivers, the latest TWRP's tar and a disabled vbmeta image.
- Make sure your phone's bootloader is unlocked, follow the guide below in case it isn't:
- Open the Settings app, enter Developer Options and enable OEM unlocking (If you don't see Developer Options, enter into About phone>Software info and tap "Build number" 10 times to show it).
- Enter Download Mode: to do so power off your device, connect it to a computer via an USB cable and hold both volume up and volume down buttons.
- Long press volume up to unlock the bootloader. This will wipe your data and your phone will automatically reboot.
- Go through the initial setup. Skip through all the steps since data will be wiped again later. Make sure to connect the device to Internet during the setup.
- Enter Developer Options and check that the OEM unlocking option exists and is grayed out. This means our bootloader is unlocked and your phone has no KnoxGuard lock set.
- Connect your phone to your PC and boot in Download Mode (power off your device and hold both volume up and volume down buttons).
- Open Odin3, select the TWRP tar by clicking the "AP" button and the patched vbmeta tar by clicking "USERDATA", then press the Start button.
- Reboot your phone in recovery mode: while it still plugged in your PC, hold both the power and volume up buttons.
- Once TWRP has booted you need to format again your data partition in order to be able to boot in system again. To do so touch Wipe>Format Data and follow the instructions in screen.
Bugs:
- Decryption will only work if no password/PIN/pattern is set in Android (One UI).
Download:
Galaxy A52s 5G (a52sxq):
twrp.me
Bootloader/Modem collection:
GitHub
Sources:
Kernel source code: https://github.com/BlackMesa123/android_kernel_samsung_sm7325/tree/sep-14.1/twrp-12.1
Device tree: https://github.com/TeamWin/android_device_samsung_a52sxq
Changelog:
Check Post #2.
A52s 5G Community Telegram Groups:
General
Development
Credits:
Samsung for the kernel source code
TeamWin for their awesome recovery
@Captain_Throwback for his help and troubleshooting
@ShaDisNX255 & @ronardnx for testing out the recovery
I have a Samsung A52 5G SM-5260 and had to resurrect my phone, it came up vmeta and TWRP failed. The lineage ROM is for A52s 5G but is this the same as an A52 5G ??? Am confused.
Graeme354
I was hoping for a different answer. I wish there was some way of DeGoogling this thing and putting another os on it.A52 5G and A52S 5G are two totally different devices !
![]()
Samsung Galaxy A52 5G
The Samsung Galaxy A52 5G is a 6.5" phone with a 1080x2400p resolution display. The Qualcomm SM7125 Snapdragon 720G chipset is paired with 6/8GB of RAM and 128/256GB of storage. The main camera is 64+8+5+2MP and the selfie camera is 32MP. The battery has a 4500mAh capacity.forum.xda-developers.com
Just which variant of thw A5s 5G do i need to get to flash TWRP and Lineage onto ?? I now have 2 phones to sell, that I can't modify.A52 5G and A52S 5G are two totally different devices !
![]()
Samsung Galaxy A52 5G
The Samsung Galaxy A52 5G is a 6.5" phone with a 1080x2400p resolution display. The Qualcomm SM7125 Snapdragon 720G chipset is paired with 6/8GB of RAM and 128/256GB of storage. The main camera is 64+8+5+2MP and the selfie camera is 32MP. The battery has a 4500mAh capacity.forum.xda-developers.com
#include <std_disclaimer.h>
/*
* 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.
*/