yashsingh1/xdaforums huggingface dataset:
[LG Stylo 2 Plus Questions & Answers] warmachine2k:
I'm in a bit of a pickle with my stylo 2 plus (tmobile k550)

back in 2016 sometime i rooted my phone and everything was fine and working properly, i was able to do everything i wanted to do. For a while now i've been wanting to restore my my phone back to it's original de-rooted state but the thread i went to for the rom indicated that if i used a tmobile phone it may sim lock it to metro pcs which i didn't mind and i took a gamble on it and followed the instuctions i used LGUP and installed it and everything was going fine even shows me the metropc logo/animation on startup but it gives me an error with the IMS that it was unable to start and i'd close the message and it would just pop back up and i was not able to do anything else. on top of that when i installed the rom i opted to not keep twrp installed . that was a mess that took me a better part of the day to figure how to get back on the phone but i cannot use LGUP with a proper KDZ file as every time i try to run it it tells me that my phone is a MS550 and won't install because the KDZ file is for a K550, i also tried LG Flash Tool 2014 and it analyzes the phone go up to 30% jumps back to 25% then says "Required info cannot be found." and just below that it says "Contact the system administrator.."

I've tried practically every suggestion i could find via google and youtube (man alot of those videos were repetitive broken records to boot)

if someone could please help me with this problem i'd greatly like to restore my phone back to it being seen as a k550. (i really cannot afford to buy a new phone at the moment and really like this one)

thanks for taking the time to read this.

Edit: I went into twrp and did a wipe and the IMS error is now gone and i can access the metropcs version of this phone but i'd still love to get the tmobile rom back on here if possible.

Edit2: After a little more searching I realized i am blinder than i thought and found another non-kdz stock installer for the k550 was able to restore my phone fully. thanks for anyone that stopped by and took time to read this.
[Xiaomi Redmi Note 4 Questions & Answers] robert_b:
Hi, after installing a custom rom with TWRP and reboot my Note 4, the phone asks me for a password to start Android. Not matter what password I enter, I get the message the password is correct, but there is a problem with the encryption and i have to reset to factory . The only way to go on is the button "Reset phone". If I press the button it goes back to TWRP. I tried several times to make a full wipe and flash the custom rom once more, allways the same problem. I flashed the correct actual stock rom. Everything works fine, no problems.

So I tried this several times with different custom roms. Allways the same problem - android password, allways ok and allways the problem with the encryption.

Is there any idea, how to solve this problem?

Regards Robert
[Xiaomi Redmi Note 4 Questions & Answers] Noter2017:
Update your TWRP and use the latest OrangeFox
[Xiaomi Redmi Note 4 Questions & Answers] outlawman007:
did you format data? or just factory reset, you must format data and internal storage!
[Xiaomi Redmi Note 4 Questions & Answers] roshi_91:
TWRP TWRP UPDATE :)

https://xdaforums.com/redmi-note-4/.../recovery-orangefox-recovery-project-t3775933
[Xiaomi Redmi Note 4 Questions & Answers] robert_b:
Thank you all for your help. With the actual TWRP and format data it works. I'll try OrangeFox too.

Regards Robert
[OnePlus 6 Questions & Answers] AnDrOidRuLs:
Im not sure if this is the right place to ask this but i was wondering how i can remove the back button when using pill navigation on different launchers. I moved the rootless pixel launcher to system app thinking that would help but it did not. Any ideas?
[Google Pixel 2 Questions & Answers] uribees:
I have noticed I have been getting less that average battery life with my Pixel 2. While looking through my developer options I noticed "Standby Apps". When I went into it I noticed all of my apps are set to "Active". Is this normal or happening to anybody else? How can I reset it to make sure it the phone automatically puts each app into the correct state?

Edit: Found the problem. Adaptive Battery was disabled.
[Samsung Galaxy S8 Questions and Answers] Hitaku:
Hey guys ,

I accidentally done an Full format via TWPR before i could make a Backup of the EFS folder...

Obviously i dont have an IMEI now and cant use Mobile services ...

I Tryed Flashing the newest stock rom again and got the error:

SW REV. CHECK FAIL (BOOTLOADER) DEVICE:4 BINARY:3

so uhm ... that wont work at all

I saw some tutorials with an Combination Rom flash but i will still got the BL error and nothing happens..

Are there any ways to Recover my phone?

Could i use the EFS's files of my old A5 2016 SM-510F?
[Samsung Galaxy S8 Questions and Answers] spawnlives:
Device 4 Binary 3 means you are flashing older firmware than what is currently on your phone. You will need to get latest firmware with bootloader 4.

Bootloader version number is the 5th number from the right of the firmware name. The same error will happen if you use combination firmware as well.
[Samsung Galaxy S8 Questions and Answers] Hitaku:
Hey

so the

G950FXXU4CRI5/G950FOXM4CRI5/G950FXXU4CRI1/G950FXXU4CRI5 firmware should technically work?
[Samsung Galaxy S8 Questions and Answers] spawnlives:
Yes it should as it is the latest firmware available.
[Samsung Galaxy S8 Questions and Answers] sirs2k:
Did you manage to fix the problem? I have an S7 with a deleted EFS partition and can't use mobile services either
[Samsung Galaxy S8 Questions and Answers] codenewbie:
Same.. i have an A520F/DS, deleted EFS, no mobile services and null imei..any ideas on how to solve this?
[Samsung Galaxy S8 Questions and Answers] Ishmeal mumba:
I have a problem sm-g950f- u12 saying fail to open recovery cause(no such fail or directory)#

#reboot recovery cause is unknown#

Support single-sku

File-based ota

E: failed to mount/efs: invalid argument

Supported API:3

E:failed to mount/efs invalid argument

E: unknown volume for path[/odm]

E: unknown volume for path [/vendor]

Dm-verity verification failed....

E:[libfs_mgr]is_dt_compatible please anyone to help me
[Sony Xperia XZ Premium Guides, News, & Discussion] j4nn:
--- edit 2018-11-03 ---

Tools to backup TA partition before bootloader unlock have been released.

Just check the [XZ1c/XZ1/XZp] temp root exploit to backup drm keys implemented thread.

---

Just wondering if there is already drm keys backup procedure for XZ Premium and if not, if there is still some interest to get it done.

I am getting very close with this task with my XZ1 Compact, so just wondering, if I should try to make the exploit compatible also with xzp - i.e. if there is still some interest or not.

The effort to do such thing is not marginal and obviously I cannot test it not having xzp device.

You may check my xz1c thread here: [DEVONLY][XZ1c] exploits for temp root to backup drm keys development
[Sony Xperia XZ Premium Guides, News, & Discussion] Almar033:
Yes I'm very interested ! And i think not be alone...

Thank-you for this work , thought it never happen
[Sony Xperia XZ Premium Guides, News, & Discussion] Styler911:
i can only speak for my previous speaker. DRM backup is the only thing keeping me from rooting my device. i can remember when i got my Z1. only 10 minutes after i unwrapped it drm backup and flashing till dawn. :D
[Sony Xperia XZ Premium Guides, News, & Discussion] Magdy Yassen:
Yea i'm very very interested ??
[Sony Xperia XZ Premium Guides, News, & Discussion] Knowbody42:
I'd definitely be interested in DRM key backup
[Sony Xperia XZ Premium Guides, News, & Discussion] madshark2009:
definatly interested!!

WOULD BE VERY GREATFULL!!!

this is the only thing keeping me from rooting

and im also willing to chip in if it requires and not only me plenty of others ;)
[Sony Xperia XZ Premium Guides, News, & Discussion] steso90:
I'm also very interested! Not having a way to backup drm keys is the only thing that keeps me from rooting
[Sony Xperia XZ Premium Guides, News, & Discussion] xrenoix:
hello [MENTION=4418980]j4nn[/MENTION] me too im interrested for root my phone but with backup ! i don't want kill my drm keys forever and kill my phone ! thank you for your work !!!
[Sony Xperia XZ Premium Guides, News, & Discussion] uzerzer:
Super interested, if i can backup the drm keys , my xzp will be rooted from day one!
[Sony Xperia XZ Premium Guides, News, & Discussion] chesterr:
Same here. if you get this done I will kiss you. I miss rooting my phone with keys backed up.
[Sony Xperia XZ Premium Guides, News, & Discussion] doom_st:
me too
[Sony Xperia XZ Premium Guides, News, & Discussion] j4nn:
We are getting close, initial test shall be done soon.

Preview video available in my XZ1c exploits thread.
[Sony Xperia XZ Premium Guides, News, & Discussion] Knowbody42:
Would we need to downgrade firmware in order to do this?
[Sony Xperia XZ Premium Guides, News, & Discussion] j4nn:
Sure, fw needs to be downgraded in order to get rootable kernel (which contains a bug that is to be exploited to get a temp root).
[Sony Xperia XZ Premium Guides, News, & Discussion] greatpatel007:
Sign me up. I will do the all the tasting. I have a dual sim variant.
[Sony Xperia XZ Premium Guides, News, & Discussion] greg-uk:
[MENTION=4418980]j4nn[/MENTION], count me in 2 plz.

This device is begging for AOSP.

Cheers,

Gerg
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
:confused:
[Sony Xperia XZ Premium Guides, News, & Discussion] greg-uk:
[MENTION=5503871]Beetle84[/MENTION], I thought a backup of the DRM keys is reqd in case I want to go back to stock?

This is the first device I've ever had which claims to be 'open' but appears to be anything but!

Cheers,

Gerg
[Sony Xperia XZ Premium Guides, News, & Discussion] nintendolinky:
Sign me up too mate :)
[Sony Xperia XZ Premium Guides, News, & Discussion] j4nn:
Tools to backup TA partition before bootloader unlock have been released.

Just check the [XZ1c/XZ1/XZp] temp root exploit to backup drm keys implemented thread.
[Sony Xperia XZ Premium Guides, News, & Discussion] greatpatel007:
Thanks.

Downloading the firmware. Will Update you with confirmation asap.

Update1: You need to be patient as it takes a long time sometimes. I had 7 reboots before it achieved the temp root.

Update2: Temp Root done. TA backup done.

Update3: Camera still doesnt work neither the X-reality or Clearaudio/Xloud

secd-ignore-unlock.zip has error in it as I guess you forget to write 'vendor' in mount() command. screenshot is attached.

Service menu shows: Security status: Live
[Sony Xperia XZ Premium Guides, News, & Discussion] Almar033:
You should post your results on the XZ1c forum as J4nn asked for, including other phones.
[Sony Xperia XZ Premium Guides, News, & Discussion] greatpatel007:
--deleted--
[Sony Xperia XZ Premium Guides, News, & Discussion] j4nn:
Please do not flash the secd on XZ Premium. That is only for XZ1 Compact. It may possibly work with XZ1. But not with XZ Premium (there is also a note about that in the howto).

In any case - did you also restore TA from TA-locked.img backup, after unlocking the phone with sony procedure?

If not, it is obvious that camera would not work.

As mentioned in the howto, after unlocking, you need to temp root again and restore the TA from backup before unlock (TA-locked.img).
[Sony Xperia XZ Premium Guides, News, & Discussion] greatpatel007:
Yes I did restored the locked TA as well, but camera still takes green picture and other functions doesn't work. I can use the janjan's kernel and get it fixed (Tried and working) so not a big deal for now.
[Sony Xperia XZ Premium Guides, News, & Discussion] j4nn:
Could you please flash back the firmware used for the exploit?

Then try to get temp root, restore the TA-locked.img backup, reboot, temp root again and make another TA backup (TA-after-restore.img).

Then please send me all the 3 TA images: locked, unlocked, after-restore.

I would like to check the presence of device master key in all the 3 states of the TA.

There is a possibility, that xzp repeatedly removes the device master key if it detects unlocked bootloader.

That is not a case like that with xz1c.

Thanks.
[Sony Xperia XZ Premium Guides, News, & Discussion] greatpatel007:
I will do it as soon as I reach home tomorrow. My DRM info viewer shows widevine L1 as active with 4k Support also the clearkey cdm and OMA forward lock is active as well.

Ps: I'm still using exploitable firmware. I haven't upgraded to newer.
[Sony Xperia XZ Premium Guides, News, & Discussion] j4nn:
btw, what is that app you use to view info about drm keys? looks interesting...
[Sony Xperia XZ Premium Guides, News, & Discussion] j4nn:
A good thing about this is that the temp root eventually worked, on a device which I could not test the exploit on.

Was it a XZ Premium device?
[Sony Xperia XZ Premium Guides, News, & Discussion] greencartim:
I believe this is the app he is using: https://play.google.com/store/apps/details?id=cpx.trunks.phoneinfo

I'm getting this phone in a couple of days. It's going to be brand new never been updated. So I be able to test things as long as it doesn't brick the phone :D
[Sony Xperia XZ Premium Guides, News, & Discussion] greatpatel007:
https://play.google.com/store/apps/details?id=com.androidfung.drminfo

Yes it is XZ Premium Dual (G8142)

Interestingly, if I use snapchat to take pictures than everything works fine other than that evry camera app gives me green picture
[Sony Xperia XZ Premium Guides, News, & Discussion] LinFan:
XZ premium TA partition

Hello

I got it working on the 235 fw. I haven't unlocked my phone yet to test it but I definitely have the TA-locked.img stored on my computer.

Thank you very much :D

I got temp root access after a few reboots and the exploit itself took around 15min with over 10k events
[Sony Xperia XZ Premium Guides, News, & Discussion] greatpatel007:
Hi,

can you share me the locked TA file to check cross device DRM swap. ?

You can also DM the link.

Thanks
[Sony Xperia XZ Premium Guides, News, & Discussion] j4nn:
[MENTION=2904361]greatpatel007[/MENTION], could you please send me the 3 TA images as described above?

Thanks.
[Sony Xperia XZ Premium Guides, News, & Discussion] j4nn:
Please provide more details - there is no 235 fw, which device do you have - xzp or xzp dual?
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
There is 235 firmware for xzp and xzp dual
[Sony Xperia XZ Premium Guides, News, & Discussion] j4nn:
Do you mean he tested it with other firmware than provided links with the exploit?

Well, it might have worked, if the kernels are binary the same in those different fw versions, still how could he know if it would work?

Trying blindly?

Anyway, please be more specific. If tried with different than supported fw, provide full version number and exact phone model number.

Thanks.
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
Q1: dont know

Q2/3: dont know/ its xda - no one reads instructions anymore :silly:

Good luck with it though, unlocked my boot loader the day storms fix released so i cant help you really but i wish you well.
[Sony Xperia XZ Premium Guides, News, & Discussion] greatpatel007:
Sorry for the delay as Its Diwali/New Year time in India so I was busy with all festival things.

Here are the files. The password is in your PM.

Huge Success. Everything is still on the stock exploitable firmware. nothing has been changed or tempered.

BTW I have restored the locked TA file for one more time and now everything is working including Camera + Xloud/Clear Audio + X-reality video enhancements + Bravia engine and other DRM functions as well.
[Sony Xperia XZ Premium Guides, News, & Discussion] steso90:
Worked on My xz premium singel sim. What info would you like to have? [MENTION=4418980]j4nn[/MENTION]
[Sony Xperia XZ Premium Guides, News, & Discussion] greatpatel007:
Can I have your locked TA.img to test that whether it is cross-compatible or not so I can help all the dear fellow users who already unlocked bootloader and haven't backed up their TA. Don't worry I will not share your TA to anyone.

Help will be appreciated.

Thanks
[Sony Xperia XZ Premium Guides, News, & Discussion] SilverGamer_YT:
I would like to test it too
[Sony Xperia XZ Premium Guides, News, & Discussion] greatpatel007:
As far as I know, 235 is a July 2018 Security Patch Update. It is strange that this exploit worked on July patch as it is more likely to only work on a device with Nov 2017 or lower security patch level.

235 Update is available for both XZP and XZP Dual.

Update

Restoring TA on latest Available firmware works and restores all the functionality.

Works on XZP and XZP Dual. Confirmed and Tasted.

September Patch

47.1.A.16.20
[Sony Xperia XZ Premium Guides, News, & Discussion] j4nn:
Did you just backup TA or tried also unlock and restore?

What do you get in service menu, sevice test, security screen?
[Sony Xperia XZ Premium Guides, News, & Discussion] steso90:
I did backup,unlock,restore and then flashed newest firmware

And camera works.
[Sony Xperia XZ Premium Guides, News, & Discussion] Dematen:
Do it is possible to revert to locked device?

Do this hack keeps automatic firmware update?
[Sony Xperia XZ Premium Guides, News, & Discussion] j4nn:
[MENTION=8750579]Dematen[/MENTION], revert back to locked state - probably not possible. No known way. Automatic firmware updates? They might be possible, needs more investigations. We got it once working with [MENTION=5677791]tramtrist[/MENTION] but seems rather not to work in general yet.
[Sony Xperia XZ Premium Guides, News, & Discussion] Dematen:
It is not clear to me if everyone has tried to unlock,restore and then flashed newest firmware, have now a fully device rooted and working.
[Sony Xperia XZ Premium Guides, News, & Discussion] greatpatel007:
Yes.

Steps

1) Use temp root and backup TA image

2) Unlock bootloader

3) Flash Newest firmware (or choice of yours)

4) Setup phone temporary and copy magisk files to

phone

5) flash twrp and temporary boot with twrp

(fastboot boot twrp.img)

6) flash magisk and reboot

7) Check Root privilege

8) Restore TA image and check DRM

8.1) (optional) factory reset if any fc issue

Now You have unlocked and rooted phone with full DRM Support including OTA Support.

Everything is tested and working for XZP and XZP Dual
[Sony Xperia XZ Premium Guides, News, & Discussion] Dematen:
[MENTION=4418980]j4nn[/MENTION] say "Automatic firmware updates might be possible, needs more investigations". [MENTION=6305282]Anand S[/MENTION]ay "phone with full DRM Support including OTA Support".

OTA Support work or not?
[Sony Xperia XZ Premium Guides, News, & Discussion] madshark2009:
is relocking the bootloader an option?
[Sony Xperia XZ Premium Guides, News, & Discussion] the_brad:
[MENTION=4418980]j4nn[/MENTION] I have a XZP but did the unlock long long time ago, so this doesn't help me out. But this is, nevertheless, by far one of the biggest achievments in xperia development history!

I just ordered a XZ2 Premium. Do you think, it might be worth to wait with unlocking it as I read the reports of some, that got the magic working on the september firmware?
[Sony Xperia XZ Premium Guides, News, & Discussion] greatpatel007:
[MENTION=4800693]madshark2009[/MENTION] No relocking the bootloader is not an option for sony. [MENTION=8750579]Dematen[/MENTION] OTA worked for me (XZP AND XZP DUAL) you can try for your self. Restore DRM while staying on same (exploitable) firmware, and check for the update.

There is no 100% guarantee that it will work or not because the same model can have different revisions.
[Sony Xperia XZ Premium Guides, News, & Discussion] greencartim:
[MENTION=4418980]j4nn[/MENTION]

I just got the phone, it's the G8141. It is brand new sealed in the box. So it has never been updated or downgraded. It is running Oreo 8.0.0, I get you the firmware version after I'm done with work. Only had a little bit of time to mess with it. Anyways it seems to be running a Mexico firmware because the set up was in Spanish and the region was Mexico. Plus the fingerprint worked out of the box which was strange. So is there anything special you want me to do before doing the steps? That is if the firmware can be exploited. Thank you for your hard work and sharing this with the public.
[Sony Xperia XZ Premium Guides, News, & Discussion] j4nn:
[MENTION=5398382]greencartim[/MENTION], just check the fw version - xz premium - is that still sold?

we may try to test full backup if it arrives with exploitable fw version. I will need to check, if a particular version of xzp is exploitable or not.
[Sony Xperia XZ Premium Guides, News, & Discussion] j4nn:
What reports / what magic do you mean?

Please be specific - I do not understand, what do you mean or ask me about actually.
[Sony Xperia XZ Premium Guides, News, & Discussion] greencartim:
Yes it is still sold, the new stock is low but still there. And it came with 47.1.A.12.145 with April security patch.
[Sony Xperia XZ Premium Guides, News, & Discussion] j4nn:
If you mean April 2018, then there is nothing special to test, you need to downgrade. Maybe just check if it has Android Attestation Key in service security menu (original xzp most likely did not come with it).
[Sony Xperia XZ Premium Guides, News, & Discussion] greencartim:
My bad, I meant April 2018. And I will check if it has it.

EDIT: No there is not an Android Attestation Key. I will do the downgrade, back up, unlock, restore and go from there.

EDIT 2: Everything works, I can send screenshots if need be. Only keys that didn't work was the SOMC.
[Sony Xperia XZ Premium Guides, News, & Discussion] the_brad:
[MENTION=4418980]j4nn[/MENTION] I talked about this one. Doesn't this mean that even the September patch level might be exploitable in some kinda way? And by magic, I was mentioning your exploit and all the effort you put into this! So, long story short: Any chances of making this exploit usable for XZ2 premium?
[Sony Xperia XZ Premium Guides, News, & Discussion] SilverGamer_YT:
Can I have the DRM and restore everything like stock
[Sony Xperia XZ Premium Guides, News, & Discussion] j4nn:
That is incorrect information (or typing error).

No chance for XZ2 any model in my opinion. Checked XZ2 Compact - not possible.

And btw, it is mentioned in the exploit's first post.

[MENTION=7306291]SilverGamer_YT[/MENTION], if you backup TA before unlock and restore it after, you can have nearly everything working as stock with unlocked bootloader (i.e. rootable).

No way to restore drm if not backed up for your phone if you are asking about that.
[Sony Xperia XZ Premium Guides, News, & Discussion] SilverGamer_YT:
Even if I use the locked DRM from someone else?
[Sony Xperia XZ Premium Guides, News, & Discussion] madshark2009:
Something is still not sitting right in my head...

If we can not relock bootloader, then the warranty is still voided, so whats the point of going through all this process if we can simply install a fix patch?

by the way I gotta say and admit that you did a hella good job on this! all XZP owners applaud you for this genius work, we really appreciate the time and effort put into this, much love
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
If the tool works properly, when you restore your ta.img your bootloader will be locked and everything will be stock.
[Sony Xperia XZ Premium Guides, News, & Discussion] madshark2009:
well as stated in previous posts, the restoration of the TA.img file wont relock the bootloader and some even stated that relocking the bootloader of XZP is not an option...
[Sony Xperia XZ Premium Guides, News, & Discussion] Niko of Death:
AFAIK none of the DRM fixes currently restore L1 Widevine.

Unfortunately, I long ago unlocked my bootloader and used the first DRM fix, will there be any way to get "true" drm keys back through this method or am I screwed?
[Sony Xperia XZ Premium Guides, News, & Discussion] Beetle84:
Your screwed. Thats why all the warnings are there.