yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XA2 Guides, News, & Discussion] li0nh3art3d:
judging by the error, it would seem like there's something with the permissions going on. are you logged into windows on the same user that you created the files on? :confused:
[Sony Xperia XA2 Guides, News, & Discussion] matitino:
Yes, I'm the administrator and the only user...

Inviato dal mio H3113 utilizzando Tapatalk
[Sony Xperia XA2 Guides, News, & Discussion] li0nh3art3d:
Hmm ? maybe you could try on another PC. I really don't know what else it could be since it worked fine for me on windows 10.

your device already has an unlocked bootloader correct? ?
[Sony Xperia XA2 Guides, News, & Discussion] matitino:
Yes correctly unlocked, tomorrow I'll try on another pc...thanks

Inviato dal mio H3113 utilizzando Tapatalk

updating: with the other pc he started at the first shot ... thanks to everyone
[Sony Xperia XA2 Guides, News, & Discussion] matitino:
However, I am very sorry to have unlocked the bootloader, I have no official updates and there are no custom roms
[Sony Xperia XA2 Guides, News, & Discussion] maksi1plus:
Project Treble

Who is Experiencing with Project Treble!? :)
[Sony Xperia XA2 Guides, News, & Discussion] Razor10707:
Hello I'm kinda new to the modding of xperia devices and stuff seems very different than to huawei i have read about this thing called DRM keys are these still a thing on oreo? And as if yes can we backup this? As i have read many threads that unlocking bootloader will wipe this key and you need to backup to lock bootloader and get warranty etc back but I couldn't find a thread about backing it up on oreo if theres a method someone could help me with it?

(PS: i be getting this phone tomorrow)

---------- Post added at 03:26 PM ---------- Previous post was at 03:21 PM ----------

And another thing what does actually happen when losing the drm key? As i read stuff like sony apps wont work or camera wont but some say only otas wont work and warranty is lost
[Sony Xperia XA2 Guides, News, & Discussion] maksi1plus:
sorry for my English

does not work only update, in all applications the sony and camera are working! guarantee is not lost
[Sony Xperia XA2 Guides, News, & Discussion] Razor10707:
Oh so if i get this straight warranty stays (am in Hungary EU) and everything will work except OTAs? Thats a big relief
[Sony Xperia XA2 Guides, News, & Discussion] Razor10707:
And one more thing what's the difference between h4113 and h3113? The sim slots or something else?
[Sony Xperia XA2 Guides, News, & Discussion] srdjanLeo:
EU regulation clearly states that unlocking and rooting MUST NOT affect warranty in any way. So, you're god to go. ?
[Sony Xperia XA2 Guides, News, & Discussion] axxx007xxxz:
Yeah, that's how it should be, but if you go to a service centre with, say, Magisk on your device, they probably won't even bother to check it, even if the problem has literally nothing to do with software (eg. broken volume rocker).
[Sony Xperia XA2 Guides, News, & Discussion] Razor10707:
Cool as I planned to unlock bootloader this summer and everything else works on your XA2? Except OTA? As there's many flashtool so OTA is my least concern just warranty and camera as before ppl said on older phone bootloader unlock wiped TA and with that camera function's like noise cancellation etc didn't work anymore but if those work on your phone then I'm definitely unlocking:P
[Sony Xperia XA2 Guides, News, & Discussion] Razor10707:
Well with my huawei i went in with unlocked BL when my speaker got blown out and they replaced it without asking questions

---------- Post added at 06:32 PM ---------- Previous post was at 06:31 PM ----------

But then if i get this Right in EU other than DRM key and OTA loss everything will stay normal? So warranty camera noise cancellation etc works like before? As if yes i unlock in a week or so
[Sony Xperia XA2 Guides, News, & Discussion] srdjanLeo:
Drm Keys won't affect camera performance. Images are as good as they were before unlocking bootloader. This used to be issue with older models, not any more.

---------- Post added at 07:11 PM ---------- Previous post was at 07:09 PM ----------

They have to. Because if they refuse, you can make them pay you a lot of money by simple suing them. Law is Law. :)
[Sony Xperia XA2 Guides, News, & Discussion] Razor10707:
Oh cool so then really last question Sorry hehe? so the all works and warranty shouldn't be affected too stuff like sony softwares work too? For example xperia assist or battery care? And if i want to lock the bootloader later is it possible? And then so i just need to say bye to OTA right?

---------- Post added at 08:09 PM ---------- Previous post was at 08:08 PM ----------

And sorry again i know i ask alot but back on Huawei there wasn't this kind of stuff so I went as far as to install different phones firmwares etc and this seems similar to it but so much different with the TA partition and DRM key stuff
[Sony Xperia XA2 Guides, News, & Discussion] EwokIng:
I never did get my Xperia XA Ultra bootloader unlocked. I couldn't get into fastboot. The xa2 still has Android 8.0 .0 on it but it does come with a Sony system update. I tried not to update but it ended up updating somehow anyway. It's still 8.0.0. Step by step instructions on how to unlock Bootloader and root would be appreciated. Maybe a video tutorial? Something definitely went wrong with my Xperia XA Ultra and I don't know what it was.

---------- Post added at 01:44 AM ---------- Previous post was at 01:41 AM ----------

Interesting thing to note... Google Now Launcher was incorporated into the stock Android Launcher on the xa2. I believe Google Assistant was also Incorporated somehow but that may still be a separate application. I haven't really looked through all the system apps. I just know that when I swipe left from the home screen I get the Google Now launcher panel.
[Sony Xperia XA2 Guides, News, & Discussion] li0nh3art3d:
Hey bro, the Emma Flash tool from the sony open devices page is now working, and I was able to successfully downgrade my baseband to 4.102 firmware, and now Xposed works again ?
[Sony Xperia XA2 Guides, News, & Discussion] makotech222:
Good to know. I think i'm all flashed out on this phone though. So tired of breaking it and having to reinstall everything lol. I think ill wait for an xposed update or something.
[Sony Xperia XA2 Guides, News, & Discussion] srdjanLeo:
No ota after unlocking. And as I am aware there is still no way to relock bootloader. I woukd like to relock it just to avoid stupid warning at the boot ?

Battery care works just fine, I think Assist too, I don't use it so I cannot say with certanty.

Only problem I found so far is that stupid warning about unlocked bootloader. ?
[Sony Xperia XA2 Guides, News, & Discussion] Razor10707:
Camera works too? No green pics? And for assist can you try it with enabling game mode and selecting a game and opening the game? It should say in the notification game mode enabled if it does then it works. thank you in advance.

Oh and for the error on boot the latest flashtool should show an lock option if it detects unlocked phone atleast that's what i read
[Sony Xperia XA2 Guides, News, & Discussion] beezerhale:
Hey - I am stuck, read through and didn't find the answer here. I'm a newbie to the Sony Xperia, but have unlocked and rooted many Samsung devices. Here's the story:

I bought the XA2, checked and the bootloader was unlockable. I unlocked it. No problem. Now I want to install TWRP and root. I don't want to put a rom, just want ability to remove some apps, etc. I am NOT able to boot to a recovery screen, but I AM able to get the phone to connect via ADB (screen blank, blue light indicator).

I am following these instructions pasted below. I think my issue comes with where or how I am pointing to the path when typing in the command shell. I can see the device connected in ADB, but when trying to flash TWRP it gives me some indication the path is incorrect. -- Any help or idea is appreciated. I have ADB saved in the C folder, but TWRP and Magisk saved in a folder on the desktop titled Sony and on the sd card for the phone. I know I am almost there and I am missing some simple step or key stroke.

--- I am following this:

Install via ADB

Open the folder where your TWRP Recovery .img file is saved.

Then open a CMD window inside that folder. To do that, Shift + Right click on any empty white space inside the folder and then select Open command window here.

Connect your Android device to the PC. Type the following into the command window to boot your device into bootloader/fastboot mode:

adb reboot bootloader

└ If your asks for permission to “Allow USB debugging”, tap OK.

Once your device boots into bootloader mode, type this into the command line.

fastboot flash recovery twrp-2.8.x.x-xxx.img

└ Here modify twrp.img with the name of your TWRP recovery .img file.

Once TWRP is successfully flashed on your device, type this final command to reboot your device.

fastboot reboot
[Sony Xperia XA2 Guides, News, & Discussion] Blinkenn:
I'm stuck on unlocking the bootloader. When I run the oem unlock command: fastboot -i 0x0fce oem unlock 0x<insert your unlock code>

It's is saying fastboot: unknown option --i

edit: Had to find a version of fastboot older than 28, e.g. 23 worked and had the -i option for specify a custom USB vendor.
[Sony Xperia XA2 Guides, News, & Discussion] Razor10707:
Hello sorry I'm not sure about the TWRP issue maybe it's the wrong twrp img? As 2.8.x.x is an older twrp? And could you tell me what works and what not after you unlocked the bootloader? Like nk green pics? And software wise all works except OTA?
[Sony Xperia XA2 Guides, News, & Discussion] beezerhale:
I'll check out the different twrp versions. As far as I can tell, everything is working fine. Camera is good, wifi, data, mms, calling. I haven't run into a problem.
[Sony Xperia XA2 Guides, News, & Discussion] Razor10707:
Oh very good it seems sony finally not punishing ppl for unlocking the bootloader and wait i found a twrp that's in the ultra threads but in theory should work with the normal XA2 as well let me link it to you

---------- Post added at 05:21 PM ---------- Previous post was at 05:17 PM ----------

Try these twrps https://twrp.me/sony/sonyxperiaxa2.html
[Sony Xperia XA2 Guides, News, & Discussion] beezerhale:
I sure will. Thank you. It'll be the weekend before I can get to it. I'll report back.
[Sony Xperia XA2 Guides, News, & Discussion] Razor10707:
One more thing does the X-reality engine works? You can check by enabling super vivid mode in display settings does it make any difference? Or it doesn't work anymore oh and camera low light performance same as before? Or greeny? And noise cancellation works in video use? These are all that I'm concerned off and I'm really scared of losing any especially the camera and X-reality engine xdd.
[Sony Xperia XA2 Guides, News, & Discussion] Razor10707:
Guys would anyone be willing to try the DRM fix and patch of the XZ Premium? They only modify the system and vendor partitions so with a backup and flashtool with firmware should be enough if something's goes wrong but please only try this if you know what you're doing and sure you can recover as nor me nor the developer will be responsible for whatever happens and don't take this msg as a must do but as an option to try if you're willing to and sure about it!
[Sony Xperia XA2 Guides, News, & Discussion] matitino:
help ... I downloaded the latest version of flashtool that is compatible with our xa2, I tried with the blue button to re-lock the bootloader but it says "your device can not be relocked". does anyone have solutions or do I have to keep it unlocked for life?
[Sony Xperia XA2 Guides, News, & Discussion] Razor10707:
Not sure about this but flashing a full firmware with flashtool should lock it as well. but can you tell me if X-reality engine (super vivid mode) and camera noise cancellation in low light and Xperia assist work please?? As those the only things that keep me from unlocking and I'd like to unlock the bootloader really badly xdd
[Sony Xperia XA2 Guides, News, & Discussion] matitino:
everything works except obviously the updates ota ... I will try to flash with flashtool ... thanks
[Sony Xperia XA2 Guides, News, & Discussion] Razor10707:
All works perfect? Finally Sony not punishing us with noisy pictures etc and good luck don't take it for money tho i just heard a full flash of stock firmware can lock the BL (ofc don't flash TA if it's available in the firmware as flashing other phones or firmware TA leads to insta brick afaik)

Ota is my least concern with flashtool tbh
[Sony Xperia XA2 Guides, News, & Discussion] matitino:
when I create the .ftf file do I have to exclude .ta files?
[Sony Xperia XA2 Guides, News, & Discussion] Razor10707:
Phew not sure atm? It flashes all partition that's in ftf or you can select what to flash? If flashes all exclude TA as you don't wanna flash that
[Sony Xperia XA2 Guides, News, & Discussion] matitino:
I can select what I want, but in a guide (not specific for our xa2) I had read about deleting the .ta files. but what are these files ... what are they for?
[Sony Xperia XA2 Guides, News, & Discussion] Razor10707:
They contain the DRM keys bootloader and some camera files (well you say camera fully working so i guess camera files aren't there anymore) and TA gets wiped at BL unlock and can never come back without a backup as it's a special partition for all phones, you hard brick by using another phones TA and must need to do a Jtag procedure
[Sony Xperia XA2 Guides, News, & Discussion] matitino:
I understand that it is better not to put them ... right?
[Sony Xperia XA2 Guides, News, & Discussion] Razor10707:
I wouldn't risk it as i did see some ppl use other ppl TA with editing SN and IMEI etc but most still got a paper weight in the end so if you lived without DRM and didn't notice any difference in camera quality and software functionality I wouldn't risk using another TA and just live without it
[Sony Xperia XA2 Guides, News, & Discussion] Razor10707:
So then everything was worked as usual and before right? No defect in software except OTA just beacuse I'm a enter away from never going back and wanna make sure all works like before.
[Sony Xperia XA2 Guides, News, & Discussion] li0nh3art3d:
Yeah man everything works, just not xperia companion and OTA's. You get a message when you boot it says "Bootloader unlocked ? please lock the bootloader device can not be checked"
[Sony Xperia XA2 Guides, News, & Discussion] maksi1plus:
https://xdaforums.com/xperia-xa2/development/rom-lineageos-15-1-t3806439

Lineage OS
[Sony Xperia XA2 Guides, News, & Discussion] matitino:
I tried this morning half an hour, it was fine but did not go the fingerprint and then I took it off
[Sony Xperia XA2 Guides, News, & Discussion] axxx007xxxz:
Could you run this command?

getprop ro.hardware.fingerprint

It'll tell you which fingerprint sensor your phone has.
[Sony Xperia XA2 Guides, News, & Discussion] matitino:
sorry but I'm a little ignorant, where I use this command? :confused:
[Sony Xperia XA2 Guides, News, & Discussion] li0nh3art3d:
Fastboot
[Sony Xperia XA2 Guides, News, & Discussion] axxx007xxxz:
You can run it on stock ROM (using a terminal emulator app). Since fingerprint sensor should work fine on LineageOS, you may have a different sensor.
[Sony Xperia XA2 Guides, News, & Discussion] beezerhale:
The super vivid mode turns on and it seems to make things brighter, but I didn't really like it. The camera is a little dim, but not green at all. Adjustments in the settings and it takes good pictures.
[Sony Xperia XA2 Guides, News, & Discussion] Meloferz:
Hi, I would like to know if after unlocking the bootloader, you are able to use Netflix or Pokemon Go for example. As I'm planning to unlock my bootloader to try ROMs and then go back to stock, but I use a lot Netflix.
[Sony Xperia XA2 Guides, News, & Discussion] beezerhale:
No, Netflix has disappeared from my Play Store. I didn't have it downloaded on my phone and it isn't a deal breaker for me. I can't imagine watching on a 5 inch screen. :) I am sure there is a way to side load it or use Aptoide to load it. I'll check that out soon.
[Sony Xperia XA2 Guides, News, & Discussion] li0nh3art3d:
Yeah I just downloaded the apk from one of those apk mirror sites. I'm on the ultra 6" so it's a lot more feasible for me ha
[Sony Xperia XA2 Guides, News, & Discussion] beezerhale:
Good deal. I'll probably try Aptoid, but I'm not there yet. Please let me know if the apk works for you.

---------- Post added at 09:56 PM ---------- Previous post was at 09:52 PM ----------

I read yesterday that Flashtool now supports the XA2. - My bootloader is unlocked. Next is twrp and then root with magisk. I plan to follow the instructions found here: https://xdaforums.com/crossdevice-dev/sony/root-root-stock-firmware-modern-sony-t3558904. Any ideas, plans, or advice before I start? :)
[Sony Xperia XA2 Guides, News, & Discussion] li0nh3art3d:
The apk indeed works, I've been watching movies all day in fact. Twrp for me only works from fastboot. I initially was able to sideload the TWRP zip and be able to boot to recovery using GravityBox power menu, however I upgraded firmware and tried to sideload the zip again but after flashing the zip it only boots to TWRP, and won't reboot to system. But it works fine if you fastboot boot the twrp img from a pc.

I would put magisk.zip on your SD card and just flash it with TWRP. I patched the boot.img on my H3123 and it worked, I even did it on my H3223, but when I downgraded to 4.102 firmware, I tried again and it booted however without root. But after flashing it with TWRP, I was rooted.

If you use Xposed, I suggest flashing 4.102 firmware since it won't work with the newer ones (won't even boot). If you don't, I know Magisk works with 5.59, possibly even higher.

Stick with fastboot twrp if you wanna be safe. You need a PC but it's less headache than re-flashing everything if you get stuck in twrp. Once you fastboot twrp, flash magisk, then install magisk manager once u boot to system.
[Sony Xperia XA2 Guides, News, & Discussion] beezerhale:
OK, thanks for the info. Again, I'm new to the Sony phone. Samsung phones were easy. ?

So, if I follow the instructions from the link then I'll be ok?
[Sony Xperia XA2 Guides, News, & Discussion] li0nh3art3d:
I had a note 4 before I got my XA2 ultra. I just started learning sony dev. I wouldn't say it's harder once you get the hang of fastboot and get the proper drivers working properly.

Just follow my instructions here:

1) (optional) *IF* you plan on using Xposed, use sony's emma flashtool from the "Sony open devices" webpage to downgrade to 50.1.A.4.102 firmware. Xposed will not work on 5.59. To make emma work, you need to boot into flash mode which is power&vol-. This will make you lose all data if you decide to downgrade for Xposed.

If you do not want to use Xposed, you can skip ahead to step 2

2) Download the twrp.img file to your pc and put it in your adb tools/fastboot folder. If you want to make it easier you can rename it "twrp.img".

Download the magisk.zip file to your phone or SD card.

3) Boot your phone into fastboot mode (power&Vol+), get to the same prompt as when you unlocked your bootloader, and run the command "fastboot boot twrp.img"

4) Enter your password in TWRP (if you've set one up already), swipe right to allow modifications, then install(flash) the magisk.zip you downloaded in step 2. Then reboot, and you are successfully rooted, all you need to do is install the magisk manager apk from magisk's website.
[Sony Xperia XA2 Guides, News, & Discussion] beezerhale:
OK, thank you so much. I think I've almost read enough to continue. ? Last thing (maybe)... I am just looking to remove bloatware after root, maybe add Netflix back. Any pressing issue that would make me need xposed?
[Sony Xperia XA2 Guides, News, & Discussion] beezerhale:
I am running into this ....
[Sony Xperia XA2 Guides, News, & Discussion] li0nh3art3d:
Google "minimal adb and fastboot" and try that. It's a lot simpler. That's what I always use instead of the tools that come with android studio

---------- Post added at 05:47 PM ---------- Previous post was at 05:44 PM ----------

I only use the GravityBox module which is handy but if you don't use it just skip to step 2
[Sony Xperia XA2 Guides, News, & Discussion] beezerhale:
Got it. I'll report back. Thank you!
[Sony Xperia XA2 Guides, News, & Discussion] beezerhale:
Working on it now. Typing adb devices recognizes a connection when the phone is on, but not when in fastboot (phone off, power + volume up then blank screen with blue light). I'll keep playing with it.
[Sony Xperia XA2 Guides, News, & Discussion] beezerhale:
I did it! TWRP is loaded and flashing magisk now.

The problem ... I named the twrp.img file just that, "twrp.img", but the laptop was already adding the extension. Taking the .img off worked. Thank you for the help!
[Google Pixel 2 XL Questions & Answers] ncsuwolfs:
So I just received my new pixel XL 2 and have unlocked the bootloader but not critical and now I can't get anything in fastboot to work any ideas? Should I critical unlock?
[Google Pixel 2 XL Questions & Answers] Badger50:
1. Are your SDK platform-tools and device drivers up to date??

2. Yes, you should unlock critical once fastboot is responding properly.

3. Are you using a desktop or laptop pc?

4. Are you using a good USB A-USB C cable? Not the one that came with your phone.

5. When in fastboot mode, and you type in fastboot devices, do you see your phone ID# come up? If not, you've got a driver problem. ?
[Google Pixel 2 XL Questions & Answers] Larzzzz82:
Your number 5 is my number 1. Everytime, lol.

OP, I'd unlock critical. I didn't and then they updated the bootloader. The system wouldn't flash without the updated bootloader and the bootloader wouldn't flash with critical locked.
[Google Pixel 2 XL Questions & Answers] Az Biker:
And... make sure ALL the files you're flashing via fastboot are IN the same platform tools folder WITH the fastboot application :D
[Google Pixel 2 XL Questions & Answers] ckarrow2:
I've always kept my platform tools in C:\platform-tools

Then I add a PATH statement to environment variables. This allows me to use adb and fastboot in any directory.

Can you see any issue doing this? I've never had any problems.
[Google Pixel 2 XL Questions & Answers] mac796:
That's how I do it. That way I can open a command window and flash from anywhere
[Google Pixel 2 XL Questions & Answers] uicnren:
There is no issue doing it this way.
[Essential Phone Questions & Answers] cfclay:
I understand how to do it, but barely. I don't understand what image file I need to download from this list:

https://www.essential.com/developer/current-builds
[Essential Phone Questions & Answers] seabro01:
Pick the one that says all other carriers (NMJ51B) unless you have Sprint or Telus.
[Essential Phone Questions & Answers] The_Automator:
also if you go to the beta page on the site there is a new option (since i was there last at least) that says "i have installed the beta and want to go back). This may take some of the guess work on reverting to stock.
[Essential Phone Questions & Answers] cfclay:
Thanks for the info, I didn't see that message. I did manage to get this done, however I chose the " other carriers " build . Seems okay, what would be the issue?

I believe I downloaded Build NMJ32F and then got a prompt for an update.

What is the different between the "downloads" and the "builds"?
[Essential Phone Questions & Answers] The_Automator:
On the Essential site? The downloads section appears to be "support" files it has the drivers you can install on your computer so you can run adb/fastboot from a PC it has update files for the roms(kernel+wifi) that were likely pushed through OTA's etc. The builds section contains all of the previously released and current roms. The Beta section contains all of the pre-release roms.