yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] Heidi001:
I remember if u have other download tool(s) chrome will ask u to choose one of them to start downloading.
[Android Q&A, Help & Troubleshooting] saarav242:
Thanks but no thanks (doh)

I want to download directly on SD Card by using Chrome.
[Android Q&A, Help & Troubleshooting] saarav242:
Exactly I was also thinking the same but it didn't make work for me.

Es, FK (In-built sony app) File Manager etc.. I tried to use them but no luck :(
[Huawei P9 Lite Questions & Answers] tommern:
I bought a pioneer media player for my car with usb but when I connect my P9 lite it still plays music through the phone speaker. I can controll the player with the Pioneer ARC app but it still plays the music on the phone...

I connected my old Xperia Z1 and it automatically fired up the arc app and started playing music through the cars speakers. So is this another one of those "screw you" moments from huawei like their no OTG support?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] M-Rom:
[oreo]XZ1C-drmfix-root-ricoff:o

Available for any version of the official 8.0 oreo

First you have twrp https://xdaforums.com/xperia-xz1-compact/development/recovery-twrp-3-1-1-stock-security-t3706704

Be sure to use the zip I provided,Make sure your rom is clean.If you want wipe data,cache and dalvik, please execute it first.

1，flash drmpatch.zip

2，flash SuperSU.zip

3，flash RicOff.zip

4，reboot

Perfect, please enjoy.:D

download

https://mega.nz/#F!s8QlGD7S!cSlNJcZArwwdvZGGE5sVdA

drmfix.so/drm****.so thank [MENTION=8363210]sToRm//[/MENTION] :good:

The secd of 47.1.A.12.34 is the same as 47.1.A.8.49.

The original machao44 account is lost

I do not know how to misunderstand me
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] manasxx:
MODEDIT by [MENTION=3843529]gregbradley[/MENTION] English Translation added

English is not good, then I say Chinese well! ! Turns 19 meters high wall came to support you. .

英语不好是吧，那我说中文好了！！特意翻19米的高墙过来支持你的。。

XDA Rules https://xdaforums.com/announcement.php?a=81
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] aikon96:
So this seems to be storm// 's OREO DRM Fix?

So just to clarify, what did you change in the DRM FIX code to get it working?

EDIT: (tested it)

Ok I am on 47.1.A.5.51 with SuperSU (already installed).

So I flashed DRM FIX and RIC-OFF, wiped dalvic cache and rebooted.

Tried to make some pictures as mentioned by " N1ghtr08d":

"with the stock camera it "begins" to take the photo, as in the icons disappear from the frame, but it never actually snaps the photo or saves it to the gallery. It just stays at that state of looking through the viewfinder with the camera icon to take the photo floating at the bottom but never actually takes the picture."

So do you have any infos about your firmware you have tested this code?

---------- Post added at 12:14 PM ---------- Previous post was at 11:48 AM ----------

Sry for doublepost!

Ok I figured it out: I had to use the SuperSU of your zip. Now it is working! Thanks!

What I did:

First unzipped busybox as mentioned here:

https://xdaforums.com/xperia-xz1-compact/how-to/how-to-root-xperia-xz1-compact-t3712385

After that, I flashed all 3 zip files and rebooted.

Using the Sock camera, by taking the first 3 pictured it seemed that no pics were taken, but taking the 4.th picture suddenly all pictures are visible in album! So no green pics anymore!!!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] M-Rom:
Do as I write, do not do anything else.

My XZ1C succeeded（47.1.A.8.49）, my friend also succeeded（47.1.A.5.51）.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] pergoteborg:
I don´t get it.

According to your attached screenshot you got an unlockable bootloader so you still have locked bootloader and are not effected by the issue at all, are you??????

Are you wasting time?

MODEDIT By [MENTION=3843529]gregbradley[/MENTION], English translation added
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] M-Rom:
drmfix causes rooting status to display No
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] NadavCE:
This is great! Does this mean that LineageOS will have the same camera quality as stock, or does the DRMFix only work on unlocked-BL stock ROM?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] M-Rom:
Not applicable to LineageOS
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] smorgar:
Did the TWRP you linked in 1st post work with 47.1.A.8.49 as it has December patch? [RECOVERY] TWRP 3.2.1 (Security Patch Level 2017-11-05)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
Who created this fix? What has been patched in secd?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] M-Rom:
I am using twrp-3.2.1-1-lilac-patchlevel-2017-11-05.img and can only read SD.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] M-Rom:
drmfix.so/drm****.so is @ sToRm //

I modified secd
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
12-29 13:43:45.860 1016 1016 E suntory_get_blob_type: SuntoryTee_VerifyBlob failed -6

12-29 13:43:45.860 1016 1016 E suntory_get_blobs_status: Suntory_PopulateBlobStatusList(): SuntoryTee_VerifyBlob Error

12-29 13:43:45.860 1016 1016 E suntory_get_blobs_status: Suntory_PopulateBlobStatusList(): Failed with result -1

12-29 13:43:45.860 1016 1016 E suntory_get_blobs_status: Suntory_GetAllBlobStatus failed with result = -1

12-29 13:43:45.860 1016 1016 E suntory_convert_all_blobs: Suntory_ConvertAllBlobs failed -1

12-29 13:43:45.860 1016 1016 E secd : secd_backend_credential_manager.cpp:99 Suntory_ConvertAllBlobs failed (1) with error -1

drm*.so is just for secd or also needed by other processes?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] smorgar:
I guess I'm missing something...

How can you flash the zips if you can only read?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] M-Rom:
Project Treble LOS15? That drmfix can be used. I think of it, sorry.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
There is no reason why it shouldn't work. The question is how this exactly works. I would prefer to not have a global LD_PRELOAD but just have it for the service. So does only secd need the drm*.so or do other need it too?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] MrMmmkay:
For which firmware version exactly is this? Allways thought that the drm fix has do been made for every firmware new?

Edit: Works fine with 47.1.A.5.51
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
I got it working on LineageOS.

I wouldn't really recommond flashing this until M-Rom fixed his stuff. It turns off SELinux so your device is pretty unprotected. The init file needs to be modified and SELinux rules added for init.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] NadavCE:
First off, great news! Second - is SELinux active on LOS w/ the DRM fix applied?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] modpunk:
I've just got it working with SELinux in Enforcing mode. The same would be possible for stock if you set the LD_PRELOAD in init.secd.rc and allow noatsecure for secd.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] md1982:
Thanks mate
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] alximiktik:
I was able to install drm fix and magic in manually, using files from storm.

Отправлено с моего G8441 через Tapatalk
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] alximiktik:
Hi, when will be new version? For new firmware 119

Отправлено с моего G8441 через Tapatalk
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] SkyHigh76:
The version works with the latest firmware 119. I tried it out.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] alximiktik:
How? the program says that the firmware is not supported

Отправлено с моего G8441 через Tapatalk

---------- Post added at 12:26 ---------- Previous post was at 12:25 ----------

I'm talking about xperifix

Отправлено с моего G8441 через Tapatalk
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] md1982:
So i solved bootloader unlock allowed no it was an upgrade xz1 compact from vodafone so i sold it brand new on ebay 300 then brought an unbranded unlocked one from ebay from france 308 quid brand new year warranty all that it turned up today and volia its unlock allowed yes let the modding begin

---------- Post added at 07:32 PM ---------- Previous post was at 06:36 PM ----------

Is this thread still active?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Didgesteve:
Glad to hear that you got your phone sorted out, rooting should be easy now. I don't think that this thread is maintained, you need to head over to Xperiafix
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] bradbdc:
What did you do to get it? Would you please explain it to me?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] auz_mo:
Anyone know if this will work firmware 47.1.A.12.205?

Thanks in advance.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] BetaLyte:
Probably not. Have a look at janjan's kernel instead, he updates it regularly to the new firmwares.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] niouflex:
thanks a lot it fixed my XZ1 with the last "official version"

really nice job, just had to cpoy the 3 files in my phone and i launched them - all good i can take 19m pixel pictures now

thansk a gain pascal
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] PavelYoung:
Hey guys, ya all seems to be unbelievable Heros! I cant believe it,... Nineteen! megapixels camerasetting at the Xz1!!! Whoa, better than Sex
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] POMF2K:
Can anyone verify for me...

I am looking to purchase an xz1 compact before they are gone... but I want to make sure I can unlock the bootloader (while keeping drm keys/camera working), root, add recovery... but also be able to use the fingerprint scanner and t mobile us wifi calling.

I know that getting wifi calling and the fingerprint reader to work simultaneously involves flashing a modified version of the UK firmware . I'm wondering if I should do this before unlocking/rooting/recovery or afterward...? Basically I'm trying to accomplish THIS. Any have any information on how to accomplish this?

I have to relearn this whole process every time I get a new device.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] sToRm//:
1. Unlock the bootloader.

2. Flash the current firmware (you can choose what you want). Use Xperifirm to download the latest version. Flash it with Newflasher. If you want to use a modified firmware, check the instructions on the related thread.

3. Flash the recovery.

4. Root and fix your device.

Cheers!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] POMF2K:
Thanks so much for your advice. Is there a recommended method to unlock the bootloader that saves the DRM files? Also what do you mean by "fix your device"? What is best root method? Also can all this be done after taking updates or should I forego updates and do this right out of the box?

Thanks again.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] sToRm//:
There is no way so far, to unlock the bootloader without losing the device key or to back it up before. With "fix your device" I meant my realized DRM patch for the Xperia devices. You can use XperiFIX to do that (TWRP, Root, DRM patch) automatically. Yes, you should do this after updating, because with every update/flash of the firmware, the system files are stock and need to be patched again.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] POMF2K:
Okay so pardon my ignorance... but by applying the DRM patch it sort of simulates a backup of DRM. Essentially it's an alternative to DRM backup?

So what's the downside? What am I losing? I don't care if my bootloader is unlocked and having a phone without root is like having half a phone. But is there a surefire way to get there without any sacrifice?

And for that matter, why isn't this as easy to unlock and relock the bootloader as the previous generation?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] POMF2K:
I'm honestly not afraid of the rooting process, provided the fix actually works. I rooted my Z1 and Z3 and those were locked bootloaders and a whole lot more difficult.

My big fear is that with the bootloader unlocked/the device rooted that perhaps t-mobile will see that and it won't be able to use their wifi calling. For whatever reason I can't seem to find anyone that has both flashed a modified firmware (US/UK) that allows the T-mobile US Wifi Calling/enables fingerprint sensor AND has rooted their device and can say with certainty that their device retains both those functions after root. I see no reason why the fingerprint sensor would be disabled but the carrier functions like VO-LTE and Wifi Calling I am fearful of (and those features are the primary reason I need to upgrade my X compact).

I also want to make sure that it is possible to flash the phone with older firmware in the event that I find I need to revert back. In past devices this was possible even with the bootloader still locked. My fear is that in more recent releases that modifying the US/UK firmware will not give me the desired result of Fingerprint sensor/Wifi calling simultaneously.

Thanks again.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] pbarrette:
You are essentially conflating two different issues unnecessarily.

Issue #1: You want fingerprint and T-Mo VoLTE/VoWiFi.

Solution:

1 - Flash all firmware for the international variant of your choice (I've been using "Customized DE", personally).

2 - Boot phone completely, then power off the phone.

3 - Flash the US firmware's OEM sin file only.

4 - Update in the same way, except in step #1, delete all ".ta" files and the "userdata" sin file.

You can do this without unlocking the bootloader / rooting, and you will keep all your DRM keys.

This is because all the SIN files are signed with Sony's keys and are considered official firmware updates even if they didn't expect people to cross-flash different bits from different regions.

Issue #2: You want root.

For this, you'll have to unlock the bootloader.

Doing that erases various keys from the TA partition which will be unrecoverable. It's possible that someone will develop a temp-root solution that will allow for backing these keys up in the future, but that is not currently possible.

The problem most people have with this is that it renders the camera essentially inoperable.

sToRm//'s fix mitigates that issue and makes the camera fully operational again.

There's also janjan's kernel, which does the same thing and is based on sToRm//'s original exploit. But you're expected to be reasonably comfortable with fastboot commands and flashing packages in TWRP.

There may be other DRM based functions which no longer work, even with the patches. Nobody has really looked at it all in depth. Not even myself, and I have enough technical knowledge to do so and have been bootloader-unlocked and rooted for at least 3 months now. So, at least to me, any additional lost DRM functionality is so inconsequential that I don't care enough to look into it more deeply.

If you're comfortable with that, then the main issue with unlocking the bootloader is the fact that you'll get a nasty warning whenever you boot your phone and you will possibly lose all warranty support.

T-Mobile VoLTE and VoWiFi will continue to work.

But to get both VoLTE/WiFi and have the fingerprint sensor working, you'll still have to flash an international firmware version, boot, power-off, then flash the US firmware's OEM sin file.

Personally, my update procedure these days is:

1 - Flash "Custom DE" with munjeni's newflasher after deleting ".ta" and "userdata" files from the main folder.

2 - Flash TWRP and janjan's kernel.

3 - Boot phone - Let it go through the "customizing" reboot - power off phone.

4 - Flash US firmware's OEM sin.

5 - Boot to TWRP and flash janjan's "Stage 2, 3 and 4" zip files.

6 - Boot phone - Let it go through the "customizing" reboot again.

I have no problems with Magisk, VoLTE, VoWiFi, the camera, etc.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] POMF2K:
I think you misunderstand me. I may be posting this is the wrong thread (I've tried in several others) but these aren't two different issues at all. My question is very specific. I require 3 different things simultaneously (1. Root, 2. working fingerprint sensor, 3. working wifi calling) and I'm not sure that this is possible. My concern is that root (or the requisite unlocked bootloader to achieve root) will flag something with t-mobile and disable Vo-LTE/Wifi Calling.

I'm simply looking for confirmation that I can have all three at once. If that is indeed possible, I'm looking for some guidance as to what order to perform the requisite tasks in to ensure those results.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] pbarrette:
Re-read my post. I addressed that.

Start at the line that reads: "T-Mobile VoLTE and VoWiFi will continue to work."

You must unlock the bootloader to achieve root.

Bootloader unlock / root does not affect fingerprint or wifi calling.

I can confirm. I am currently operating this way. Bootloader unlocked, root with Magisk, fingerprint working, T-Mo VoWiFi working.

My personal update process is described above.

WiFi calling and VoLTE is entirely a function of the modem configuration file and the UI overlays which allow the functions to be enabled.

The modem config file selection and UI overlays are handled by the CustomizationSelector APK, which reads the MCC/MNC of the SIM and uses the config files on the OEM partition to set the corresponding configuration.

Root doesn't change that, and there's basically no way that T-Mobile would know that you have root.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] POMF2K:
Thank you for that clarification. Also really appreciate your update procedure towards the end.

I'm guessing the only way to unlock the bootloader is still via the sony development website?

In terms of root method... any advice? So far I've found a few options:

1: https://xdaforums.com/xperia-xz1-compact/development/oreo-xz1c-drmfix-root-ricoff-t3727029

This thread, obviously.

2. https://xdaforums.com/xperia-xz1-co...nel-sony-xz1-compact-16-january-2018-t3736068

You seem to prefer this one(?). This also seems closest to root method I have used for previous sony devices.

3. https://www.xperifix.com/download/xperifix-latest/

Looks like this was actually created by sToRm//. Anyone used this? Any downsides aside from paying for it and not doing the hard work myself? To be honest I've never used magisk and have used supersu pro all the way back to my droid x.

Am I correct in assuming that none of these root methods should change the firmware and, as you've stated, should not affect the vo-lte or wifi calling functionality in any way?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] sToRm//:
The root method (Magisk) doesn't change the firmware. But the DRM patch does. All 3 options are using my DRM patch. The first 2 are using the old files that will never be updated, because it's from the last free version of my software. XperiFIX was created by me, yes. And it's the only solution for upcoming updates, without being related to other developers releases, because the software is flexible and does patch the original kernel ramdisk (no pre-modded kernel ramdisk needed). It's your choice in the end.

Cheers
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] janjan:
Please correct me if I am wrong. I am just wondering.. Isn't these fixes based on Tobias Waldvogels previous work?

I am using the secd extension and libta_drm_ext.so files from modpunk. Using selinux policy rule.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] POMF2K:
Excellent. Thank you for your response. I'm not too worried about the firmware alteration. As pbarrette states, it shouldn't affect wifi calling or vo-lte.

I'm too ignorant to know what you are referring to in regards to kernel ramdisk so I'll take it as a sign that it's time to pony up a little cash to those who have worked so hard to make my device fully functional.

My xz1 compact arrives in a few days so hopefully all goes well. I'm a little saddened by the current smartphone market. Sony seemed to be the only one manufacturing square sophisticated looking devices and now even they changed their design. I'm also concerned they will stop making pocketable devices.

Regardless thanks to you and others who work so hard to make our devices rootable (and functional as well). As far as I'm concerned a device that's not rooted is basically neutered. Threatening to void a warranty is one thing, but breaking functionality because someone unlocked their bootloader is just wrong, especially when sony "allows" the unlocking of the bootloader.

Thanks again.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] sToRm//:
I meant the firmware patch and parts of the hooks in libraries, that are by me. He asked about changes in the firmware, so I thought that's relevant. The DRM fix needs some hooks and a working key table. The old method by Tobias was not working on new devices, because Sony changed the device security system and included advanced checks to get the rooting status. That means that the firmware must be patched (secd), too. I reversed the firmware and provided the needed patch. I also extended the hooks with own. User modpunk took the source from Tobias and reverse engineered my library and merged it together. He also took my patched secd and included it. Hehe...

The method of integration by modpunk was not really working months ago. I tested it the way he made it, but the logs were telling me that the fix works partially only. I didn't test it again. No idea if he changed this then.

:)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] janjan:
It seems he changed that. I don't own the devices (XZ1 compact, XZ1 and XZ premium) to check the logs. It seems the integration by modpunk is working in most of the new devices.

Actually we can edit the secd to get it work for the newer devices too.. such as XZ2, XZ2P but don't sure about XZ3. We have to check when it is released on that time.

I am not sure I will continue my work here anymore :) depends on my free time :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] sToRm//:
It works, but as i tested it then, the fix wasn't fully functional. Some enhancements were disabled, because of the credential management. Don't know if he changed that in any way.

The secd on the new devices is different to the XZP and XZ1 devices. Sony changed something in the firmware. So the old secd shouldn't be used with this devices (possible brick).
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] janjan:
Unfortunately I don't own the devices to check and find out which enhancements are disabled. Can u tell us which enhancement are disabled? The logs which I received from different user (logcat from different user own XZ1 C, XZ1 and XZP) shows that the fix actually works fully functional. The library gets successfully loaded and drm extension added to secd. I am just wondering which enhancement/enhancements are not working.

Actually I was even able to get it work (fully functional) on newer devices from 2018 OFC with some modifications due to seamless partitions A and B and patching (patched with magisk) my own build kernel from source. But since I don't won the device anymore I can't investigate further.

I will OFC investigate a bit more to find out which enhancements are not working, whenever I have free time.

You mean possible brick of Camera function or possible brick of device :)