yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ1  Guides, News, & Discussion] f1^ter:
Have Deodex WfdService.apk, to disassemble .apk and make changes. It seems the manual is well described. :o

Edit:

To remove directory /system/app/WfdService folder "oat". Go in recovery and flash WifiDisplay-FIX.zip after installation, remember to perform the operation with system\etc\wfdconfig.xml . Don't forget about a backup System.
[Sony Xperia XZ1  Guides, News, & Discussion] pergoteborg:
Well of course we can se what it does, but WHAT DOES IT FIX????? WHAT IS THE PROBLEM IT SOLVES????

I do not know I have a problem with the WfdService!!!!
[Sony Xperia XZ1  Guides, News, & Discussion] f1^ter:
Wireless connection to a TV for example. In fact, the analogue of Miracast.
[Sony Xperia XZ1  Guides, News, & Discussion] pergoteborg:
Ok, good to know since I do not use it and Therefore dont have the problem.

Maybe put that in the header?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Send from my Xperia XZ1 Dual (G8342) using Tapatalk
[Sony Xperia XZ1  Guides, News, & Discussion] bozinsky73:
On Android Pie, whiteout ta partition backup, this restore a semi working miracast: it only works for Xperia home app and Settings app.

Thanks :good:
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] M-Rom:
[oreo] WifiDisplay fix

WfdService.apk

smali\com\sonymobile\wifidisplay\WFDSessionHelper.smali

Remove red

system\etc\wfdconfig.xml

Modify 1 to 0

system\build.prop

Delete persist.debug.wfd.enable=1

Add persist.debug.wfd.appmonitoring=1
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] iArvee:
Awesome! I'll try this out later. Finally a fix for screen mirroring!
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Castiglionais:
Good job man, it fixes several problems in particular screen mirroring
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] iArvee:
Confirming that it works! The message still pops up, but you can mirror any app like normal.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] pikeylfc:
Hi how do I edit the apk?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] jicks:
Any chance we could get more instructions to doing this?

Cheers!
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] iArvee:
You have to deodex the wfdservice.apk, then decompile it to get the smali files.

You can deodex and decompile it using Tickle My Android (Windows). Once you decompile the apk, edit the smali file using Notepad++ or something similar. From there, recompile using the original signature, then either flash it on your phone or just delete the contents of the WFDservice (including the oat folder since its deodexed), and paste it there. Don't forget to set the permissions!

I'm thinking of releasing a deodex patch for the G8412 since there isn't one yet. Might get around to it when I have the time.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] jicks:
Thanks for the reply, but unfortunately no luck for me. I've followed your instructions and flashed it but getting a "Could not turn on Screen Mirroring. Please try again later" message.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] iArvee:
Did you do the other things stated on the post? Like edit the wfdconfig and build.prop? Also double check that you flashed it properly. The only thing inside the WfdService folder should be just the edited, deodexed apk. Delete the oat folder.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] jicks:
Yeah, I've checked the numbers and they are the same. Any chance you could share your apk because I think I'm not deodex/decompiling/recompiling it properly.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] iArvee:
Sure, here you go. Hoping it works! :D
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] jicks:
Thanks! You're a lifesaver!! I can get it to mirror to my PC now but the graphics is pixelated/choppy
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] iArvee:
Glad to know it works! Can't help you with the pixelated thing though. :( Quality seems fine on my TV.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] jicks:
Just tried it with my TV downstairs and it works flawlessly. The lag issue on PC is probably a separate issue. Thanks again!
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] timetraveler:
Any apk to go back to stock settings. If your apk does not work on my phone?? Have same. Problem I cant mirror. My phone image. It pixels and freezes. A lot

---------- Post added at 07:33 PM ---------- Previous post was at 07:30 PM ----------

You just flash the zip from recovery. Or open zip file to get apk

To install it???

---------- Post added at 07:54 PM ---------- Previous post was at 07:33 PM ----------

And your apk it's all that is needed. To fix the mirror. Wifi issue??? Do I need root to be able to install. Apk or stock will work I have not unlocked. My phone????
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] iArvee:
You need to manually copy this apk in system/etc. This is not a flashable zip. :)

This apk is for rooted phones, or phones with unlocked bootloaders. If your bootloader is not unlocked, this will not fix it. Since you stated that it freezes a lot and is pixelated, try doing a factory reset, or perhaps a software repair.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] timetraveler:
Software repair. How please. Explain more details
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] iArvee:
Download and install Xperia PC Companion. From there, you can perform a software repair which basically is the same thing as performing a full wipe using Flashtool. A factory reset only deletes the internal data, but not restore the system files.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] timetraveler:
Thanks for guide and information I appreciate it greatly k
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Shellyaffff:
After doing this mod I get reboots sometimes I installed modded apk from here wfd and deleted oats folder
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] osmososmos:
ohhh yeehhhh . very thanks . you are awesome .
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] Patrck744:
Is there an updated apk for this?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] florianzeul:
Wfd

How do you install wfd service apk.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] iArvee:
The apk I uploaded previously still works, even on latest firmware of XZP.

Either create a flashable zip in TWRP, or delete the apk, replace with my apk and set permissions; then restart.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] RighteousJoe:
I was wondering if you can tell me how to do it on pie. I would donate.
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] RighteousJoe:
Still no mod for PIE?
[Sony Xperia XZ Premium ROMs, Kernels, Recoveries, ] miracl_e:
How to use the TickleMyAndroid?

Is this the deodexed apk which I can use directly for my sony XZ2(H8296) Oreo? Or I need to pull something using "TickleMyAndroid" and then decompiling/recompiling it? If yes, how could I pull this apk file from my phone? I download and install the java and TickkeMyAndroid already(other steps were already done, Like edit the wfdconfig and build.prop . )Now it stops at this step, who can help me?
[Tilt, TyTN II, MDA Vario III General] art12345:
Hi! I have problem with my Kaiser. When i am touching the screen by stylus (few seconds touch) then my Kaiser is very slow. When i dismiss the touch of screen then Kaiser work fast. In the attach is swirly. It is simply apllication which can show you whether you Kaiser have this problem. When i touch the screen for few seconds then the objects in swirly are moving very slow. When i dismiss the touch then objects are moving in normal speed. It is look like processor time usage is high when i am tapping screen but i am not sure. Can you confirm that your Kaiser have this problem too? Best regards and sorry for my english.
[Tilt, TyTN II, MDA Vario III General] Eraser85:
that's a very well known problem of the kaiser (even other pdas with the same qualcomm msm7200/7500 are affected, too). Head to htcclassaction.org for more infos
[Tilt, TyTN II, MDA Vario III General] art12345:
HTC will make new ROM for Kaiser wchich make our Kiasers fatster (without drivers for graphic chip) yeah? But do they now that problem with tapping exist?
[Tilt, TyTN II, MDA Vario III General] tsadek:
They are VERY aware. htcclassaction.org is probably the most read website in HTC at the moment and it documents this problem as well as the multitude of other issues.

As for the update, noone knows exactly what it will do (if anything) but it is NOT a driver.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] M-Rom:
[oreo] WifiDisplay fix

WfdService.apk

smali\com\sonymobile\wifidisplay\WFDSessionHelper.smali

Remove red

system\etc\wfdconfig.xml

Modify 1 to 0

system\build.prop

Delete persist.debug.wfd.enable=1

Add persist.debug.wfd.appmonitoring=1
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] sensei_sai:
Hi, thanks for the method, but could you explain how to remove red in

"WfdService.apk

smali\com\sonymobile\wifidisplay\WFDSessionHelper. smali

Remove red"?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] levent9406:
Please share modded apk? My apktool not work.
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Nimadroid:
Can you provide me moded file that you made?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Pandemic:
What is exactly do and more info please ??!

Verstuurd vanaf mijn G8231 met Tapatalk
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] niaboc79:
Find the method, then delete the lines who are in red.

Envoyé de mon F8331 en utilisant Tapatalk
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] niaboc79:
It fix wifi display ;)

Envoyé de mon F8331 en utilisant Tapatalk
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] VTLO:
Here's mine. Confirm it is working !

drive.google.com/file/d/1f9F9mGxpre104AuYsx-S7JpZzvR34AyZ/view?usp=drivesdk

Bye !:good:
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] linpe:
Guys please help!

I am trying to edit my WfdService.apk file but can't find "smali" files in there?

I am using Apk Editor on Android and I have also tried with Apk Studio on Windows but just can't find where "smali\com\sonymobile\wifidisplay\WFDSessionHelper. smali" is.

For all other steps I completely understand what I have to do but this step is a bit confusing for me so please give some hints :(

Thanks!

Here is a link for my stock WfdService.apk file in case someone wants to take a look:

https://drive.google.com/open?id=14zVKweaA6LaGQTgKg2euEKSXwePtEX6B

(Xperia X F5122 with rooted Oreo 34.4.A.0.364)
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] linpe:
I solved screen mirroring issue by restoring my DRM keys with unofficial "rootkernel" and "ta poc"!

https://xdaforums.com/showpost.php?p=74724162&postcount=2793

Now have rooted stock Oreo with all DRM functions working...
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] echo124:
PLease reupload! :)
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] VTLO:
Hello !

Now you should be able to get it !

Please report !

https://drive.google.com/file/d/1dQ5smDIGgk3cvJWsAqkIMu1hYZU4BQX0/view?usp=drivesdk
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] slsamg7112:
here is my modified WfdService.apk from stock 41.3.A.2.157 ftf and of course i deodex that before modifying

but after i replace the original one i cannot connect to my tv,however it was only not support HDCP before:confused:

anyone can test it?
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] VTLO:
Use the one posted previously.

;)
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] slsamg7112:
didn't notice that.thanks a lot!:good:
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] deadman220:
Confirmed working fine edited apk in attachment just replace and edit permissions then complete the steps :good: :good:
[Sony Xperia XZ ROMs, Kernels, Recoveries, & Other ] Mr. Clean:
Hi, Can anyone tell why I am not able to find smali\com\sonymobile\wifidisplay\WFDSessionHelper. smali

XZ .192
[Android Q&A, Help & Troubleshooting] metalmouth:
Hi,

I have successfully compiled a kernel for ASUS Zenfone 3. Everything works except for wifi. I didn't get any error when compiling so I'm assuming I just missed something?
[Android Q&A, Help & Troubleshooting] storm_99:
Ask here [MENTION=7195235]LinuxKernel[/MENTION]Chat

Tg group
[Android Q&A, Help & Troubleshooting] metalmouth:
nevermind i got it working. thanks!
[Android Q&A, Help & Troubleshooting] storm_99:
Don't say thanks just hit thanks:p jokes apart
[Android Q&A, Help & Troubleshooting] OtaruM:
Having exactly the same issue while compiling Zenfone 3 Zoom kernel.

How did you solve the WIFi problem? Thanks in advance.
[One (M9) Q&A, Help & Troubleshooting] CORE iT:
Does any one know how to manual partition on HTC M9:confused::confused::confused:
[One (M9) Q&A, Help & Troubleshooting] lucyr03:
What do you mean by "how to manual partition", you want to change partitions size? If so, it's not possible on M9 afaik.
[One (M9) Q&A, Help & Troubleshooting] shivadow:
Depends on what you want to partition. If you mean to split the system partition then I doubt you can. If you mean the sdcard then try an app from the play store or use a pc.
[Windows 10 Mobile] Donz7733:
There is a Navbar key in - HKLM-Software-Microsoft-Shell

But I don't know what to edit to reduce the height of navbar. Tried changing 'Height' under folder '720x1280' but no difference.

Device: Lumia 730
[Sprint  Galaxy Note 4 Q&A, Help & Troubleshooting] Zeekayy:
Hello everyone.

I own a Sprint (SM-N910P) Note 4 and I want to say I'm tired of using the Sprint modified firmware. There is a thread on the original Note 4 forum side that you can install the UK firmware which comes officially from Samsung. I've also seen that the original Note 4 (SM-N910F) and the SM-N910P exactly have the same specs. Plus many people have posted that the method of flashing the UK stock firmware from Odin works fine.

I wanted to ask if anyone has done this, can they guide me to do it if its possible? Because I also don't know which firmware would be compatible to flash.

Please feel free to reply and discuss.
[Huawei Ascend XT Questions & Answers] crashburn833:
OK so this is where i tell you if you brick your phone and try this and it makes it worse i am not to blame. this has worked on three different phones that i have used no problem.That being said lets dive on in.

ONLY FOR THE H1711!!!!

Downloads (move them all to sd card root)

UPDATED USERDATA thank aslezak for that

https://uploadfiles.io/n5g32 and that

http://www.mediafire.com/file/gybldrcgw8h6x2w/twrp_first%5B1%5D.img you can thank yuweng for that but it is not fully working yet link will be replaced once fully working is released

Steps

get phone to fastboot mode must be unlocked then use the twrp recovery from downloads via this command on your adb/fastboot installed computer connected to phone :

fastboot flash recovery twrp_first[1].img

Reboot phone to recovery

go to wipe advanced wipe wipe data and system only

go back to home menu open advanced then terminal

enter this command exactly :

dd if=/external_sd/userdata.img.bz2 | bzip2 -dc | dd of=/dev/block/bootdevice/by-name/userdata

that will take a loooonnnnnnggggg time approximately 30-45 min

after it shows # in terminal again do this command :

dd if=/external_sd/system.img.bz2 | bzip2 -dc | dd of=/dev/block/bootdevice/by-name/system

reboot and it should take a loooonnnngggg time but eventually it will finish and you restored if not try asking some of the devs for pointers:laugh::fingers-crossed::highfive:

Make sure you thank everyone who helped aslezak gave me the commands and the userdata img as well as the system img yuweng provided the first semi working twrp (and a few later that are experimental)

if you want root check this thread https://xdaforums.com/huawei-ascend-xt/help/huawei-ascend-xt2-h1711-t3689411/post75115521#post75115521
[Huawei Ascend XT Questions & Answers] freedomwarrior:
Your first link for the userdata image says file not found when you go to that link.
[Huawei Ascend XT Questions & Answers] aslezak:
UPDATED USERDATA
[Huawei Ascend XT Questions & Answers] freedomwarrior:
That one don't work either ;)
[Huawei Ascend XT Questions & Answers] one789:
FULL ROOT... ON MY HUAWEI XT2!! Twrp supersu and custom rom !!!
[Huawei Ascend XT Questions & Answers] scrungydoolittle:
The problem with this seems to be, at least for me, that a .bz2 file is not recognized by the recovery as an installable zip.

The dd trick worked for me, but the system image here, is not full stock. IT seems to have a mix of super_su and magisk in it.

Root is working, but I can't seem to mount system as r/w

So trying to figure this out. I used this image to do a restore, and my phone was rooted with magisk.

First time a program tried root, it said that super su was installed. When I went to another one, it said that magisk was installed.

Anyrate, at one time I was able to mount system r/w and make changes. Now it seems that I can't for whatever reason. I don't know exactly how I got it

to the state to be able to modify the system.

I actually pulled an entire copy of the rom at one time, with a dd command. Of course that can't be reflashed from twrp. But I'd like to be able to mount it somehow on a pc so I could do a stringsearch for all files that have an ro, in them to find the master files where the filesystems are mounted, and edit those....
[Huawei Ascend XT Questions & Answers] beast101pro:
the system.img requires a monthly membership, could an updated link using something like mega or mediafire be created please?
[Huawei Ascend XT Questions & Answers] scrungydoolittle:
what custom rom?
[Huawei Ascend XT Questions & Answers] Whit3Rabbit:
HELP PLEEEASE! Bricked h1711

Badly need mmcblk0.img for H1711! Had TWRP and phone was rooted but I screwed up and flashed a wrong IMG. Now I have the dreaded QHSUSB_BULK issue. Nothing but a black screen and a blue light. :( I googled "How to fix QHSUSB_BULK or Qualcomm HS-USB QDLoader 9008 error" and went on forum.hovatek.com where it said "This error is an indication that the phone is hard bricked due to a corrupted Bootloader. It could occur randomly or after you make a change to the phone, causing the phone to go into Qualcomm Emergency Download Mode." It also stated that I could fix it by creating a bootable SD card using the phone's original mmcblk0.img file using a program called Win32DiskImager. I don't have mmcblk0.img and I can't boot into recovery or fastboot. PLEASE PLEASE HELP!!!! Also first two links in OP's post don't work. Any files or advise you can contribute would be GREATLY appreciated! THANKS!
[Huawei Ascend XT Questions & Answers] divineBliss:
mmcblk0.img would contain all phone partitions including those with personal information like IMEI number and the /data partition that should not be shared.

Nobody should be sharing that without understanding it contains their IMEI number and other possibly personal information in /data and I'm sure it would be at least 8-10GB.

And what would you do with the file anyway if you can't get into fastboot or recovery? :confused:
[Huawei Ascend XT Questions & Answers] Whit3Rabbit:
What do you recommend I do? All I have is a black screen and a blue light? thank you btw
[Huawei Ascend XT Questions & Answers] divineBliss:
If it won't go into fastboot mode and won't boot, I think only Huawei can fix it.
[Huawei Ascend XT Questions & Answers] Whit3Rabbit:
That's what I was afraid of :( Thank you for the quick response.
[Huawei Ascend XT Questions & Answers] scrungydoolittle:
What is the link to the info you found?

I have the image you need, but it is 15 GIGs in size, and there is no practical way to send that. I also have a system image, and a boot image with magisk in it, as per the OP.

P.M. me.

I don't see how you can recover this if you don't have recovery or fastboot, and can't boot into the phone. If the bootloader is corrupted, well I just don't know.

Can you get into twrp?

You do know that there are two recoveriess, one erecovery and another recovery.

It seems that POWER and VOL up may get you into one, and POWER and VOL down may get you into another one.

NOTE: I KNOW you can't flash the image via fastboot, cause I tried it. it is just to big.

The files are all to big to post here....

https://nofile.io/f/2sfHn8teU1s/system.img.bz2 I put this up 6 days ago for someone else. I don't know how long the link is good for.

This is the system image from the non-working link. You will need to untar it.

https://nofile.io/f/2sfHn8teU1s/system.img.bz2 <<<<<<<<<< file from Original Post

https://nofile.io/f/vTRffT3CM0s/erecovery.zip <<<<<<<<<< erecovery is same as stock recovery

https://nofile.io/f/3DRA4bYjdsq/twrp-xt2.7z <<<<<<<<<< Hweng's original twrp

https://nofile.io/f/uAET5bTqQVk/patched_boot.zip <<<<<< bootloader patched with magisk for a root that does not touch the system partition.

I'll try to put the 15 gig mmblockp0 up here if it will take it, but it is at the office.

I hope this helps.

I now also have a virgin system image, stock. The image given above appears to also have supersu installed it int.

at least it has a su in the system image. Where magisk, just patches the boot image as I understand it.
[Huawei Ascend XT Questions & Answers] goesham2:
Any luck on that stock system.img? I formatted mine like an idiot and now sitting on a phone with no OS
[Huawei Ascend XT Questions & Answers] Harrison85:
same as above, i will even take the rooted system.img i have all other files needed.
[Huawei Ascend XT Questions & Answers] littletech:
I'm a little bit of a noob at all of this but could someone explain to me how they got twrp and root on their xt2? I can really only process step by step and I haven't found that anywhere yet. I'm getting this phone later today so it'd be really cool to get root on it
[Huawei Ascend XT Questions & Answers] clsA:
step by step root > https://xdaforums.com/huawei-ascend-xt/how-to/rooting-restoring-huawei-elate-h1711z-t3764391

the files for root are the same for the Elate and the XT2
[Huawei Ascend XT Questions & Answers] beemayer:
Blue light black screen fix

​

My device suffered the same fate, only a blue light black screen unable to enter boot or recovery. I slowly removed the back cover using my fingernails and removed the two screws holding the metal plate above battery on the right. Popped the left most plug to disconnect the power flow and allow phone to power off completely. Be careful not to touch any of the metal near the plug or you will short. I plugged it back in and held volume down while I inserted USB connected to computer. Tada!! Back in action fastboot ready... So OK now what?? I can't seem to be able to flash an update. Zip just keeps saying failed to load, and system image is too big. Can someone point me to the correct files I need to get her working again? Thanks in advance.
[Samsung Galaxy J5 PRO (2017) ROMs, Kernels, Recove] Whiz91:
How stable is this, have you run into any issues, Apps closing and such?

tempted to try.
[Samsung Galaxy J5 PRO (2017) ROMs, Kernels, Recove] wetito:
I tried and all works fine
[Samsung Galaxy J5 PRO (2017) ROMs, Kernels, Recove] ksa616:
Thanx for Feedback

i also don't see any problem
[Samsung Galaxy J5 PRO (2017) ROMs, Kernels, Recove] karcas:
This is great,

thank you! Working flawlessly.

One thing though: in the settings, the option to see battery and storage has disappeared.
[Samsung Galaxy J5 PRO (2017) ROMs, Kernels, Recove] akaluptos21:
this tool remove radio

with out that it is best
[Samsung Galaxy J5 PRO (2017) ROMs, Kernels, Recove] ksa616:
any time bro ..

Sory for that .. but you can edit "updater-script" and delete any lien
[Samsung Galaxy J5 PRO (2017) ROMs, Kernels, Recove] rokolaxo:
For Samsung galaxy j6 2018 please!!
[Samsung Galaxy J5 PRO (2017) ROMs, Kernels, Recove] Mr. Death:
Hi I have trouble with latest Oreo 8.1. It FCs Settings after removing bloatware. Is there any chance to fix the script? Phone is atm for testing purposes so I don't mind to reflash it and lost everything. Thanks in advance.

EDIT: It's caused by run_program("/sbin/rm", "-rf", "system/app/UserDictionaryProvider");

If you remove this line from script it works.