yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] mirhl:
Yes, I'm still locked.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] niaboc79:
Could this exploit works on new Xperia?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] j4nn:
[MENTION=599722]niaboc79[/MENTION], it has been already posted about that in this thread:
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] TheMatador153:
Hello, I'm sort of new to this, so don't get everything that is being said on the thread. Anyway, wanted to ask if this exploit works on an XZ2P H8166, im running the latest build but would do a downgrade if it actually works.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] jal3223:
Thank you so much for your work. I'm having a little trouble tracking down 2 firmware files though. Do you happen to have H8166-52.1.A.0.618 as well as H8314-52.1.A.0.618 by chance?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] j4nn:
[MENTION=1638061]jal3223[/MENTION], just uploaded the two fw versions you have requested:

H8116_Customized IBE_1313-3189_52.1.A.0.618_R3C

H8166_Customized FR_1313-2540_52.1.A.0.618_R4C.zip

H8216_Customized UK_1313-4679_52.1.A.0.618_R5C

H8266_Customized FR_1313-2481_52.1.A.0.618_R4C.zip

H8296_Customized TW_1313-6119_52.1.A.0.618_R4C

H8314_Customized FR_1313-2468_52.1.A.0.618_R4C.zip

H8324_Customized FR_1313-2469_52.1.A.0.618_R2C.zip

H8416_Customized IBE_1316-6423_52.1.A.0.618_R5C

H9436_Customized FR_1316-3076_52.1.A.0.618_R6C

H9493_Customized HK_1316-2331_52.1.A.0.532_R2C

--- edit ---

added links to the first post too
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] jal3223:
Thank you so much!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] jal3223:
I'm sorry to ask, but could you possibly upload the H8116_Customized IBE_1313-3189_52.1.A.0.618_R3C firmware as well? I'm trying to get volte on my carrier with the temp root and I believe that I need the single sim version of the XZ2 premium to get it to work. Thank you!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] j4nn:
[MENTION=7405152]TheMatador153[/MENTION], [MENTION=1638061]jal3223[/MENTION], just uploaded the H8116_Customized IBE_1313-3189_52.1.A.0.618_R3C.zip firmware too.

jal3223, could you please not full quote post just the previous post? It is not helpful at all. Would be great to edit/remove the quotes.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] jal3223:
[MENTION=4418980]j4nn[/MENTION]

Thank you for uploading it.

Sorry for quoting the larger posts. I fixed it.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Miustone:
Really nice and comes Close to the old Xperia Days...

Any Chance for the Xperia 1, 5 and 1 Mark 2? How about Magisk Modules? I guess they don't Work since we have to reboot for applying?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] j4nn:
[MENTION=4756773]Miustone[/MENTION], you can safely use apps that need root for their work like iptables based firewall or backup solution apps.

Concerning magisk modules - those that work in 'system less' mode could work too as they do not really make any modification permanently but instead use runtime only 'modification' via bind mounts. You obviously need to start the exploit each time after reboot including magisk start up, which could then start the installed modules. Due to the boot up timing difference with regard to other system services and apps, you may encounter that some module would not work as expected, because it has been started later than designed. It may help to restart influenced services/apps, but that is module specific.

Magisk hide may also work this way, so it can happen that some app detects root because the hide function has been started too late. So that app may need to be force stopped and restarted possibly even with clear of it's data to remove the record that root has been detected.

For permanent changes in system partitions (including permanent root) you would need to unlock bootloader first.

The exploit could be ported for xperia 1 and 5, but as those use kernel 4.14 it would need many not trivial changes.

See the post#28 for more details.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Miustone:
Thank You very much for the Deatiled reply! I will Take a deeper look tomorrow. Wouldn't it be an Idea to get Help from TopjohnWu with this regarding the Handling on locked bootloader states? I could Imagine he could improve the Support for it somehow since it's in our all interest to Bypass the Coming bootloader Checks with Android 11...
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] j4nn:
[MENTION=4756773]Miustone[/MENTION], please stop full quoting a previous post, doing so does not provide any benefit as you see the previous post right above.

The mentioned limitations of magisk modules cannot be solved in magisk. It is obvious that if magisk is started from an exploit, the system had been already fully booted up, so it may happen that a service or app had already started before magisk. That is specific to particular module, what it does and if it needs to be started before something else. As mentioned a restart (possibly with data erase) of such service/app could help to make such module working even from the exploit.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Miustone:
The benefit is that People don't have to read Backwards (they will not even use the search most of the Time). And i am not quoting the First Post (which is iuw) Thats what the Reply Burton is Made for... And it keeps the overview in Case there are Posts between. Or how do You know what iam replying to? Guess You should See that i am aware about what i do based on My Profile Stats. lol

Using XDA since around 2010 btw. We are not on Telegramm or somethin Like that... It's also no Rule or against them to quote Posts but nevermind...

The Rest is good to know. I Work with Magisk since Day One and i am aware how it works with Kernels. But i never ran it without Kernel Patch. Wasn't even aware thats possible Till today. I know supersu was able to do that but how does Magisk do that?

I don't think it has to be script modified or so? How does it Install? And on which way since the Manager App isn't giving a Option for non Kernel Runs!? Really interesting at all... Maybe can i contribute to that too.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] jutphaas:
How do i install this file as it is not an ftf?

How can i flash this, as this is not an ftf file?

The phone os h8324 bootloader still locked and on newest android 10. i want to try make a backup of ta and then go to android 9
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Beetle84:
Newflasher
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Xperia S black:
How can i backup my TA. for xperia xz3? thanks
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] John_forsaken:
Hi great work! Does anyone have a link for the

H8216-52.1.A.0.618

Thanks
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] j4nn:
[MENTION=10943473]John_forsaken[/MENTION], here you are - just uploaded it here:

H8216_Customized UK_1313-4679_52.1.A.0.618_R5C.zip
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] John_forsaken:
Hi just realised my xz2 is still on Android 9 is there a version for Android 9 or is this Android 10 only? Thanks
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] j4nn:
[MENTION=10943473]John_forsaken[/MENTION], you need to switch to the listed firmware if you need temp root. It is android 10 only for tama platform.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] John_forsaken:
Sorry new to all this, how do I update my xz2 to that specific firmware?

Also do I need to unlock my bootloader to do this exploit?

Thanks
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] j4nn:
[MENTION=10943473]John_forsaken[/MENTION], you can use newflasher to flash the fw after unpacking it. Just make sure you unpack also the boot subdirectory and remove persist.sin. You do not need to unlock the bootloader, that is the purpose of temp root.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] John_forsaken:
Thank you

when I unpack it it has three folders..what folders do I use?

---------- Post added at 04:14 PM ---------- Previous post was at 04:13 PM ----------

Thank you

when I unpack it has three folders..what folders do I use?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] j4nn:
[MENTION=10943473]John_forsaken[/MENTION], do not unpack the 3 inner zips into subfolders, just unpack all into a single folder, remove persist.sin and unpack boot.zip into a 'boot' subfolder.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] John_forsaken:
There two update.xml files?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] j4nn:
[MENTION=10943473]John_forsaken[/MENTION], it is original sony packaging, as downloaded via xperifirm having automatic unpack de-selected. That xml file is ignored by newflasher, so it does not matter.

The 3 zips are: the biggest is general system/vendor stuff and the two smaller are oem stuff that defines the customization and the third zip has some info stuff for regulatory licenses or whatever (ltalabel).

I consider this not unpacked state nicer with regard to easier see what are the differences between customizations (in special cases there are differences also in the big system package, but often the big system package is identical).
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] John_forsaken:
Thank you extracted the zips into one folder and didn’t get any errors there so all good, unzipped boot folder

Do I do the partition.zip as well think I read somewhere that needs doing as well?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] j4nn:
[MENTION=10943473]John_forsaken[/MENTION], in my opinion no need - most likely the partitions layout has never changed. I cannot say for 100% since the oldest to the newest, but I checked it few times on some fw versions and it was the same.

Never flashed it personally but most likely it would not harm either as previous layout was the same.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] John_forsaken:
Thank you for the help and advice ??
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] John_forsaken:
Hi I don’t know if you can but looking for help my my laptop gave up on me and was wondering if you know about using Newflasher on Android? Thanks

Edit: don’t worry sorted can now post in there Newflasher so getting help there

Thanks for all your help
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Fredza12:
Is it possible to downgrade back to android 8 and then restore the ta partition?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] John_forsaken:
What happens to apps I move to system after I reboot out of root, do they get removed from system?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] John_forsaken:
Curious what is the persist.sin file used for?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] John_forsaken:
Hey great work with the exploit, flashed with newflasher( that will also backup you ta partition before flash if you wanted) used your exploit, just wondering where to from here because there were a couple of things I wanted to try out like, moving apps to system, Taichi-Magisk, Smali patcher.. would we have any luck with any of those, I do don’t know about what goes on with stuff like that this is my first time rooting in years :/

Thank for your time
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] j4nn:
[MENTION=10943473]John_forsaken[/MENTION], for such things you need normal bootloader unlock - temp root will not allow you to permanently modify system partition. There are ways to do some "modifications" on run time, the same way as magisk does it - system lessly - that is via bind mounts. Basically some magisk modules might work, while some may not due to late start.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] j4nn:
Just uploaded H9436_Customized FR_1316-3076_52.1.A.0.618_R6C.zip and added the link in the first post.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] John_forsaken:
Yea thought as much l, tried a couple of modules, with mixed results, trust my luck the one I wanted didn’t work the Smali patcher as when Magisk starts the module it can’t locate the files in /sbin/.magisk/mirror/system/framework... is that because on reboot they get removed I guess?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nitrams:
Hi. Please help us to add xperia 10 on the device list that could run the exploit. We only have few devs with this mid range phone and i think having it to be able to have temp root, unlocked bl with ta back up can let us do more. Thank you in advance!
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] j4nn:
exploit sources released

Exploit sources for all temp root releases are available at my github here.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Doume®®®:
Hello,

Firstly thanks a lot for your work.

Now my questions :)

- With this root we can do the same thing as the classic root?

- We need to downgrade, but after that we can update to the latest version?

- Can we unroot?

Thanks a lot
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] j4nn:
[MENTION=7529233]Doume®®®[/MENTION], just read the first post, everything you ask is written there.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Xperia S black:
Hello my friend. can you share for this model? H8416-52.1.A.0.618 - xperia XZ3 please.

gracias
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] wmiki75:
I have Sony H8216 Android 10, Build: 52.1.A.3.49.

How can i root it?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] santoshcoolhere:
Thank you for this amazing piece of software. I wanted to edit my build prop, can I do this using this method? I am on a locked bootloader and using the firmware that is supported by the exploit.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] iwilltouchthesky:
Does it have to be the EXACT French locale firmware you posted a link to in the OP: H8166_Customized FR_1313-2540_52.1.A.0.618_R4C.zip

Or can it for example be US fw version 52.1.A.0.618_R4C or any other locale, as long as it's 52.1.A.0.618?

Thank you for all your hard work.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] JDCV:
[MENTION=4418980]j4nn[/MENTION] can U provide H8416 52.1.A.0.618 zip file? . Thanks in advance. Sorry for my English. One question, with this method can be a risk modify lines at System /Vendor/Etc/ mixer paths for increase volume? Thanks
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] KadalSepatuan:
#ask

is there japan ver of xz2 rom supported btw? especially on AU provider... thanks before
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] bullghost:
@j4nn i try your root method for my XZ2 Premium SOV38,

and it say unsupported target.

LOG :

SOV38:/data/local/tmp $ ls -la
130|SOV38:/data/local/tmp $ ./tama
tama-mroot tama-mroot.zip
130|SOV38:/data/local/tmp $ ./tama-mroot
[-] Unsupported target.
1|SOV38:/data/local/tmp $

would you please make it support for SOV38,

my current firmware version is :

SOV38_51.1.C.4.37_1314-0765_R11A

Best Regards
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] yayakuya:
you should flash (convert) to global Rom as mentioned version in first post.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] bullghost:
i just want to backup the ta partition if have any chance,

is it able to backup ta partition after we normally flash another rom from newflasher?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] yayakuya:
flashing global Rom will not erase/ change TA partition as long you exclude any of TA extension files from global Roms you want to flash as it is a must to do. so, don't worry about it
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] argha dhana:
[QUOTE = "j4nn, pos: 82607667, anggota: 4418980"]

Sepertinya versi .618 fw hilang dari xperifirm, beri tahu saya jika Anda memerlukannya - saya masih memiliki yang berikut:

H8116_Customized IBE_1313-3189_52.1.A.0.618_R3C

H8166_FR_1313-2540_52.1.A.0.618_R4C yang disesuaikan

H8216_Customized UK_1313-4679_52.1.A.0.618_R5C

H8266_FR_1313-2481_52.1.A.0.618_R4C yang disesuaikan

H8296_Customized TW_1313-6119_52.1.A.0.618_R4C

H8314_FR_1313-2468_52.1.A.0.618_R4C yang disesuaikan

H8324_FR_1313-2469_52.1.A.0.618_R2C

H8416_Customized IBE_1316-6423_52.1.A.0.618_R5C

H9436_FR_1316-3076_52.1.A.0.618_R6C yang disesuaikan

H9493_Customized HK_1316-2331_52.1.A.0.532_R2C

jadi saya dapat mengunggahnya berdasarkan permintaan.

[/KUTIPAN]
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] kusumanjaya:
H8416-52.1.A.0.618 - xperia XZ3, please.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nekojanaiwa:
hi great works ,can i have link for H8416-52.1.A.0.618 ,thanks btw
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] nekojanaiwa:
hi can i have link for H8416-52.1.A.0.618 ,thanks
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Rhamadhany:
@j4nn can you build for one of the xz2 premium docomo firmware? because I heard info that docomo can't use global firmware ;)
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] j4nn:
Uploaded H8416_Customized IBE_1316-6423_52.1.A.0.618_R5C.zip, link added in the OP.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] kusumanjaya:
Thanks a lot. God bless you.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Rhamadhany:
@j4nn This is the firmware I'm using with kernel version 4.9. Can't this use temproot?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Dajo robb:
Hi Folk,

Would you like to share for xz2c SO-05K?

Or can you share how to flash golbal rom to this device?

Is it possible if I amend the tama file?

I have try to open it but still not understand on this file
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Drie93:
How to make it to work on xz2 AU version?

Xz2 au first android 10 firmware released with January 2020 security patch

So the exploit should work, but how to modify the files on this thread? :v

Link about the firmware https://wadaitoka.com/update/22753
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] darckangel523:
I came to the same conclusion 52.1.C.0.157 may work .

we need to change in exploit.c

static struct offsets offsets[] = {

{ "SOV38-52.1.C.0.157", 0xxxxxxx, 0xxxxx, 0x21dc710, 0x30798, 0x21a1900, 0x21afcd0, 0x119ebf8 },

{ "H8166-52.1.A.0.618", 0x2410000, 0x196f6f8, 0x21dc710, 0x30798, 0x21a1900, 0x21afcd0, 0x119ebf8 },

{ "H8216-52.1.A.0.618", 0x2410000, 0x196d188, 0x21dc710, 0x30798, 0x21a1900, 0x21afcd0, 0x119ebf8 },

{ "H8266-52.1.A.0.618", 0x2410000, 0x196f0b8, 0x21dc710, 0x30798, 0x21a1900, 0x21afcd0, 0x119ebf8 },

{ "H8296-52.1.A.0.618", 0x2410000, 0x196f0b8, 0x21dc710, 0x30798, 0x21a1900, 0x21afcd0, 0x119ebf8 },

{ "H8314-52.1.A.0.618", 0x240f000, 0x196a4e0, 0x21dc710, 0x30798, 0x21a1900, 0x21afcd0, 0x119ebf8 },

{ "H8324-52.1.A.0.618", 0x240f000, 0x196c410, 0x21dc710, 0x30798, 0x21a1900, 0x21afcd0, 0x119ebf8 },

{ "H8416-52.1.A.0.618", 0x2410000, 0x196c528, 0x21dc710, 0x30798, 0x21a1900, 0x21afcd0, 0x119ebf8 },

{ "H9436-52.1.A.0.618", 0x2410000, 0x196e450, 0x21dc710, 0x30798, 0x21a1900, 0x21afcd0, 0x119ebf8 },

{ NULL, }

};

i compiled the kernel but i don't know how to get selinux_enforcing and memstart_addr offset. if anyone else can help ..
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] aafp:
noob here, can I install camera 2 api magisk module on temproot ?? thanks.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Dajo robb:
Here is the result, it should learn more how to link the data.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Drie93:
Please @j4nn help us sov37 user 😭
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Yametekudastop:
Is this method also working on android 9 on global rom? or this method only works with android 10?

Due to nfc issue i can't upgrade it to android 10

and if this method only works with android 10, can i make the nfc works somehow?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] hibikase:
Hello, can I modify font using this temporary root? just got bored with system font.

thanks
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] yangdongle:
how about xz2c(so-05k) japan phone
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] yangdongle:
That's simple, AU phone can flash the internetional rom,just flash the right version,then you can get it ~you can mix the modern and rom
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] ZayedCom:
Will this exploit still work with Xperia XZ3 on the firmware 52.1.A.3.92?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] yangdongle:
@j4nn Can you build for the japan phone version .Such like sov38 so-05k sov37 , temp root is nesscessary for japan phone .if you want to use volte in my country !
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Drie93:
￼tried to disable dmverity😁

Failed miserably 🤣🤣🤣
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] David Tegar31:
Will it work with Xz2p Japanese version like Au,Softbank,Or Docomo ?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] fuyuchip:
日本の端末の場合はそのままでは不可能なので

ROMを変える必要があります。

このIBEのH8116_Customized IBE_1313-3189_52.1.A.0.618_R3C.zipを入れてください

ただしこのROMを入れるとおサイフケータイなどの機能は使えなくなりますのでご注意ください

Mod Edit:

In the case of Japanese terminals, it is impossible as it is

You need to change the ROM.

Please include H8116_Customized IBE_1313-3189_52.1.A.0.618_R3C.zip for this IBE

However, please note that if you insert this ROM, you will not be able to use functions such as Osaifu-Keitai.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] John_forsaken:
Could you do an updated magisk 22.1?
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Sjll:
I backup some partitions which are not included in stock firmware before/after unlocked.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] Sacktreter:
I don't like English because I can't do it so well, so I translated into English with google Translator. Origin Message in German as spoiler

Are these the TA partitions and other important partitions that I need to back up to get the missing functions i lose by opening the boot loader?

I don't want to open my bootloader, so I've got good results with this version.

I have temporary root rights, unfortunately this only works for a few restarts and then the smartphone crashes continuously when I enter the last command "./magisk-start.sh -3".

- This is not a solution for daily use.

My goal is not to open the boot loader. But by the temporary root access I can install most root programs and set them as I need it. Adblock and so on...

Unfortunately, I have to do without the root firewall, but with NetGuard Firewall I can live without root.

Many advantages nevertheless arise: All other programs such as .B. Banking, PayPal run perfectly, Bravia works and all would be happy because no programs discover the root access because it is only temporary....

So we only need a reliable root access in order to make a modification to the system from time to time. But I can't always take my laptop with me to give root via the "adb-shell". You should be able to enter something about the terminal to get root for a short time. This is a solution I'm thinking about.

Spoiler content hidden.
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] joshuajau:
I brought my Xperia XZ2 (SOV37, Single SIM) few months ago, and I want to gain root access to backup my .TA partition, I'm currently run firmware ver 52.1.A.3.49 (Android 10, H8216 Firmware, I get this phone with the firmware)

1. Can I use this method to gain root access?

2. About the backing up .TA partition, I already try to backing up my TA partition using Sony Mobile Flasher by Androxyde (0.9.33.0), it was backing up sucessfully but I'm doubt if I on the right track (I see 2 backup .TA, 1.ta (the TA Partition 1) and 2.ta (the TA Partition 2), 12kB and 837kB). I also try using NewFlasher (also get the 2 .TA files, but in dump one, 436kB and 630kB), is there any "proper" way to backing up the .TA files before proceeding rooting or unlocking the bootloader?

Thanks in advance :D
[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MisterFynn:
Hay, I haven't tested it, but have you tried the app: Termux?

Maby it works, good luck.

Spoiler content hidden.