yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 General] AndroMani:
Restoring backups from TWRP 3.1.0.0 fails with the new TWRP 3.2.0.0

I faced a similar issue today. After I updated my recovery to the latest TWRP 3.2.0.0, I tried to restore my stock rom

that was backed up using the previous version of TWRP 3.1.0.0. However, the restore was not successful. The screen

was stuck after the initial message of partition update and MTP enabled. Then, nothing happened. Even after waiting for close to 10 minutes, there was no progress. So, I guessed there was some issue. I powered off the phone and the used the short-cut keys to boot into the boot loader mode to boot my phone normally. I tried one more time and it failed.

Then, I had to flash to the old TWRP recovery 3.1.0.0 and tried the restore. It went of smoothly without any issues.

So, obviously there is an issue with the latest version of TWRP recovery 3.2.0.0 that fails to restore ROM backups created using the earlier version. I hope this issue goes to the notice of TWRP developers and they provide a fix soon.

P.S. I have also taken a nandroid backup of my phone with the new TWRP 3.2.0.0 which took unusually long time to complete, but finally it showed successful and I am yet to try using it for a restore. At this point, I am not sure if it will work alright. Fingers crossed.
[OnePlus 2 General] bussi1805:
Confirmed. Had the same problem. Unable to restore backup. Successful after rollback.
[OnePlus 2 General] FPSUsername:
And what if you make a backup in 3.2.0.0 and restore it in 3.2.0.0 and in 3.1.1.0?
[OnePlus 2 General] acwcanada:
With recovery 3.1.1.0, you can restore backup no matter it is backup with 3.1.10 or 3.2.0.0, with recovery 3.2.0.0, you just can't restore any backup.
[OnePlus 2 General] netraraj:
I also faced the backup restore issue through 3.2.0.0. Back to 3.1.1.0.
[OnePlus 2 General] AndroMani:
As the issue is present for everyone, developers at TWRP should provide a quick fix patch or recall this version and release the next stable version with the fix. Also, make a mention of this issue at their download location and provide possible workarounds for the time being.

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

As the issue is present for everyone, developers at TWRP should provide a quick fix patch or recall this version and release the next stable version with the fix. Also, make a mention of this issue at their download location and provide possible workarounds for the time being.
[OnePlus 2 General] acwcanada:
TWRP Recovery has been updated to 3.2.1.0 and the not able to restore problem should have been fixed.
[OnePlus 2 General] AndroMani:
Just checking, has any one tested it with the new version of TWRP (3.2.1.0) to confirm if the restore / backup are working fine without any issues?
[OnePlus 2 General] NeoVsk:
I can confirm that there are no problems with restore/backup in 3.2.1.0
[T-Mobile Samsung Galaxy Note 8 Questions & Answers] Mr Ian B:
Please advise how to get rid of it. I don't want to see it or use this function. Is it possible to do this. I am attaching a pix. I have tried several things in WiFi settings and advanced settings to no avail.

Ian B
[T-Mobile Samsung Galaxy Note 8 Questions & Answers] Mr Ian B:
I figured it out the fix.

Ian B
[T-Mobile Samsung Galaxy Note 8 Questions & Answers] stakousou:
How did you fix it then?
[T-Mobile Samsung Galaxy Note 8 Questions & Answers] PatkosCsaba:
I want to get rid of that as well. Help please.
[T-Mobile Samsung Galaxy Note 8 Questions & Answers] Limeybastard:
Thanks for sharing. LOL
[T-Mobile Samsung Galaxy Note 8 Questions & Answers] davnav899:
This should be possible with system ui tuner, you don't need root to do it
[T-Mobile Samsung Galaxy Note 8 Questions & Answers] PatkosCsaba:
Can someone actually reply to this thread with a set of steps? I am getting pretty frustrated by that icon... and it seems like Samsung attempts the VPN connection even though I disabled it and interferes with AdGuard's VPN or other VPNs.

So. Beside the fact that it is bulls**t, it still tries to do some magic.
[T-Mobile Samsung Galaxy Note 8 Questions & Answers] accts:
Deleted ... posted by mistaked.
[T-Mobile Samsung Galaxy Note 8 Questions & Answers] mth7386:
I got irritated as well with this. I went into settings>apps>SecureWifi, scrolled down to the notifications options, and selected muted/hidden on lockscreen.

I haven't seen that damn icon since.
[T-Mobile Samsung Galaxy Note 8 Questions & Answers] PatkosCsaba:
I have the same settings. But that hides it from the lockscreen only. The icon and notification is still in the notification bar and list when the phone is unlocked.
[Sony Xperia XA Guides, News, & Discussion] pa7taloha:
Hi all!

Happy to share a workaround for root and successful DRM fix.

If you lose your drm key, that's okay, this fix will restore all function which depends on it (picture quality, super vivid mode, etc.....). There's nothing satisfying than using your phone at its full potential with your own custom:p. Spot the difference;)!!!!

1. Unlock bootloader

2. Flash boot.img (Patched to be compatible with the drmfix)

>>> fastboot flash boot boot.img

3. Flash recovery.img

>>> fastboot flash recovery recovery.img

4. Boot to recovery by holding vol - and power; then swipe to allow modification and Format data (mandatory)

5. Flash drmfix.zip

6. Flash Magisk 14.0

7. Boot to android, you're done!!!

Type *#*#7378423#*#* then >>Service info>>Configuration or >>Service tests>>Security to check if all your keys are active.

View attachment 4356573View attachment 4356574View attachment 4356575

Download link:

# For boot.img here!!!

# For recovery.img here!!!

# For drmfix This does the trick
[Sony Xperia XA Guides, News, & Discussion] OverBit:
[MENTION=8416587]pa7taloha[/MENTION] Recovery Download link not working for me. Is normal TWRP also okay?

Edit: Nevermind, just saw its for F3311 not for F3111.
[Sony Xperia XA Guides, News, & Discussion] okhayko:
F3311? You mean Xperia XA or Xperia E5?
[Sony Xperia XA Guides, News, & Discussion] pa7taloha:
I mean Xperia xa F3111. OP corrected, Thank you
[Sony Xperia XA Guides, News, & Discussion] okhayko:
Hi OP, still not working, all my is are "unknown"
[Sony Xperia XA Guides, News, & Discussion] pa7taloha:
That's Strange, can you provide further info, like did you got any error when flashing the drmfix?
[Sony Xperia XA Guides, News, & Discussion] okhayko:
Unfortunately, it's flashed well, no error.

Before i flash the drmfix, just 2 first lines are [Unknow Error] and the other lines are all [Active], Number or something like that

After i flash the drmfix, all of them are [Unknow Error]
[Sony Xperia XA Guides, News, & Discussion] pa7taloha:
That means the drmfix you've flashed has deleted your credential which is located at /data/credmgr/ . For sure the linked drmfix here will not delete anything in your system.

Note: This drmfix will not be compatible with another boot.img different from the O.P. You have to do some mod in your boot.img to make this working. If you want to, let me know.
[Sony Xperia XA Guides, News, & Discussion] okhayko:
Hi, can i ask a question?

My model is F3116, can i do step by step with this guide to make it work?

Sorry but i did not flash your boot.img file, i flashed boot.img file from the other thread, i though it the same. i will try your method but can you answer me that this will work with my model :o TY!
[Sony Xperia XA Guides, News, & Discussion] pa7taloha:
Post here your boot.img then, I will try to mod it. But make sure you still have your credmgr.db file which is located at /data/credmgr, this Fix won't work without it.
[Sony Xperia XA Guides, News, & Discussion] okhayko:
Thanks buddy. Here is my boot.img that i was flash

boot.img file
[Sony Xperia XA Guides, News, & Discussion] pa7taloha:
For F3116 [33.3.A.1.97]

Now

1. flash this bootF3116.img file, using the command "fastboot flash boot bootF3116.img" (without quotes)

2. Go to twrp recovery and "format data" (I suppose you already have flashed twrp)

3. Flash drmfix.zip

4. Flash Magisk if you need root.

5. Reboot

Download link

bootF3116.img

The compatible drmfix.zip

If you still have any problem let me know;)
[Sony Xperia XA Guides, News, & Discussion] bobladure:
Hi,

i had a F3112, is the DRM fix compatible ?

thanks
[Sony Xperia XA Guides, News, & Discussion] pa7taloha:
Hi, F3112 and F3116 has the same boot.img file so you can try to flash the boot.img, and drmfix.zip above your post and post your feedback here;)
[Sony Xperia XA Guides, News, & Discussion] cojocar.andrei:
Hi [MENTION=8416587]pa7taloha[/MENTION],

Can you share your kernel drm fix changes (github or some other cloud server)? I'm trying to implement some custom changes in the kernel and I could add this as well. Thanks.
[Sony Xperia XA Guides, News, & Discussion] matan290:
https://imgur.com/OHuNKyk

Guys I can't seem to get it to work, tried reflashing your boot.img and recovery.img, tried formatting data and factory reset after every flash and wipe cache/dalvik cache after drm.zip install, nothing seems to get rid of those "Unknown error", btw I'm using F3111 single SIM on 33.3.A.1.97.

Almost forgot, when i plug my phone in fastboot and flash the files i don't get that flash status on the phone itself, only on cmd screen that it's done.
[Sony Xperia XA Guides, News, & Discussion] pa7taloha:
Sorry to hear that, It is always recommended to do a full nandroid backup before flashing anything. To get rid of those Unknown error you have to reflash your firmware. What causes these error is that the drm.zip you've flashed has deleted the credmgr.db file in /data/credmgr/, this contains all your phone credential. May be you've flashed any drmfix(old drmfix in other thread) before flashing this, because this fix will not delete anything in your system. And no need to wipe cache/dalvik after flashing it.
[Sony Xperia XA Guides, News, & Discussion] matan290:
Yeah that's the problem,cause i flashed the other DRM fix few weeks ago. Can you please post a link or something for a firmware I can flash or should I try the PC Companion.
[Sony Xperia XA Guides, News, & Discussion] pa7taloha:
You can use flashtool and download a frimware the latest version by xperifirm which is integrated in the flashtool. Or if you want to use Pc Companion you have to relock your bootloader and unlock after it's done.
[Sony Xperia XA Guides, News, & Discussion] matan290:
I'll give it a go this week. Thanks for help!
[Sony Xperia XA Guides, News, & Discussion] byaktakenzie:
sorry brother ,, i have troble with twrp can't mount /system and /cache /data ,.. ..

with root apps like root explore can't rw/ro dir /system ..

installing xposed work .... after this install modul hide navbar ... reboot and get blank screen,

sorry bad language ... anyone can help me?
[Sony Xperia XA Guides, News, & Discussion] pa7taloha:
Are you able to boot to twrp recovery? If yes, try this in twrp recovery go to advanced>>file manager the in /data/app find the package for the app hide navbar and delete it, then boot to android.
[Sony Xperia XA Guides, News, & Discussion] ibrahime:
Thanks bradda

Allow this...and fix them use delete app hide succes..but always think why don't mount system and cache ,or because fixing drm or partition is encrypt but my partition not encypt,or not full root because magisk..... :confused:
[Sony Xperia XA Guides, News, & Discussion] matan290:
Can't flash the firmware

Flashtool giving me too much stress with such a simple action. Says "No flash script found. Flash script is mandatory. Closing session." Every damn time... tried looking all over google and xda with no help. As I have understood thats the problem with scs. file but no one wrote anything anywhere about the fix for that.

Just to say downloaded the firmware with Xperifirm created a bundle with Flashtool 0.9.23.2 tried flashing, won't even start.
[Sony Xperia XA Guides, News, & Discussion] ibrahime:
Flashing firmware or ?
[Sony Xperia XA Guides, News, & Discussion] matan290:
Yes, cause I screwed the files that were in the system that are required for this DRM Fix.
[Sony Xperia XA Guides, News, & Discussion] ibrahime:
Maybe Try use xperia companion to repair and install driver?If flashtool say not found script because flashall.bat not correctly or using other version flashtool...try it ,if show code error searching to google..maybe can help u..
[Sony Xperia XA Guides, News, & Discussion] matan290:
Already tried with other versions and it doesn't help. PC Companion doesn't work cause the phone has unlocked bootloader. Only thing that I can do is to relock the bootloader use PC Companion to repair and then unlock the bootloader again, flash that boot.img, recovery.img, magisk and finally DRM Fix.
[Sony Xperia XA Guides, News, & Discussion] ibrahime:
Your device have twrp or not?
[Sony Xperia XA Guides, News, & Discussion] matan290:
Yes it does.
[Sony Xperia XA Guides, News, & Discussion] rrvuhpg:
Hi [MENTION=5913626]matan290[/MENTION], to flash your device use the last Flashtool v0.9.23.2 it's important and download the firmware with Xperifirm. Use fsc script when asked, and flash the device. Don't try to create a bundle.
[Sony Xperia XA Guides, News, & Discussion] matan290:
To be honest I have no clue where to get the fsc script nor how to use it, the firmware was downloaded using the latest xperifirm and it was unpacked automatically when downloaded. I created the bundle because Flashtool wasn't reading those unpacked files. And btw neither of those programs asked me do I want to use fsc or not.
[Sony Xperia XA Guides, News, & Discussion] rrvuhpg:
Be sure to have the last Flashtool v0.9.23.2
[Sony Xperia XA Guides, News, & Discussion] matan290:
It is v0.9.23.2, even tried with 0.9.23.1 and 0.9.18.6.
[Sony Xperia XA Guides, News, & Discussion] rrvuhpg:
You tried to download the firmware again after updating Flashtool to last version? It should ask for fsc script after the download when you close Xperifirm. If you downloaded the firmware before updating Flashtool it will not work. To update Flashtool you replaced the file named x10flasher.jar over 0.9.23.1, right ?
[Sony Xperia XA Guides, News, & Discussion] matan290:
Exactly.
[Sony Xperia XA Guides, News, & Discussion] matan290:
https://imgur.com/a/YtQz3

Managed to flash the firmware, recovery, boot and your DRM fix confirming that it's working with that photo in the post. Thank you guys.
[Sony Xperia XA Guides, News, & Discussion] ibrahime:
Hy.. Im installing magisk and update to magisk 15.. Drm is not function again.. Solution pliss.. :confused:
[Sony Xperia XA Guides, News, & Discussion] okhayko:
Hi OP, still not active :( I just flashed a new firmware, do i need to flash the old boot file then flash your boot file right after that or just your boot file?
[Sony Xperia XA Guides, News, & Discussion] pa7taloha:
okhayko

Flash only the attached bootf3116 file.
[Sony Xperia XA Guides, News, & Discussion] pa7taloha:
after updating magisk, Have you tried to reflash the drm?, I will try on mine and I will look what's going to happen...
[Sony Xperia XA Guides, News, & Discussion] ibrahime:
Yap i reflash drm and get status bootloder unlock = yes(before bootloader unlock alllow=yes)
[Sony Xperia XA Guides, News, & Discussion] okhayko:
I did, but still not work :( any idea?
[Sony Xperia XA Guides, News, & Discussion] jimxperia9:
update magisk to 15.2 version and drm keys not working...:confused:
[Sony Xperia XA Guides, News, & Discussion] musashi076:
also work on f3115?
[Sony Xperia XA Guides, News, & Discussion] toorroot7:
Followed your steps using your boot.img and recovery.img only works with version magisk 14.0 not with superSU or any other version of magisk

How to make work with superSU as my most apps depended on supersSU root please help !

XPERIA XA F3111 33.3.A.0.131 UK (single sim)
[Sony Xperia XA Guides, News, & Discussion] cojocar.andrei:
Thanks, can you tell me how to disable dm-verity (is it just the editing the fstab and deleting the parameter for the system that says verify?)

Thanks again!
[Sony Xperia XA Guides, News, & Discussion] CrashBX:
Did I miss anything? I did everything what was listed in OP's first post and it just says "unknown error" on the security test.

Using flashtool, I flashed the latest ROM, then using fastboot I flashed boot and recovery. Inside TWRP I flashed the drmfix and (without flashing any kind of SU) I booted into the clean system. Still doesn't work. Does anyone have any advice what to do?
[Sony Xperia XA Guides, News, & Discussion] BlueTR:
About the new versions of magisk and drm fix;

Open init.environ.rc and add blue line to it and save.

# set up the global environment
on init
[COLOR="Blue"]export LD_PRELOAD libdrmfix.so[/COLOR]
export ANDROID_BOOTLOGO 1
export ANDROID_ROOT /system
export ANDROID_ASSETS /system/app
export ANDROID_DATA /data
...

Now drm fix should work with updated magisk.
[Sony Xperia XA Guides, News, & Discussion] saudahmedbass:
CAN ANYONE CONFIRM IF THIS METHOD IS WORKING 100% with all updated magisk/other apps BEFORE I MISS/DELETE ANY OF MY FILES?

thanks
[Sony Xperia XA Guides, News, & Discussion] FabiusMc:
100% Working i only tried with the files of creator.

Magisk 14.0

Xperia XA [Single Sim] 33.3.A.1.115 firmware
[Sony Xperia XA Guides, News, & Discussion] capusopp:
Hi i just fixed my drm using this methode and magisk 14. Now i have working system updates. Should i update to 33.3.a.1.126?
[Sony Xperia XA Guides, News, & Discussion] saudahmedbass:
.126 updated file please

[MENTION=8416587]pa7taloha[/MENTION] can you please do the .126 patch for this drm fix? thanks
[Sony Xperia XA Guides, News, & Discussion] CntrlAltDel45:
All Magisk zip's from v15.0 and up break the drm fix. I tried up to v14.5 (v14.6 doesn't work either) which is the last version that works with the drm fix.
[Sony Xperia XA Guides, News, & Discussion] alx941126:
I will check if it works on. 126
[Sony Xperia XA Guides, News, & Discussion] danielcuervog:
Will work with F3113 single SIM and 126?
[Sony Xperia XA Guides, News, & Discussion] jakaco:
does anyone still have the files as the links are dead
[Android Q&A, Help & Troubleshooting] swaroopkrishna:
Does anyone know any custom roms for huawei ... i have already tried the 5.1.1 version and the miui 4.... but i dont seem to like them both... i am looking for a cyanogenmod/lineage os or something like that with more features.... can anyone help me.. thanks in advance?
[OnePlus 5T  Guides, News, & Discussion] chas123:
If you're gonna step on native android, why not get it right. WTF is oneplus laboratory anyway?

1) with a case on the phone, the little switch is useless. I had to build a sysui with the dnd tile, although much of the intended functionality is gone- i.e. dnd until next alarm.

2) the native android on screen navbar works great. Why did you fvck it up?

Other than that- great hardware!
[OnePlus 5T  Guides, News, & Discussion] iamterence:
1. False

2. I like it
[OnePlus 5T  Guides, News, & Discussion] benny3:
You must have tiny fingers.The nav buttons could have been a little more spaced apart.
[OnePlus 5T  Guides, News, & Discussion] iamterence:
I don't actually. It's not that hard.

---------- Post added at 10:39 PM ---------- Previous post was at 10:38 PM ----------

If the screen was smaller, then yeah I'd have trouble. But this screen is f*cking huge, so it was easy to adjust
[OnePlus 5T  Guides, News, & Discussion] benny3:
Im just saying the homeback and recent app buttons only take up half of the nav bar . They could of spread them out bit more so my thumb doesn't hit 2 buttons. If you look at the code inside the sysui it looks cobbled up i think thats what chas is getting at. I been looking into adjusting the padding some to get a little more space between the buttons. I do like the fingerprint scanner on the rear, The axon 7 had it and i really liked it
[OnePlus 5T  Guides, News, & Discussion] chas123:
Yeah- thank's for your thoughts,

Anyway- The navbar is effed up. I get a washed out grey background w/ white icons often. I found an app for a work around, but that's bvll**** to have to do it.

And yeah- my thumb won't fit up a rat's arse
[OnePlus 5T  Guides, News, & Discussion] MrPepperino:
I love you <3 exactly my thoughts. How could someone love these white/grey buttons
[OnePlus 5T  Guides, News, & Discussion] Kromz:
I got hooked on the Navbar Apps mod a while back and use it to have a dark navbar again -- not a fan of the white nav bar.

The navbar stays dark with Nova Launcher and the "Show image under nav bar" option selected in the Look & Feel section of Nova Settings.

Haven't found a fix (yes it seems broken) for the tiny hands buttons. They're just way too small for the bigger screen. Maybe another rom will do the trick?
[OnePlus 5T  Guides, News, & Discussion] MrPepperino:
On custom roms like resurrection remix or aicp we get the stock Google navbar. That would be even better than this thing we got now
[OnePlus 5T  Guides, News, & Discussion] digitalmahdi:
Navbar is fine for me except the color that sucks in dark apps.

I wish they would leave the DND settings there, I was a heavy auto DND user at nights
[OnePlus 5T  Guides, News, & Discussion] TurboBot247:
I don't understand why everyone and their mother is complaining about the white navbar. That is there for a reason, and not to deviate from what was set forth by stock Android and what is seen on the current Google Pixels. That white navbar is there due to burn-in. When one portion of an OLED display constantly stays black (pixels deactivated in that area), the pixels of the display in said area degenerate at a much slower rate than the rest of the display, which causes the dreaded burn-in issue. Then, after around 4-6 months of using your device with a black navbar, you'll end up with a display that has an inconsistent rendering of color. OnePlus implemented a white navbar in order to mitigate that issue and to allow the pixels of the display in that area to degenerate at the same rate as the rest of the screen, and to slow the burn-in of the individual on-screen buttons themselves, as the grey buttons prevent the pixels from being deactivated in those areas. The buttons we're moved closer together to make them easier to reach, but I would prefer them farther apart, like normal.
[OnePlus 5T  Guides, News, & Discussion] chas123:
This is what I'm talking about. Gets hard to see at night like this. Really, I could care less what color the navbar is. The buttons should be consistently inverse so as to be easily seen.
[OnePlus 5T  Guides, News, & Discussion] bkeaver:
So flipping the toggle switch to dnd is too hard?
[OnePlus 5T  Guides, News, & Discussion] digitalmahdi:
no its not hard, i like it but thats not the case. scheduled do not disturb mode is a standard feature of android, lots of nights when i'm tired and i pass out i do not get to my phone to put on silent, auto do not disturb mode was very useful for me as i had my phone on dnd every night from 11PM till next morning 6AM.
[OnePlus 5T  Guides, News, & Discussion] bkeaver:
Here is a easy solution then use Tasker to accomplish this.
[OnePlus 5T  Guides, News, & Discussion] digitalmahdi:
well I'm doing it right now, but i would prefer zero need to a third party app for something that is a part of the android itself.
[OnePlus 5T  Guides, News, & Discussion] JhinCuatro:
notification slider always useful.... However navbar ugly, i never liked navbar and mss the capacitive ooneplus buttons. So i removed navbar and used gestures (swipe up in place of home/back/recents to do respective actions)
[OnePlus 5T  Guides, News, & Discussion] chas123:
This. DND until next alarm was one of my favorite features.
[OnePlus 5T  Guides, News, & Discussion] OMG-FFS:
I liked the auto DND on my Samsung Note 3 from which I upgraded to OP5T, but it's not a big deal, and it works with the case on (if it doesn't work with your case then complain to case manufacturer).

No complains about buttons spacing, but it's my 1st phone without hardware buttons in that place. I also added a "hide the navbar" button so that pretty much occupies the whole navbar, again, no complains from me.
[OnePlus 5T  Guides, News, & Discussion] jim262:
Mountains out of molehills.