yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] Samwieszkto:
Will the twrp installation trip Knox?

It will, I presume, will it not?
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] Joselof96:
Twrp and rooting will trip Knox
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] Joselof96:
Anyhow twrp and magisk together works on a705FN on this firmware I'm using
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] Joselof96:
I might add that flashing twrp will interfere with some apps for me like it ****s up the adding of friends after flashing twrp
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] naruba:
how did you get magic?what files are flashed?
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] Joselof96:
Patched the recovery image with magisk and flashed it
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] naruba:
through odin?
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] Joselof96:
Yeah you can flash it through odin but you will have to repack it 7zip to a tar file
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] naruba:
patched recovery odin does not sew,it gives an error
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] Joselof96:
Idk then worked for me
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] RootTheAndroid:
What is your firmware version? ASG6?
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] Joselof96:
nope
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] naruba:
yes
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] RootTheAndroid:
Patched TWRP won't install on the latest firmware. I assume from some of previous posts, work is underway to get it sorted out
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] Joselof96:
Like Rootatheandroid said patched twrp does not work on the latest firmware nor does gsi roms
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] Debjoty Mitra:
I have tried to install on my 70 (sm-a705yn). The vbmeta installed perfectly. But the TWRP is not working. It installed perfectly. But whenever I go to the recovery, it is the stock recovery. I tried many times. But no TWRP was there for a single time. Whats my problem here? I got security lock as I flashed the vbmeta.
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] JakunTech1010:
When you flash the TWRP, remember to uncheck "Auto Reboot" in Options tab then flash it. After it completed hold Power+ Volume down button to reboot. When the screen gone dark, quickly hold Power+ Volume Up button. When the text Samsung Galaxy A70 appear, release the Power button but still hold the Volume Up button. After that, TWRP will show up, allow it to access the storage and then you're done: TWRP successfully installed on your phone. If you don't do that after installing TWRP, the stock room will revert it back to Stock Recovery.
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] MarvinMod:
first, you need to repack recovery.zip to recovery.tar

I recommend peazip.

I had this issue when I uses winzip and WinRAR to repack recovery. would pass in odin but bring me back to stock recovery.

did you follow the guide I prepaired here: https://xdaforums.com/showpost.php?p=81649149&postcount=151

are you turning auto reboot off in odin when you flash?

did you properly unlock the bootloader?

what is your model and baseband?
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] Debjoty Mitra:
Thanks man. I will definitely try this again. But before that let me know, will it work on my A70 (A705YNDXUAASL1)?
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] JakunTech1010:
Currently I don't know. ASL1 is Bootloader V5 right? So I just don't know. You can try it out but if I'm correct, it might get some issues such as decryption, Magisk might not work, no ROM for Bootloader V5 ( while I'm writing this).

Update: OK there's LineageOS 17 updated to support Bootloader V5 so TWRP will have to updated to support Bootloader V5.
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] MadsonDanilo:
Help-me.

Work in A705MN?
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] Elbuhin:
Well, after having doubted a lot I am glad to report that I have also been able to successfully root my SM-A705MN, with android 9 stock A705MNXXU4ASK5.

The inconvenience of decryption in TWRP could be solved by disabling strong protection and removing any pattern, fingerprint or biometric data and simply letting it slide to unlock the screen.

In this way, I was able to back up before rooting with the method of patching the recovery.img and flashing it in boot partition, in case I later had the inconvenience of bootloop. But fortunately, it did not happen.

Curiosity:

I had a problem with the Magisk version, which is currently 20.3, and as I read it does not allow applications to be transferred to /system using LuckyPatcher or Link2SD. Thus forcing to use the terminal console. But for worse, when systemizing an application sometimes the process was not well done, and the application did not recognize itself as a system app. :confused:

Then I tried to flash the 19.3 version of Magisk (I know, very old, but it is the last one with which I remember to have done an installation from scratch and without problems when systemizing an app) by the traditional method: flashing the .zip from TWRP. I could do it and there were no inconveniences.

However, and as I feared it: I was not allowed to give root privileges to the terminal. I was forced to update. Then I tried to flash the .zip file of the current version of Magisk and it worked. There were no inconveniences.

At the time of transferring some applications, everything was ok. Of course, it is still necessary to use the terminal. Nothing to use LuckyPatcher or Link2SD.

This way I get the following question: Is it imperative to patch the recovery.img with Magisk apk and then flash it in boot partition with TWRP? Or can it be done with the traditional method of flashing Magisk .zip?

Of course, I dare not try it right now, since everything seems to work fine. "If something is working correctly, then don't touch it"

Curiosity Plus: SmaliPatcher:

Sometimes I have to change my location by GPS, when I don't feel like walking for games, to circumvent regional blockages along with proxies and to meet people from other regions by happn hehehe. When installing the GPS Fake and passing it to / system, the location becomes unstable and loops between real and simulated location.

So in this case it is best to generate a module for Magisk with SmaliPatcher. This is where I broke my head the most, since I couldn't correctly generate the .zip module to install it on Magisk.

Until I found the correct version, version 0.0.6.7, which until now is the last one. The funny thing is that with other devices that also have Android 9 I had no problem using previous versions of Smali.

Anyway, for the moment everything seems fine.

Thank you for all the info and efforts you make.

Greetings.
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] MadsonDanilo:
Please, help-me.

I am Brazilian, I speak little English, if you can help me, I am very grateful, I can even pay you, I do not have much money, but it would be a good bonus.

I am from Brazil, my English is weak, if you can contact me via whatsapp, thank you.

Country code +55, number is 82 99625-2457.

Call me, please. My brother is fluent, he will mediate the conversation.

Nobody in Brazil has ever been able to do this on the A70, nor do we have tutorials.
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] fizzingbees:
So after reading the Op and then last few post its seems to me that twpr is still not fully functional for our device regarding backup /restore feature? Correct me if I am wrong

But before I embark on this journey I need clarification regarding which functions will I lose after rooting +magisk +twrp.

Will the magisk manager patching recovery.img still work on latest Jan 1st update that changed the bootloader for FN (dual sim) version ?

Also if I ever want to reverse this whole process and go back to stock completely, will I able to do that, having no traces of ever rooting /customizing this device?

If someone can clear these phobias, I can then proceed with rooting. I am itching to install viper4android on this phone and blocking ads with xposed /lucky patcher.

---------- Post added at 03:30 PM ---------- Previous post was at 03:28 PM ----------

Your English is already very good.

Good job.

If you want help, direct message your country fellow on XDA. Don't put your phone number out there for everyone
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] MarvinMod:
I run los 17.1 and its very stable. to answer your questions, yes twrp is having a backup/ restore issue for the data partition only. if you download the stock rom for your device, then youll be able to go back to stock at anytime via odin/download mode.

magisk works as well. in fact, everything is working except backing and restoring of the data partition. the downside, I know you was waiting, is that the a70 is touchy and you must follow the install directions to a tee, if you mess up, you must start completely over by flashing the stock rom. good luck , you wont be disappointed, this is a great rom.

---------- Post added at 09:10 PM ---------- Previous post was at 09:05 PM ----------

yes
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] fizzingbees:
Los 17.1?

I want to stay on stock rom. Just unlock bootloader root, have twrp and titanium backup and viper 4 android working.

Not looking for anything more.

Doesn underscreen fingerprint works in Los 17.1. What else is not working from stock rom on Los 17.1. And what about 8mp camera. Is that fixed yet.

Instruction I can follow.. No problem
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] starweaver1:
Maybe I'm doing something wrong but I cant update twrp inside tarp, I've extracted the img and says success but no joy
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] MarvinMod:
update twrp with odin. no need to flash anything else. just flash the updated twrp in download mode with odin and reboot to twrp.
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] starweaver1:
I figured it was something like that, thought updating it woulda worked without needing Odin that's all
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] Joselof96:
It should though lol just extract the twrp image from the zip and flash it to recovery and done
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] Seagold:
Samsung Galaxy A70 receives Android 10 update with One UI 2.0

https://www.gsmarena.com/samsung_galaxy_a70_receives_android_10_update_with_one_ui_20-news-41633.php
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] MarvinMod:
have you updated to this yet? curious if los 17 will still work.
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] Joselof96:
Its to late to update to obe ui 2 that firmware sadly got retracted :/
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] cealaska:
I followed 1st post. Odin is stuck on TWRP recovery install. I tried original latest twrp repacking the img as tar but that didnt work I also tried magisk repack recovery and making it a tar.

Odin is still stuck at "FILE ANALYSIS" does not matter which version of Odin I use. Vmbeta.tar was able to install without issues but I am unable to install TWRP Recovery.
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] MarvinMod:
https://xdaforums.com/showpost.php?p=81649149&postcount=151
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] cealaska:
I followed your guide (#151 post) up until flash twrp but ODIN is still stuck on <ID:0/004> File analasis.

I even redownload TWRP to check if that would make a difference. Still stuck on twrp. I was able to reflash with the current firmware but I am stuck when it tried to flash twrp.

Edit: I downloaded peazip (was using 7zip) to repack recovery as tar. I dont know why it was hanging with 7zip tar. Did not get stuck when I repacked with peazip.
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] Nafis Israr:
Please Help

My phone is stuck at the samsung logo...it doesn't boot up.

So i can't tick "oem unlock" in developer settings...so i am unable to unlock bootloader and install twrp.

I tried to flash stock firmware using odin(tried different versions of odin) but it gets stuck at userdata.img.ext4.

Please help.
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] MarvinMod:
that's why I recommend peazip. glad you got er going.

---------- Post added at 04:35 AM ---------- Previous post was at 04:32 AM ----------

whats your device model number and version of odin? what is the stock firmware your trying to flash?
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] pladium:
Can't start twrp after i use every steps, pushing volume down and power still nothing can you help me please
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] cealaska:
Have you flashed TWRP and vmbeta already? If they are already installed try shutting down your phone. Hold power and hold vol+ to boot to twrp. You can let go of the buttons after it shows the samsung logo. Holding power up and vol + is how you get into recovery when you are first starting your phone.
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] pladium:
Yes i already flashed both. i can get inside of recovery but can't go through twrp when i use volume up and power buttons it going to android recovery.
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] cealaska:
You may have to start over flashing TWRP. It may have gotten replace by the stock OS when it boots up.

Follow this guide and you should be able to boot into TWRP. https://xdaforums.com/showpost.php?p=81649149&postcount=151
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] pladium:
okay i try 3.3.1-5 and its working now thanks again.
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] Alx0r:
can't flash twrp recovery, odin failed...

Hi, i have unlocked the bootloader & tried to flash the twrp recovery via odin but in download mode my device shows a message thats "only official released binarys are allowed to be flashed".

Odin output:

<ID:0/006> Odin engine v(ID:3.1401)..
<ID:0/006> File analysis..
<ID:0/006> Total Binary size: 78 M
<ID:0/006> SetupConnection..
<ID:0/006> Initialzation..
<ID:0/006> Get PIT for mapping..
<ID:0/006> Firmware update start..
<ID:0/006> NAND Write Start!!
<ID:0/006> SingleDownload.
<ID:0/006> recovery.img
<ID:0/006> FAIL! (Auth)
<ID:0/006>
<ID:0/006> Complete(Write) operation failed.
<OSM> All threads completed. (succeed 0 / failed 1)

Can anyone help me please? many thanks...

Greetings, Alex.
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] FriendlyNeighborhoodShane:
You have not flashed the VBMeta. Follow the instructions in the OP
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] Alx0r:
I get the same message in download mode when i try to flash the vbmeta.tar via Odin.
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] cealaska:
Double check to see if bootloader is unlocked. You might have to start over the flashing process. Following OP from step 1 might help.
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] Alx0r:
Okay, now i have successfully flashed the TWRP Recovery. Odin says "PASS" and shines green.

But, how can i boot into TWRP?

Whe i press Power+Volume UP the device starts into Android's recovery and not into TWRP...
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] cealaska:
Re-flash TWRP and when it is restarting after ODIN is done flashing hold Vol + until you see the Bootloader warning then you can let go of the button. It should boot into TWRP. If it rebooted to the operating system it may have gotten replaced by the OS.
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] Alx0r:
YESSSS!!!! many thanks for that tip, it works!

Greets
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] vanbinsbergen:
Hi,

Thanks for the tutorial. Did a root 8 years ago, I'm a newbe again, guess things changed :)

I'm tryin to flash twrp on an A70 and from odin i get this message: <ID:0/008> FAIL! (Auth)

I search this treath for "fail"and "fail!" but din't get a hit.

Phone keeps in Download mode now. The goal was to install Lineage.

Anything i can do now?
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] cealaska:
Did you flash the vbmeta.tar before you tried installing TWRP? Try check to see if you bootloader is unlocked and greyed out in the developer options. You can reflash vbmeta then reflash TWRP. After TWRP is installed hold the Vol + after Odin is rebooting the phone into twrp recovery.
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] vanbinsbergen:
Yes, did the vbmeta.rar.

Under developer options i could't switch the bootloader option, it was light grey.... but! Underneath there was writen "your device is allready oem unlocked" or something.

I can't switch off my phone now :)

Waiting for the battery to drain.

Thanks for your help!
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] cealaska:
1. If you want to force the shutdown, press and hold on the shutdown button until you see the screen turn black. If that does not work try hold Power and Vol-.

2. Hold Vol + and Vol - and plug it into your computer while it is off. If it starts booting up again before it goes to the download screen hold power and vol - again to reboot it. Make sure it is plugged into the computer and boots up to the Download / unlock options. Press Vol + (don't hold it).

3. Start over flashing your stock firmware. After it is completed follow OP from step 1 again. I hope it works for you :)
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] vanbinsbergen:
Is this oke? Else i'm looping myself

And... when i boot again and try to unlock bootloader again (just cruzing in options until stock is downloaded (samfirm didn't find it, oher option takes hours)) i get this:

partition vbmeta

reason vbmeta: error verifiing vbmeta image:

0_0_INDIVLDUMT_EDRHSIMTHSGAUEMSAC

And.. When i try vbmeta.rar again it says: Only officially released binairies are allowed to be flashed (obmeta)

BACK TO STOCK STORY:

That didn't work :)

Phone says: SW REV CHECK FAIL [Boot]Fused 5 > Binairy 2

<ID:0/008> Odin engine v(ID:3.1301)..
<ID:0/008> File analysis..
<ID:0/008> Total Binary size: 6506 M
<ID:0/008> SetupConnection..
<ID:0/008> Initialzation..
<ID:0/008> Get PIT for mapping..
<ID:0/008> Firmware update start..
<ID:0/008> NAND Write Start!!
<ID:0/008> SingleDownload.
<ID:0/008> boot.img
<ID:0/008> FAIL! (Auth)
<ID:0/008>
<ID:0/008> Complete(Write) operation failed.
<OSM> All threads completed. (succeed 0 / failed 1)

Anyone know what's going wrong here?

EDIT --> Is this the same problem maybe?

https://xdaforums.com/galaxy-a70/help/a70-vbmeta-error-magisk-update-20-0-t3982421/
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] Clasimodo:
Did you use the right version of Odin? This seems to matter. I used Odin3_v3.13.1
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] cealaska:
OEM unlocking is greyed out and enabled and will say it is "bootloader already unlocked" when it is good to flash. What is the device model number and version of Odin you are using? You NEED TO DOWNLOAD THE CORRECT VERSION FOR YOUR DEVICE.

If you tried to unlock the bootloader again. You might have LOCKED it instead of unlocking it. It usually only has to be done once. When you hold Vol + and Vol - and plug it in to the computer when it is off. Press Vol + and it should show you the OEM LOCK status on the top left of the screen. It should say OEM LOCK: OFF (U) if it is unlocked. If it is unlocked and you try to unlock it again it will give you the option to lock the bootloader and factory reset your phone.

Whenever you get the error message “Only Official Released Binaries Are Allowed To Be Flashed After Reboot” it means that the Knox security feature of the phone has been tripped. Or it might be that you locked your bootloader again. You will need to flash the device with its stock firmware file to fix the problem. Start over from Step 1 OP and try again with the right firmware for your phone.

Are you trying to downgrade your firmware or user another version for another phone? Did you get the vbmeta from the first post or from another source? When you flash vbmeta it will say flashing VBMETA not boot.img. Was the last part inside the HTML wrap (boot.img) your error from flashing TWRP? VBMETA has to be flashed correctly to your phone before you can flash TWRP.

If it was from another place or post get it from here vbmeta and you can get TWRP from here
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] vanbinsbergen:
i used 3.13

---------- Post added at 10:02 PM ---------- Previous post was at 09:18 PM ----------

CURRENT BINARY: CUSTOM (0X300)

FRP LOCK : OFF

OEM LOCK : ON (U1)

KG STATUS : PRENORMAL

WARRANTY VOID: 0X1 (0XE03)

QALCOMM SECURE BOOT ENABLE

Not on purpose, maybe i have the wrong one.

I get vbmeta from OP. vbmeta flashed correctly. The error message came from TWRP.

I'll try 3.13.1 odin.

For now, Many thanks!
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] cealaska:
Your bootloader is LOCKED. What is your device model number?
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] vanbinsbergen:
Upgraded to odin 3.14

If i say a705FN do you know enough then? I cant lookup the exact model number anymore.

Also stock rom can't be flashed. I knew there would be trouble with changing roms :) but this is gonna be allright, right?
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] naruba:
tvrp 3,1,1-6 does not work on A705FNXXU5BTC2
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] vanbinsbergen:
Thanks for the tip. I see indeed, a70 is not listed on twrp.me https://twrp.me/Devices/Samsung/

Then why are here the installation instruction for a galaxy a70? https://xdaforums.com/galaxy-a70/development/recovery-twrp-galaxy-a70-t3955984
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] vanbinsbergen:
YEAH!

Back to stock now. Only.... there's no option of unlocking OEM in developer options in this installed rom.

Any other way to go now?

Edit: solution to missing OEM button found: https://xdaforums.com/galaxy-a70/help/a705w-oem-unlock-t4011413/page2
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] JoshReuben:
Let us know if you can make it work
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] cealaska:
Check the back of your phone and you will see the device model number. It will look like this: SM-A705MN/DS

It is the first thing you see at the bottom of the back before all the phone details.
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] vanbinsbergen:
A705fn/Ds
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] cealaska:
Did you upgrade to Android 10 (A705FNXXU5BTC2) already or are you still on Pie 9? If you upgraded to Android 10 or TWRP is not important to you. You can follow BK's Root Guide to have root and still be on stock OS. You can still follow his guide to have a rooted Android 9 stock OS. Just don't download 10 yet.

If you did not upgrade to 10 and want to try a custom OS like Lineage with TWRP you can follow MarvinMod's guide. His links are broken at the moment so download them from the OP.

If you want to have TWRP. You will need to start over and follow this guide carefully. Re-flash your firmware and start with step 2 of this OP. The latest Pie firmware would be best. December 2019 A705FNXXU5ASL4 would be for your phone SM-A705FN.
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] ilromano25:
Hi everyone, I own a Samsung Galaxy A70 (SM-705FN), rooted with Magisk Manager and I wish I could install a TWRP Recovery but I can't find the right one for my device! Please help me, thank you!
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] cealaska:
You can find the TWRP images for the A70 here. You will need to flash the vbmeta image first before you are able to flash TWRP. Read OP # 1. It says you can start from step 5.
[Samsung Galaxy A70 ROMs, Kernels, Recoveries, & Ot] vanbinsbergen:
Hi everybody reading this for installing twrp on a70, i referer You also to https://xdaforums.com/showpost.php?p=81649149