yashsingh1/xdaforums huggingface dataset:
[Google Pixel 4a Questions & Answers] jmtjr278:
Most roms for this device are packaged with gapps baked in. What are you trying to flash? Maybe if your more specific, someone here can give the assist.
[Google Pixel 4a Questions & Answers] jackbob1234:
I'm trying to flash the Opengapps pico zip on the resurrection remix nogapps build. My device is rooted with magisk canary, but when I use adb sideload, I get an error. So the zip doesn't install.
[Google Pixel 4a Questions & Answers] IntenseColor:
What's the error you're getting with adb sideload?
[Google Pixel 4a Questions & Answers] jackbob1234:
error says signature verification failed, error 21.

if that is not helpful I can try sideload it again and get the exact wording of the error
[Android Q&A, Help & Troubleshooting] samtronxindia:
So Google removed all source code for Android support and Androidx libraries from the AOSP distribution.

I already have a compiled AOSP on my machine, and now I have downloaded and compiled AndroidX separately as well from the AndroidX googlesource website.

So now I want to include these AndroidX compiled libraries with my AOSP distribution, so that when I compile the AOSP source code, it (AOSP) will get compiled with the locally compiled AndroidX libraries. How do I achieve this?
[Touch Diamond, MDA Compact IV General] shaks1979:
Hi

I was wondering if it is possible for btmusic to start and enable the bluetooth audio gateway automatically when loading tomtom.

I don't want btmusic running all the time when tomtom is not loaded. I just ant it to load up and enable the audio gateway to my bluetooth car kit when tomtom is loaded then continue running so it can reconnect after a call. This needs to be completely seamless so I don't have to manually enable anything.

Would I have to use something like SKschema?

I have created scripts/batch files on dos/windows and linux before and I guess I need to do something similar however I have never created any kind of script on windows mobile before.

Also btmusic doesn't seem to use any kind of command file options as far as I can tell. VJVolubilis does however it does not reenable the audio gateway after a call which btmusic does so that is out of the question.

Also ideally I would like the script to kill btmusic.exe when tomtom is closed.

Is any of this possible? I would be happy to us VJVolubilis if it could reconnect after phone calls but I don't think it can.

Shaks
[BLU R1 HD Questions & Answers] nyder:
Phone says "out of storage", had plenty of room, did a factory reset, still says it.

Android 6.0, Android Security patch level August 5, 2017. Hope that tells you which version I am on.

Noticed a bit ago it wouldn't let me update files, said I was out of storage space. Pretty at the same time my SD card needed to be reformatted.

Need to take a picture today, can't, says there is no room. So I did everything google said. Deleted caches, moved stuff on my phone. Didn't change. So I did a factory reset via the OS. over 9 gigs of free space on the internal memory, can't update google apps, can't take pictures with my camera. But it didn't seem to have a problem redownloading my previous apps (which isn't much).

Any ideas on how to fix this? Google isn't being a help. Do I need to jump into recovery and do something?

Want to add my phone has the bootloader and one of the modified firmwares from here. Not on the latest though for this phone.

Update:

Wiped every partition (including system), then installed 9.0 and the 9.2 update. Still have the same problem, can't update/download apps because it says there is no storage space. System reports 10gb free. I guess it has to be a hardware issue. I really don't want to have to buy another phone, such a hassle.
[BLU R1 HD Questions & Answers] nyder:
No one? Damn, I can't believe I am the only person having this problem, but google **** doesn't help.

Guess I'll have to read up on how to reset and reload the images and hopefully not **** my phone up (like I did to my Fire TV, please press F for respect, it served me for a few years.)
[Sony Xperia XZ Premium Questions & Answers] bobsright:
Does anyone know which stock firmware regardless of version comes with VoLTE enabled?
[Sony Xperia XZ Premium Questions & Answers] mad0701:
VoIP (Sip) Provider you can add under telephone settings.

Normal calls via LTE must be supported from your provider. But it didn't know if it's works with a stock rom

Gesendet von meinem SM-P905 mit Tapatalk
[Sony Xperia XZ Premium Questions & Answers] numba1icon:
Tmobile got their note 4 with volte support. Maybe it can be baked into other build, if it's not already.
[Realme X50 Pro Questions & Answers] fourpsk:
I bought "Realme X50 Pro, 12 + 256GB, Dual SIM, Rust Red (RMX2075-red-12-256)" on Amazon.es.

However, it arrived with a single SIM specification:crying:

The physical SIM slot looks like a Dual SIM slot, is there a way to make it available?

Will it work if I burn another ROM?
[Realme X50 Pro Questions & Answers] bictu:
Yeah there's an eSim, not sure if you can use it as well as a regular Sim tho :/
[Realme X50 Pro Questions & Answers] Ducekokan:
There will be no words anywhere eSimwhere you saw it?
[Realme X50 Pro Questions & Answers] hliang98:
在中国，这款手机是双卡双待的 没问题，但是听说欧洲版本和中国版本系统不能互刷？或者你可以试试使用twrp刷入中国大陆的版本试试
[Realme X50 Pro Questions & Answers] Dlink32:
Hello,

I asked Realme support several questions. The Chinese versions are indeed dual SIM. The Europe version is simple SIM. The Chinese version is materially incompatible for operation in Europe. Flashing Europe Rom on a phone made for China will not work.
[Realme X50 Pro Questions & Answers] RUBIANO:
Remove the SD slot to see if it has two bays, one covered and the other not, this is because the operators do not want competition, but if you release the bootloader and install the global ROM that bay will be active and the only thing to do is remove carefully the plastic so that it can accept another sim.
[Sony Xperia 5 II Guides, News, & Discussion] Miustone:
Here was a Guide. Someone said people don't care about Me or My Work so...​
[Sony Xperia 5 II Guides, News, & Discussion] Miustone:
Welcome to the Family Xperia 5 Mark II Users <3
[Sony Xperia 5 II Guides, News, & Discussion] gspbeetle:
Thanks. Looks like it is the same procedure like 1-ii 10-ii.

I know this is obvious, but in case someone forgets, remember to unlock bootloader, you need to unlock "developer options" by tapping the "build number" 10 times in settings>about phone, turn on "OEM unlocking" in system>developer options.

Not too sure what is this step for?
[Sony Xperia 5 II Guides, News, & Discussion] Kocane:
Unlocking bootloader on these newer Xperia devices doesn't bring the same limitations to the camera as the old days, does it?
[Sony Xperia 5 II Guides, News, & Discussion] Miustone:
It clearly disables still the Display Enhancement known as Video Optimization, besides that may it mean You can't play 4K HDR anymore over Netflix, limiting it to FHD/HD Playback. Additional will You not being able to use the Xperia Services anymore which shouldn't hurt anyone. With My MARS_SOM can You get even better Display Optimizations combined with 4K HDR Playback on all possible apps. Still searching a Tester on the Xperia 5 II for it actually...
[Sony Xperia 5 II Guides, News, & Discussion] Miustone:
Updated the Guide
[Sony Xperia 5 II Guides, News, & Discussion] htcsnap93:
Respect for all your effort, thank you very much!
[Sony Xperia 5 II Guides, News, & Discussion] vyp54:
Any way to revert back after this? How to relock bootloader?

Xperia Companion won't repair since the bootloader is unlocked and Xperia Flash Tool (Emma) gives me an error (screenshot) and FlashTool doesn't support Xperia 5 II yet.
[Sony Xperia 5 II Guides, News, & Discussion] Kocane:
Thanks. Does this include creator mode?
[Sony Xperia 5 II Guides, News, & Discussion] Miustone:
"fastboot oem lock" locks the Bootloader again. Just use the Companion to repair after that. Never use Flashtool on newer Devices (2019+), just use NewFlasher and Fastboot. That's the failsafe way...

[MENTION=4619608]Kocane[/MENTION] it isn't a DRM Bypass, so No. But it enables 4K Playback and various Pixel 4 XL and Qualcomm configs that enhance the Display on other Ways like Automated Whitebalance, variable vsync and more. The actual GitHub Versions are pretty neat actually in that view...
[Sony Xperia 5 II Guides, News, & Discussion] vyp54:
"fastboot oem lock" and 7 seconds of waiting did the charm. Thanks!
[Sony Xperia 5 II Guides, News, & Discussion] snikica00:
!

[MENTION=4756773]Miustone[/MENTION], thanx for your help here.can you tell me what I should choice on Sony Website for unlocking BL ? xperia 5 ii doesn't exist...thanx
[Sony Xperia 5 II Guides, News, & Discussion] nanu*1:
Does relocking the bootloader and repairing via companion put the device back to a factory state with the DRM keys etc for 4k playback?

Just want to make sure before I break something I can't fix…

Thanks!
[Sony Xperia 5 II Guides, News, & Discussion] warrip:
Couldn't make this work, tried several times only got either a boot loop or a message saying that android couldn't boot so I had to either try again or do a full wipe. Any idea?
[Sony Xperia 5 II Guides, News, & Discussion] Miustone:
Not Sure, i think other Xperia 5 II User will know how since some are unlocked yet If i'm Not wrong

Yes. That is the Case since the 2019 Xperia Lineup. No worries! (:

You should reflash the Stock Firmware with newflasher before trying again. Take a look If it boots untouched and Install the Magisk Manager again (to make sure the Firmware is ok)

Have You also did the vbmeta step? You could try to skip that step if You tried it with...

You could also try to Patch the Boot Image with Magisk 21.X. Just Go in the Magisk Manager to the Settings and select the Beta Channel. Go Back to the Main Page for patching and Patch your Image with the 21.X Beta version.

Hope that helps!
[Sony Xperia 5 II Guides, News, & Discussion] eqbirvin:
What does your ROM/Magisk patch include/do?? Thank you for the guide mate!
[Sony Xperia 5 II Guides, News, & Discussion] Ploedman:
So you don't need to backup the DRM Key like the old models Z3 / Z5 to gain back the functions?
[Sony Xperia 5 II Guides, News, & Discussion] GnaXi:
I can't figure out how to unlock this device? O_o'

I've followed the instructions here: https://developer.sony.com/develop/...d/unlock-bootloader/how-to-unlock-bootloader/

But running: "fastboot oem unlock 0x[unlock code]" results in:

FAILED (Write to device failed (no link))

fastboot: error: Command failed

Any idea what I could be doing wrong?
[Sony Xperia 5 II Guides, News, & Discussion] gspbeetle:
5 ii dont have 4k res anyway. I think I will keep it unlocked like 10 ii. It will get downsampled anyway.

No link can be either not in fastboot (insert usb while holding vol up, have blue led) or no driver or not in Windows 10 test mode.

Also, have you enable "OEM unlocking" in options?

---------- Post added at 12:20 PM ---------- Previous post was at 12:15 PM ----------

Can you tell me a bit more about this step? I am not sure what it is trying to do.

I also tried relock and doing the unlock without newflasher at all and still works.

---------- Post added at 12:21 PM ---------- Previous post was at 12:20 PM ----------

The code for 5 ii is the same for 1 ii or 10 ii.
[Sony Xperia 5 II Guides, News, & Discussion] y2kbugleung:
As far as I remember, unlocking bootloader does not wipe the DRM key nowadays, right? Locking back the bootloader everything will become brand-new?
[Sony Xperia 5 II Guides, News, & Discussion] Audiomotor:
I just wanted to share my patched boot image for the new A12 Update because I see alot of people have problems with installing it correctly. My steps were get a clean .899 fw unsin the boot image then unpacked with Android Image Kitchen navigated to the fstab file and completely deleted the line with sys_ext repackaged then flashed the ramdisk and flashed the end product to my xq-as52 in fastboot using OPs instructions and et voila I got the most recent magisk up and running on A12 without any complications (not sure if i can safely relock and honestly i dont care about the warn at boot that much)

Ill try to link my file so hopefully someone with EU Customized XQ-AS52 EEA 58.2.A.0.899 doesnt have to waist 20h for troubleshooting reflashing etc!

and also thank you OP for mentioning the magisk issues otherwise I think I would've sat there for another 20hrs

EDIT: https://drive.google.com/drive/folders/1qW2yGfIZgZvXZEDUcixbhofxUwys5y8B
[Sony Xperia 5 II Guides, News, & Discussion] Miustone:
Thread / Guide updated (:
[Sony Xperia 5 II Guides, News, & Discussion] physwiz:
Hi all,

I think I messed up something trying to roll back to A11 from A12.

After failing to flash a A11 firmware I thought I just could reflash the latest firmware (downloaded with XperiFirm)

Flashing went fine, but now I'm stuck in a bootloop. After a couple of loops the phone says 'this device is corrupt'. Any tips for solving this?

What works:

locking / relocking bootloader

flashing via newflasher

I can also flash TWRP, but it does not want to mount USB storage

Any help appreciated!
[Sony Xperia 5 II Guides, News, & Discussion] kagaraw:
Very useful post, thank you！
[Sony Xperia 5 II Guides, News, & Discussion] sidneypolak:
Same bootloop here. Newest firmware (EEA_58.2.A.2.80), fastboot 33.0.1-8253317, Magisk 24.3, UnSIN 1.13, Win 10 x64

Struggling for few hours came to conclusion, that guide is very misleading and confusing.

First problem occurs with step 17th on invoking:

fastboot reboot fastboot

which restarts device into fastbootd. From here there is no ability to flash (obvious).

So skipping this command and successful flashing in fastboot mode, I get bricked device in bootloop state.

To clarify: I didn't proceed with optional step "5. GSI & vbmeta" as I don't want to mess with it.

Also I don't have possibility to unpack/repack boot.img with tweaked fstab (no time, no disk space, no spare hours for learning how to use one more tool for just one shot).

P.S. My first impression about Xperias was huge! Today I think that Samsung has much more grateful power-user experience (5min task).
[Sony Xperia 5 II Guides, News, & Discussion] eliotcr712:
You can read this post to make a working magisk patched boot image.

https://xdaforums.com/t/kernel-stock-kernel-with-magisk.4225031/post-85579623
[Sony Xperia 5 II Guides, News, & Discussion] mmao3:
I can not install ADB driver after updated to android 12. Dose anybody knows? The Hardware id seems changed , so INF file no longer useful
[Sony Xperia 5 II Guides, News, & Discussion] Miustone:
That doesnt makes Sense to Me. What has the Driver to do with Android 12 on Your Xperia?

And which INF File? Never heard of that in relation with ADB 🤔
[Sony Xperia 5 II Guides, News, & Discussion] mmao3:
well,the problem i found now is :

the xperia 5 ii adb driver downloaded from sony website is working under fastboot and andoird but not bootloader.

when under bootloader (a blue light in upright corner with black screen), windows cannot find driver for the device.

i suspect the reason is that inside the inf install file, i find hareware id USB\VID_0FCE&PID_320D(), which works for the device under android system and fastboot .under bootloader the hardware id changed to USB\VID_0FCE&PID_0DDE, which is not included in inf file.

in the end , the driver for adb bootloader interface cannot be installed,
[Sony Xperia 5 II Guides, News, & Discussion] Miustone:
That's usual. Who pointed You to this Drivers? Just use the provided ones from this Thread or grab FlashTools Drivers from their Tool which are basically the same. They will work just fine...
[Sony Xperia 5 II Guides, News, & Discussion] mmao3:
The driver provided from this thread works now , after disable windows driver signature enforcement. huge thanks!
[Sony Xperia 5 II Guides, News, & Discussion] rez78:
i'm looking for xperia 5 II flash drivers. Somebody can share these drivers? thanks
[Sony Xperia 5 II Guides, News, & Discussion] Miustone:
Glad You got it working! :)

Literally 1 Post above Yours...
[Sony Xperia 5 II Guides, News, & Discussion] rez78:
Searched,but i don't found nothing! 🤔
[Sony Xperia 5 II Guides, News, & Discussion] Miustone:
Sign in - Google Accounts

Enjoy (:
[Sony Xperia 5 II Guides, News, & Discussion] Miustone:
After i got a Xperia 1 III gifted by a Supporter i have checked how actual Android work. I have updated the Guides and fixed the issues for everyone hopefully... Enjoy!
[Sony Xperia 5 II Guides, News, & Discussion] Miustone:
I have updated my Xperia 1 III with the Xperia Companion after using EMMA on unlocked Bootloader. Can someone confirm that working too on a Mark 2?
[Sony Xperia 5 II Guides, News, & Discussion] AJN ILNGSH:
Can

Can I flash a STOCK Patched Boot.img(with Magisk) without Unlocking the Bootloader?

Android 11

Magisk V24
[Sony Xperia 5 II Guides, News, & Discussion] King081:
No, you can't
[Sony Xperia 5 II Guides, News, & Discussion] Shahnewaz:
@munjeni to the rescue (again)! This is what I've been looking for. I remember from previous discussions that now (it is possible and) you can easily relock your bootloader, but that doesn't mean you can't get the phone completely back to what it was before ever unlocking it.

On the Service Menu there is an entry under Service info -> Security that says "Has Ever Been Unlocked". I wonder if that trips once you unlock your device, and stays "Yes" throughout the life of the phone even after subsequent relocks and unlocks. :confused:
[Sony Xperia 5 II Guides, News, & Discussion] munjeni:
If you unlock and relock it will not give back DK key! Also there is not only DK key deleted but also some things from the RPMB! And thats one time operation. Even if you have DK key you can't restore them since thing in well secured RPMB is modified. Key from RPMB xor DK key = key inside trim area hw config. How thats generated nobody know. How to write to RPMB nobody know too! So if you are looking for info I can tell you if you unlock your device you will definitelly have all that things messed up including DK key deletion from trim area. And yes you will have "has ever been unlocked = yes" even if you relock bootloader.
[Sony Xperia 5 II Guides, News, & Discussion] gran_lexu:
So DK as well as some functionalities are lost when rooting? Some devs said DRMs system was turned down on Mark series...
[Sony Xperia 5 II Guides, News, & Discussion] munjeni:
DRM funkcionality is probably ok after relocking, but everything related to device unique key and allso in relation to rpmb key is not functional and I do not have information what. You should take a look at device boot loog after doing (newflasher Read-TA:2:2050) from command line, there is some error lines like:

[WARNING @ ta_interface.c:109]:
Unable to read TA unit 66667, error=4
[ERROR @ xboot_glue.c:107]:
read_ta returned err=-22
[ERROR @ xboot_glue.c:526]:
get_dk returned err=-22
Reading 321 bytes from RPMB, OK
Reading 321 bytes from RPMB, OK
XBoot MakeDecisions
Check authenticated commands
[ERROR @ ta_interface.c:301]:
Unable to delete TA unit 2334
Make Decisions
PBA ID: ()
Vendor(0x00000060)->Sony(0x6F656D53)
3, Failed to get pPmicSchgProtocol->DcinValid: Device Error
3, Setting existing handle
Startup flags: [USB INSERTED] [HARD RESET]
Warmboot reason: [SONY SERVICE]
[ERROR @ sony_boot_config_parser.c:738]:
None or incorrect vbus_pulse configuration!
3, Failed to get pPmicSchgProtocol->DcinValid: Device Error

Didn't remember but key from rpmb and dk key when XOR gives if I'm not wrong unlcock key, I didn't remember, maybe some key from unit 0x7da from trim area, but for sure I know we have XOR those keys and got excatly the same key unlock key or key from 0x7d2 unit, sorry didn't remember. You should ask @j4nn member maybe he remembered that. This is amplication we have wrote to dump key from rpmb https://pastebin.com/BmE5mVKx
[Sony Xperia 5 II Guides, News, & Discussion] crustier:
It's kinda interesting how to check if device was unlocked through Sony website and relocked again. This phone now selling quite cheaply on Ali and i bought one, it looked very good visually, but was opened, not sure what they've did inside, but it's without water protection, battery holding like 4-5 days without network. There's Android 12 ver. 58.2.A.4.52 GLOBALEEA-A2 (not sure what region is that).

In security tab under service menu i have all the same info like in previous screenshot:

Rooting status NOT_DONE

Has ever been unlocked No

But one exception - on list Key Provision daemon i have SOTER ATTK NOT APPLICABLE (don't know what that is and Google not helping, only leads to github page of Soter function which detects attacks by the network?).

Knowing if this was unlocked before is the only which force me to unlock & downgrade it from 12, but i'm not sure, Ali sellers can hide that quite good.

Still don't know what's the catch in such low price.
[Sony Xperia 5 II Guides, News, & Discussion] haga22:
I got rollback protection issue: "Your device is corrupt...". I wanna unlock bootloader to resolve but i can not boot my phone so i can not open USB Debug and OEM unlock. What should i do buddies? :'(

Edit:

never mind. Prob solved
[Sony Xperia 5 II Guides, News, & Discussion] Miustone:
Glad You got it fixed! Can You share what You did? Might help other People in the Future :)
[Sony Xperia 5 II Guides, News, & Discussion] svenkerst:
Can somebody help me out? My device (unlocked bootloader) won't boot with the patched img. I'm on EEA_58.2.A.10.126, and I extracted the img file with UnSIN 1.13. I patched it with Magisk 25.2, and then flashed it following the instructions in OP.
[Sony Xperia 5 II Guides, News, & Discussion] Miustone:
What does Your Device do/say on Startup?
[Sony Xperia 5 II Guides, News, & Discussion] svenkerst:
It hangs on showing 'Sony' with red LED
[Sony Xperia 5 II Guides, News, & Discussion] svenkerst:
A little embarrassing but I figured it out. As "A working Android System for the Magisk Kernel patching" I used my Galaxy S10e, on which the patching is done differently.
[Sony Xperia 5 II Guides, News, & Discussion] msafeerp:
Hi.. thanks for the guide. I've got Japanese softbank device. Followed the procedure, got the bootloader unlocked, rooted with magisk and everything was fine.

I downloaded almost all the gsi roms from the above link and flashed with fastboot. The phone is stuck at bootlogo. Any solution?
[Sony Xperia 5 II Guides, News, & Discussion] Oswald Boelcke:
Thread has been closed as OP @Miustone removed the content of the opening post.

Regards

Oswald Boelcke

Senior Moderator
[Sony Xperia 5 II Guides, News, & Discussion] GnaXi:
If I do the above and enter "fastboot devices", I don't get any devices.

What I do to get to fastboot is to hold down power + volume down to enter recovery and then from there go to fastboot (fastbootd).

Now, when entering "fastboot devices" it shows up, but I'm still stuck at either:

"FAILED (remote: 'Unable to open fastboot HAL')" or "FAILED (Write to device failed (no link))"

The two errors seems to depend on what driver windows decides to use when I connect the device O_o'

I've tried all the drivers listed here and all with the same result. See attachment.
[Sony Xperia 5 II Guides, News, & Discussion] Miustone:
Right. They get restored after Your Device is relocked and repaired with the Companion Tool which flashs them Back again in locked State.

It ensures You are using the correct Firmware and since You already downloaded it for the Kernel is it just failsafe and No Trouble to do it. There are always Reasons for such Instructions. Don't wanna get ask why Something bootloops and all that...

They get wiped but they are not affecting the Hardware anymore. More Infos are Up in this Reply Here.

Why are You not following the Instructions? You just need to hold the VolumeUP Button while inserting the USB Cable when Your Device is off. The LED Turns BLUE and You're in Fastboot. Continue from there the unlock command: fastoboot oem unlock 0x<1234example5678>

Like Said before, make sure You have toggled the OEM Unlock Option in the Developer Settings (In the Android System). Can't Imagine what it else could be