yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy A70 Guides, News, & Discussion] MarvinMod:
What are you using to remove bloatware? Also, there must be a persistent file somewhere that needs to be removed as well or it will continue to populate the app. Kind of like the facebook installer, removing facebook without removing facebook installer, apon reboot and as soon as it connects to a network, facebook is reinstalled. This is why we need a custom rom, Samsung and Google make it almost impossible to fully debloat. Just make sure you create backups. Have your tried debloat via adb? Be careful if you do, ive ended in a bootloop a time or two just giving the command adb reboot. The last time i debloated, i used es file explorer. Its not recommended by far and is bloatware in its self but, es did work. I just removed it when done. I dont think its on the play store but, here is the version i used.👇
[Samsung Galaxy A70 Guides, News, & Discussion] helpbot:
Have you seen haky86's dotOS upload? I flashed it when it came out and have had 0 issues with my A70FN
[Samsung Galaxy A70 Guides, News, & Discussion] MarvinMod:
im actually preping to install it as we speak. :cowboy:
[Samsung Galaxy A70 Guides, News, & Discussion] MarvinMod:
Update 2: Guide will be back up later today, i see that its needed. The guide will show you how to root Android 10 and 11, run custom recovery twrp and any custom rom. It will also show you how to pass safety net along with a few other tips and tricks. 🖖
[Samsung Galaxy A70 Guides, News, & Discussion] MarvinMod:
Guide is back up, I'm still working on parts of it as there are a few updates to the guide that ill have to write and create new videos. I'm creating a NEW full guide to include most modifications and development that are confirmed working. Each part of the guide will have its own step by step video as well. So what will this new guide intel?

Android 10/11

Bootloader unlock

Twrp

Magisk

Lineage o.s.

SWX

Havoc o.s.

DotOS

BlissRoms

crDroid

GSI Roms

Safetynet Pass

Call recorder enable

And much much more......

There is a lot of Develpoment with the A70 and many Choices so be patient as I get it up and going but if you have questions, ask. I have a lot more time on my hands nowadays so expect a rom from me coming later on as well. I guess this is where I say, 🖖
[Samsung Galaxy A70 Guides, News, & Discussion] chunfeng082:
hello,friend!I followed your every step to flash twrp and magisk.it's worked:)

but I want to flash Dot os in my a7050

unfortunately,it have a issue,like this:

I don't know what happened?

I feel sorry for my bad English
[Samsung Galaxy A70 Guides, News, & Discussion] DbladeX38:
the links for the files are for the MN variant where can i get the FN files?

thank you
[Samsung Galaxy A70 Guides, News, & Discussion] MarvinMod:
The files will work for all variants.
[Samsung Galaxy A70 Guides, News, & Discussion] MarvinMod:
I had been writing a guide for custom roms installation but ive been sick again. Should have them posted soon. At this time, i will refer you to the Dotos thread for any trouble shooting. Make sure you are on the latest stock 11 oneui 3.x and do not wipe vendor partition.

https://xdaforums.com/t/rom-beta-unofficial-11-dotos-5-1-for-samsung-galaxy-a70.4287269/
[Samsung Galaxy A70 Guides, News, & Discussion] chunfeng082:
hello,friend!thanks for your reply.😁

after following your steps,I tried to do these:

1.I use twrp app with root to flash 3.5.0_10-0.img(because I found @haky 86 published a post about twrp for a70)

2.And then,I entered twrp,wipe Data, Cache, Dalvik(i didn't find "system")

3.Finally,I started to flash Dot os,Still the same as before.

I flash these base on latest one ui3.1 in my country and BL is already unlock

Hope you get better soon!😄
[Samsung Galaxy A70 Guides, News, & Discussion] MarvinMod:
I think your missing a step, did you repack twrp with vbmeta or are you flashing vbmeta after twrp install? See in my guide i have twrp and vbmeta packed together for one flash instead of two. If you flash updated twrp, you need to flash vbmeta again. I could be mistaken, slowly getting better, bronchitis and asthma im dealing with but ill try today to check the guide by flashing mine and report back to you. Ill also update the links.
[Samsung Galaxy A70 Guides, News, & Discussion] Vhy467CGYH%466:
This is just too complicated, guys could you just make it easier/automated ? One step rooting . Thanks .
[Samsung Galaxy A70 Guides, News, & Discussion] MarvinMod:
If its too complicated then it is NOT for you.
[Samsung Galaxy A70 Guides, News, & Discussion] Oswald Boelcke:
Thread closed on request of OP @MarvinMod
[Samsung Galaxy A70 Guides, News, & Discussion] JakunTech1010:
Is this method allow SELinux Permissive ( Stock 10 )? For as far as I know, only the way that Grarak showed ( patch TWRP and flash it as boot image ) can have Permissive SELinux.
[Samsung Galaxy A70 Guides, News, & Discussion] bennythedip:
I am following the stock with root method, after flashing ap archive using odin then rebooting to twrp & swiping to allow modifications, on the mount tab I can't uncheck system or mount system as read-only, reboot recovery doesn't resolve, help appreciated.

edit: nvm I just carried on with the rest of the steps and everything worked, I think it only matters that vendor is selected, I did get a few errors reg unable to unmount system during the magisk flash but that didn't seem to matter as when I boot at last step magisk is installed as it should be & root checker shows as working, the only issue I have now is that my internal storage is showing as 32GB :crying:
[Samsung Galaxy A70 Guides, News, & Discussion] MarvinMod:
Did you stay on stock or install custom rom? When mount wont uncheck, a reboot back to twrp should have fixed the issue, and yes, vendor must be checked. If you stayed on stock, once you boot to stock, twrp will no longer work, youll have to start over. I think you missed something, i am making some videos to help with installs.
[Samsung Galaxy A70 Guides, News, & Discussion] bennythedip:
Solved: Thanks for your help I followed instructions correctly 1st time but solved the problem anyway: (device: SM-A705FN, Stock: Xec - android 10)

I rebooted and wiped data & got my 128gb back then fresh install but root gone so start again from step 6. Since I already had everything prepared, after step 6: open twrp check storage and it's back to 32GB so i used twrp to format data then reboot recovery option check storage in twrp now 128gb again now begin step 7.as per your guide & 128GB remains, maybe you could add this optional step after 6 & before 7 in your tutorial & guide :), issues regarding check/uncheck system & read only persist, despite the errors when installing magisk in step 8 it has made no difference and everything now seems to be working as it should.
[Samsung Galaxy A70 Guides, News, & Discussion] MarvinMod:
Deleted
[Samsung Galaxy A70 Guides, News, & Discussion] MarvinMod:
are you saying a format data is needed after flashing stock with modified AP then continuing?
[Samsung Galaxy A70 Guides, News, & Discussion] MarvinMod:
why would you want permissive on a stock rom?
[Samsung Galaxy A70 Guides, News, & Discussion] bennythedip:
Yes that's right that's what worked for me.
[Samsung Galaxy A70 Guides, News, & Discussion] MarvinMod:
okay, ill update guide, I didn't have to do this on mine but i have done that step before best to have it then not.
[Samsung Galaxy A70 Guides, News, & Discussion] JakunTech1010:
For audio mod :)
[Samsung Galaxy A70 Guides, News, & Discussion] MarvinMod:
okay all, my videos to follow the guide are up. ill link them here but they will also be linked in the guide on the first page.

twrp, los17.1 and magisk root- https://youtu.be/JCugkR2wKUU

magisk root and android 10- https://youtu.be/FPbiSw75NpA

Update: as [MENTION=4538450]bennythedip[/MENTION] pointed out, It turns out that a format data "IS" required after installing stock with AP.tar. this seems to fix the mounting issue and brings back the 128gb internal storage. you still have to mount vendor to install magisk. if you do not format data in step 7, your internal storage will be 16-32gb. I will update guide and video.
[Samsung Galaxy A70 Guides, News, & Discussion] MarvinMod:
does anyone have any suggestions on a compression tool for .lz4?
[Samsung Galaxy A70 Guides, News, & Discussion] fizzingbees:
Is there any update on twrp for Android 10?
[Samsung Galaxy A70 Guides, News, & Discussion] BigBubble:
Firstly, thank you for the effort to post up this tutorial.

I am wondering if there is a work around for this step because I have rebooted the device close to 20 times but it continues to have 'system partition read-only' checked, so i can not proceed with the installation process.

I have a YN model on android 9 and am trying to install LOS.

Thank you.
[Samsung Galaxy A70 Guides, News, & Discussion] BigBubble:
Perfect, all done.

Thank you for your guidance.
[Samsung Galaxy A70 Guides, News, & Discussion] MarvinMod:
Sorry guys, my laptop took a ****. I spilled milk on it and fried the MB. I have a replacement coming and everything is backed up so i can pick up where i left off. On another note, i used a root file manager to uninstall apps and debloat stock 10, however, apon reboot, it hung at the first boot screen with the warning msg. Should something like this happen, dont start over or flash the stock rom. Just boot to download mode, extract system.img from the stock AP file and repack with peazip then flash the system.img.tar with odin in the AP field and reboot. Soon as my laptop is back up ill get back to work. Im having issues compressing .lz4 which i need due to Android 10s partition changes. Im not familiar with compressing .img into .lz4 so i maybe missing something.
[Samsung Galaxy A70 Guides, News, & Discussion] fizzingbees:
Take your time.

I hope you can with help figure things that bug you so atlast we can have android 10 with root and twrp
[Samsung Galaxy A70 Guides, News, & Discussion] wha19tzu:
As long as vbmeta has been installed previously, should be no need
[Samsung Galaxy A70 Guides, News, & Discussion] fizzingbees:
No brother.

You updated from android 9 to stock Android 10 this you do need to flash vbmeta again
[Samsung Galaxy A70 Guides, News, & Discussion] dj75:
does this guide work for a samsung galaxy A70 8gb ram hongkong imported?

SAMSUNG GALAXY A70-SM7050 - SM-A7050ZBUTGY.

thanks
[Samsung Galaxy A70 Guides, News, & Discussion] MarvinMod:
It should, so far the only model that is unlockable or the guide wont work in is the USA models. If you want to give it a shot, worst case is if it dont, youll flash your entire stock rom unmodified to bring it back to original state.
[Samsung Galaxy A70 Guides, News, & Discussion] Yommytex:
Quick response pls. I'm stuck

Please, the System and mount system partition boxes remain checked. I have rebooted to recovery multiple times.
[Samsung Galaxy A70 Guides, News, & Discussion] bennythedip:
This happend to me, See my post on page 3
[Samsung Galaxy A70 Guides, News, & Discussion] MarvinMod:
Whats your model number and whats your end goal, custom rom or rooted stock rom?
[Samsung Galaxy A70 Guides, News, & Discussion] kostelo:
I did all the steps on stock rom but upon booting to twrp it is stuck there with the twrp logo with no option to slide for system mount etc. What am I doing wrong?
[Samsung Galaxy A70 Guides, News, & Discussion] seli1987:
Hi guys i tested this guide and have bugs

The bugs is stuck on twrp

I fixed this bug

I will explain soon in new post
[Samsung Galaxy A70 Guides, News, & Discussion] bravomail:
Many thanks for finding this out!

Some notes:

- videos are more helpful than text guide

- you need recovery.img and vbmeta.img from TWRP, not tar, not lz4

- of course you delete original vbmeta.img.lz4 and recovery.img.lz4

- I had issues with my USB port, Odin would just throw errors, had to attach to back of PC

- flash 4 files in Odin - BL, CP, CSC, modified AP - to prevent partition table size issues

- first time didn't do anything, was booted to old recovery, replaced Odin with OP 3.13.1, then it worked

- you need to keep pressing Volume Up all the way til you see TWRP screen, don't press Power on bootloader warning screen for TWRP

- once you in TWRP - you're golden

- flashed Lineage with OpenGapps - worked fine

- will withhold Magisk - to avoid bluetooth pairing issues
[Samsung Galaxy A70 Guides, News, & Discussion] MarvinMod:
Watch the videos.
[Samsung Galaxy A70 Guides, News, & Discussion] opscraft256:
What is wrong for me, exactly?

I am not really the one who knows a lot about this, i am rooting a phone for the first time. Is there some problem that needs to be fixed on my side? If so, a reply on what exactly is wrong would be greatly appreciated. Down below is the exact log:

<ID:0/004> Added!!

<ID:0/004> Odin engine v(ID:3.1303)..

<ID:0/004> File analysis..

<ID:0/004> Total Binary size: 6945 M

<ID:0/004> SetupConnection..

<ID:0/004> Initialzation..

<ID:0/004> Get PIT for mapping..

<ID:0/004> Firmware update start..

<ID:0/004> NAND Write Start!!

<ID:0/004> SingleDownload.

<ID:0/004> AP/

<ID:0/004> Unassigned file

<ID:0/004> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)
[Samsung Galaxy A70 Guides, News, & Discussion] fizzingbees:
Which file are you selecting and which alot in odin are you putting this file in
[Samsung Galaxy A70 Guides, News, & Discussion] opscraft256:
I have put in a .tar archive containing the standard files of the recovery, with the modified recovery.img and vbmeta.img. The slot i selected was AP, due to my past, rarely succesful attempts in odin.
[Samsung Galaxy A70 Guides, News, & Discussion] morgan150:
Thanks for this post I will try it today.
[Samsung Galaxy A70 Guides, News, & Discussion] xmannv:
Great, I have successfully rooted this method
[Samsung Galaxy A70 Guides, News, & Discussion] fizzingbees:
Hold on...

You are putting modified recovery img and vbmeta ing in the same tar file togather?

I don't understand you.

What is modified recovery img?

Mention all the steps you have taken uptil now in detail
[Samsung Galaxy A70 Guides, News, & Discussion] opscraft256:
i did exactly these steps: (from OP's post)

1-open the stock rom folder and extract the contents of AP to a folder on your desktop.

2-open the folder of the unzipped AP and delete Recovery.img and vbmeta.img.

3-Take the downloaded recovery.img and vbmeta.img and copy them to the unzipped AP folder.

4-select all files in the AP folder, right click and choose peazip then click add to archive. The first box under output, make sure it says TAR and click ok. Peazip will now repack the AP folder files to a AP.tar folder to flash with odin.

5-Start your device in download mode. (with power off hold vol up and down and plug into pc or during a reboot hold both vol keys while plugging into pc).

6-Open odin and uncheck auto reboot, click on AP and AP.Tar from the desktop and click start. (or from wherever peazip outputed the .Tar file)

i have also tried to add not only the AP, but the rest of the recovery files, which results in the same "unassigned file" error.
[Samsung Galaxy A70 Guides, News, & Discussion] morgan150:
Hello,

If I use the stock recovery and root, will I still get Samsung updates?

Thanks
[Samsung Galaxy A70 Guides, News, & Discussion] fizzingbees:
Okay.

Assuming you have stock Samsung android 10.

Only then follow the OP.

Make sure to flash BL, cp and home_csc with your modified Ap.

Use odin 3.13.3b patchedD version.

Ensure your stock firmware is not corrupt or encrypted.

Use samfirm windows utility, it's ensures integrity of your firmware and also decrypts it.
[Samsung Galaxy A70 Guides, News, & Discussion] opscraft256:
Yes, i currently have the stock version of samsung's one ui 2 (the february sec patch, if that matters), redownloaded the firmware using samfirm to make sure that everything works, started again to.... nothing new. Phone needs stock reflashing, logs below: (PS: i did not plug in two devices, it was the cable which detected my phone twice, and the h/ is the name of my .tar AP file.)

<ID:0/004> Added!!

<ID:1/003> Added!!

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/004> Odin engine v(ID:3.1303)..

<ID:1/003> Odin engine v(ID:3.1303)..

<ID:0/004> File analysis..

<ID:1/003> File analysis..

<ID:1/003> Total Binary size: 7726 M

<ID:0/004> Total Binary size: 7726 M

<ID:0/004> SetupConnection..

<ID:1/003> SetupConnection..

<ID:1/003> Initialzation..

<ID:1/003> Set PIT file..

<ID:1/003> DO NOT TURN OFF TARGET!!

<ID:1/003> Get PIT for mapping..

<ID:1/003> Firmware update start..

<ID:1/003> NAND Write Start!!

<ID:1/003> SingleDownload.

<ID:1/003> abl.elf

<ID:1/003> xbl.elf

<ID:1/003> xbl_config.elf

<ID:1/003> tz.mbn

<ID:1/003> hyp.mbn

<ID:1/003> devcfg.mbn

<ID:1/003> aop.mbn

<ID:1/003> bksecapp.mbn

<ID:1/003> cmnlib.mbn

<ID:1/003> cmnlib64.mbn

<ID:1/003> keymaster64.mbn

<ID:1/003> vaultkeeper.mbn

<ID:1/003> qupv3fw.elf

<ID:1/003> sec.elf

<ID:1/003> apdp.mbn

<ID:1/003> msadp.mbn

<ID:1/003> storsec.mbn

<ID:1/003> NON-HLOS.bin

<ID:1/003> dspso.bin

<ID:1/003> uefi_sec.mbn

<ID:1/003> vbmeta.img

<ID:1/003> h/

<ID:1/003> h/boot.img

<ID:1/003> Complete(Write) operation failed.

<ID:1/003>

<ID:1/003> Complete(Write) operation failed.

<ID:0/004> Can't open the serial(COM) port.

<OSM> All threads completed. (succeed 0 / failed 2)
[Samsung Galaxy A70 Guides, News, & Discussion] fizzingbees:
Okay

Change your cable and the port you are using on laptop.

Also repack your modified AP with peazip. Ensure you are using files from the newest downloaded stock firmware.

Redownload vbmeta and twrp recovery.

Something is corrupted that's causing Odin flash to fail.

Also maybe try Odin 3.14 available on samfirmware website

Change name of your h/ to modified Ap
[Samsung Galaxy A70 Guides, News, & Discussion] opscraft256:
i don't think i can thank you more. Without your help, i (most likely) would sit stumped and give up. In the final moments of me losing hope, everything just... clicked. Again, i can't thank you more for your troubleshooting advice, have a good day/whatever depending on your timezone :)
[Samsung Galaxy A70 Guides, News, & Discussion] dparris:
I followed the steps exactly and successfully rooted my 705mn with LOS and Gapps. But I have a problem with phone calls: my microphone does not work and I cannot hear callers unless I turn on the speaker. Anyone have a suggested solution?
[Samsung Galaxy A70 Guides, News, & Discussion] MarvinMod:
please watch the videos
[Samsung Galaxy A70 Guides, News, & Discussion] MarvinMod:
*UPDATE: If your having issues with the written guide, please watch the videos linked at the bottom of the first post in this thread.
[Samsung Galaxy A70 Guides, News, & Discussion] MarvinMod:
This is a new one.

can you confirm earphone worked on stock?

are you using any third party dialer apps besides Los stock dialer?

try flashing stock rom unmodified, check mic and earphone, then start the guide?

check the volume? while in a call push vol up.

did you come from android 9 and do the guide flashing android 10 modified files without flashing android 10 stock unmodified first?
[Samsung Galaxy A70 Guides, News, & Discussion] fizzingbees:
Yes.

I am on on android 9 stock, with stock recovery and magisk root installed.

If you download and install edxposed ( modified version of xposed framework) and in that you install firefds [P] module, you can chnage phone status to official thereby still getting ota updates.

However doing so might result in loosing root when the OTA gets installed.

So the best solution is to download the whole firmware, patch it for magisk root and install... Of course you need to backup all your apps and data 1st.

If it's too bothersome for you, stick to current version unless a huge updates arrives

---------- Post added at 05:59 AM ---------- Previous post was at 05:57 AM ----------

What resulted in success in the end..

Share your troubleshooting steps for the rest of members
[Samsung Galaxy A70 Guides, News, & Discussion] drparris:
Internal speaker

I was already on the Android 10 update, but I flashed the latest stock rom for my country/region before I started. I am not using a third-party dialer; pushing volume up during a call had no effect. I still have no microphone or speaker unless I physically turn on speaker after answering a call. My headphones work and I have sound in other applications.

I have reflashed the stock rom without modification, and everything works like it's supposed to.

I really want to use LOS. Any ideas?
[Samsung Galaxy A70 Guides, News, & Discussion] morgan150:
Hello,

I'm stuck on the first bit. I've used SamFirm to download the firmware but it seems half of the files are missing in Peazip? Any ideas? I'll send you a screenshot.https://ibb.co/8KnkxRk
[Samsung Galaxy A70 Guides, News, & Discussion] fizzingbees:
Did you checked crc32 and automatic decrypt in samfirm before starting download?

Did you let samfirm decrypt firmware completely after it was done downloading?

The screenshot are contents of AP file

You should have Bl, cp, csc and home_csc files too
[Samsung Galaxy A70 Guides, News, & Discussion] morgan150:
I’ve managed to sort it. It turns out I downloaded the wrong firmware. Now I have successfully rooted my handset but now I have only 15GB storage but I’ve just seen that I need to go back to part 7 and wipe cache data etc. So going to start the process again.

---------- Post added at 11:52 AM ---------- Previous post was at 11:06 AM ----------

Sorry for all the questions, I've sucessfully rooted my device so A BIG THANK YOU!! :D can I now relock my bootloader?
[Samsung Galaxy A70 Guides, News, & Discussion] fizzingbees:
To fix internal storage showing 15gb.

Factory reset your phone in recovery.

No don't relock your bootloader, it will mess up with root, not to mention you can hard brick your phone that may require jtag and soldering memory chip to reflash favtoru firmware [ requires Profesional repair services and machines]
[Samsung Galaxy A70 Guides, News, & Discussion] MarvinMod:
No!!!!! Do Not relock the bootloader!!!

You risk bricking. With root installed, magisk uses the boot partition and if you lock the bootloader, all modifications including magisk or any other su will be locked out of accessing the necessary partitions and could brick the device or cause breakage.

[MENTION=5720765]fizzingbees[/MENTION] dang, sorry, didn't see you answered it till after i replied. Im not getting post updates till after i reply. I need to check my settings and thank you for being on tip of it. I will put a warning note in the instructions.
[Samsung Galaxy A70 Guides, News, & Discussion] fizzingbees:
No problem [MENTION=6698960]MarvinMod[/MENTION].

How is your progress on with trwp for Android 10 on Samsung A70 going?
[Samsung Galaxy A70 Guides, News, & Discussion] daqqq:
reply

you must factory reset after flashing rom to solve 32gb issue,and reboot in recovery couple of times to uncheck system mount.
[Samsung Galaxy A70 Guides, News, & Discussion] morgan150:
I've ran into a problem with my phone. My phone died this morning and I went to put it on charge to find that the phone boots straight to download mode and when I disconnect the charger and try to boot it up, the phone boots to bootloader.

I have not messed with roms or anything like that, I have only rooted and that's it. The root was successful and been using it for a couple of days now, until the phone died.