yashsingh1/xdaforums huggingface dataset:
[Magisk] pearce29:
I tried to add all the gamepad smali files which enables all the controllers from twisteds modded apk to the new rp apk with apk editor. It compiles successfully and signs but the apk wont install. Unmodded version installs every time. So idk? Maybe some kind of protection? If you use apk editor and change dex to smali and go under smali/com/playstation/remoteplay the gamepad files are there but are not present in the new rp app. They are twisteds.
[Magisk] Kropolis:
Damn. From what I can tell Sony purposely left them out. Maybe we'll get lucky a d he'll share how he put them in. I would think adding DS4 support would be easier than most everything else he was doing.
[Magisk] endomatic:
[MENTION=4206297]leolawliet[/MENTION] This is awesome! I figured it was some kind of BS in the buildprop. I did the edit rebooted and used Magisk hide. Opened PlayStation Vue and it got past the "does not work on rooted devices" !

I am on purenexus latest as well.

Best!
[Magisk] zGODMODE:
Thanks so much works like a charm! For people having trouble, just download magisk manager after root from Google play and then search for Sony framework. After that load in the module provided by the OP by long pressing it in the modules tab. Afterwards you can install remote play via APK (I downloaded from the play store). It will only work after you uncheck superuser in SuperSU and uninstall it. Otherwise, you will get errors. just reinstall SuperSU if you need it. Confirmed from Nexus 5X running stock 7.1.1
[Magisk] Kropolis:
Excellent. I'm running 6.01 on a Nexus 5x. The only thing holding me back is Good for Enterprise (business email). It has a root check that detects Root Cloak in later versions. I managed to get an older version that doesn't detect it for now. Makes me wonder if something needs Magisk will help keep Good from being detected. If anyone is using Good and this Remote Play method on Android 7 please let me know.
[Magisk] pearce29:
I want moga support which was in v5.2
[Magisk] ManikandanGuru:
This is what exactly I did, still the app gives error.

I installed the Sony Framework Modules and this Module too.
[Magisk] ManikandanGuru:
Deleted
[Magisk] leolawliet:
Did you manage to get it working?
[Magisk] ManikandanGuru:
No not yet, I deleted the magisk and reinstalled it so I got an error in play store and installed again.

That's why I deleted the post.

After installing Sony framework module no Sony apps are showing in play store.

I think magisk is not working properly.

I am using Resurrection Remix March 23rd build.
[Magisk] leolawliet:
Try by starting with the stock boot.img your ROM comes with. Then from there choose what kernel you would like to use. After that patch your boot.img by flashing Magisk.
[Magisk] ManikandanGuru:
I am not using any custom kernel from the beginning.
[Magisk] leolawliet:
I'm not sure what's wrong. Try a custom kernel that is up-to-date, hopefully one with the bootloader unlock status patch. I'm sure you know what you're doing. Sometimes the problem might be the ROM, not the device or kernel. I had a friend who had a lot of trouble with running modules on his Nexus 6P running Dirty Unicorns.
[Magisk] ManikandanGuru:
Yeah might be the ROM problem.
[Magisk] EnixNeo:
[MENTION=4206297]leolawliet[/MENTION] I tried your method and it works! I did this on my OnePlus One running CM13.0 (6.0.1).

Originally I was having a problem. When I first ran the Remote Play app I was getting the same 88001003 error code as [MENTION=662522]slekkas[/MENTION]. So I decided to reboot my device and tried to launch Remote Play again but now I was getting a black screen. He said it was related to SuperSU. I checked my app drawer and didn't see SuperSU installed. But then when I checked File Manager and found a folder labelled SuperSU. I must have installed it through TWRP a long time ago and completely forgotten about it. At any rate, I uninstalled SuperSU with the script provided here and it worked.

Thanks for your discovery!
[Magisk] wordlessecho:
Nice work!
[Magisk] leolawliet:
I'm going to update the OP when I have time. I'm going to be a little more specific with the instructions to directly modify the values in the build.prop in system. This info would be to help whoever can't use Magisk on their device.
[Magisk] EnixNeo:
That may help me install it on my Nexus 7. I've been trying to install Magisk on it but it seems to be in a loop of asking to "download and install". It's downloaded Magisk v11.6 like 5 times but it doesn't seem to start the install process.
[Magisk] leolawliet:
If you're rooted and want to take a chance, use a file manager with root such as Root Explorer or ES to edit that one line in build.prop that needs to be changed. Check the first post, the line you need to edit is there.
[Magisk] ysargon:
I'm running a purenexus on a Nexus 6p. My root was SuperSU.

I chose the option to permanently unroot and uninstall SuperSU.

I downloaded magisk11.6 and flashed ssh superuser.

Flashed the magisk zip no problem.

Installed the magisk app from play store no problem.

Installed the Sony framework using the magisk app.

I enabled hide root in magisk and restarted my phone.

I installed the new remote play app and didn't open it yet.

I hid the app in magisk and restarted my phone.

Works 100%
[Magisk] leolawliet:
I'm glad it worked out :)
[Magisk] Citizen_Snips:
Awesome, but FYI Magisk handles root on its own now. If you flash Magisk 11.6, you're rooted. No need to flash other superuser.
[Magisk] Mecca EL:
Also have Remote Play working. I manually edited the build.prop. Here's my setup, for any Oneplus One users - https://xdaforums.com/android/apps-games/ps4-remote-play-android-thread-t3068225/post71613529
[Magisk] leolawliet:
That build.prop edit is the same thing I did. Except Systemless.
[Magisk] zoltar1308:
Working very good on OnePlus 3t with magisk and phh roo from magisk
[Magisk] ahrion:
Installing Remote Play on the play store just gives me a black screen.

OP3 Official LineageOS 7.1.1 blu spark kernel. I have don't framework and this mod installed.
[Magisk] zoltar1308:
The easy way is to fresh install oxigen os. Flash twrp. Instal magisk and root with phh's super user. After read the first post and will work 100%. For is working on oxigen os 4.0.3
[Magisk] Didgeridoohan:
Why do people keep insisting on installing phh's superuser with Magisk? Magisk uses it's own MagiskSU (forked from phh's, yes, but not the same) or systemless SuperSU...
[Magisk] zoltar1308:
With phhs root i manage to hide root from desired​ application
[Magisk] ahrion:
MagiskHide does the same exact thing.
[Magisk] leolawliet:
Guys.... At no point did I ever say you need phh's Superuser for the Magisk method. You would probably need it ONLY if you are running a much older version of Magisk with MagiskSU not build-it. I don't recommend running older versions of Magisk, I encourage users to update to the latest version. The only things you need are as listed here:

Hopefully this steers you all in the right direction. There's no need to complicate stuff, keep it simple guys.
[Magisk] zoltar1308:
When i have magisk and supersu safetynet not pass
[Magisk] Didgeridoohan:
Of course not! Magisk Hide doesn't work with SuperSU.
[Magisk] leolawliet:
There's absolutely no way you can pass SafetyNet with SuperSU. Magisk is mostly used for it's modules, the built-in Superuser that passes SafetyNet is a plus. Magisk works better with the Superuser that it comes with. You should fully unroots then flash the stock boot.img of the ROM you're using. Then you flash a kernel of your choice.if you use custom kernels. Then you flash Magisk. After that try installing the modules and following the rest of the instructions.
[Magisk] ahrion:
I'm pretty sure MagiskHide will allow to pass safety net with SuperSU but it's super bugged in magisk currently and lacks testing. It sometimes work and sometimes breaks root with SuperSU.
[Magisk] Didgeridoohan:
There's probably parts of Magisk Hide that works with SuperSU, but it's developed with MagiskSU and no other root method is officially supported for Hide...
[Magisk] dpechiu:
Worked for me

I was getting the 88001003 error code previously. This is what I've done to fix it.

Uninstalled SuperSU from the app

Installed Magisk.zip from TWRP recovery

Enabled Magisk Hide

Hid all playstation apps

Started Remote Play successfully

Note I did not even have to install Sony Framework!

Thanks Didgeridoohan!
[Magisk] leolawliet:
I believe the framework was only needed to install the app. It makes sense to see it working without the framework. It's worked like that for me in the past
[Magisk] Xephyrex:
Can someone please help! i've installed and enabled the module in MagiskManager (I am rooted with Magisk not SuperSU), however, there is a problem; SafetyNet no longer passes and I can no longer use certain apps that depend on SafetyNet passing. Any help?

UPDATE: just realised that remote play will work if the module is disabled! Sounds good, so SafetyNet should pass freely. Thanks for your efforts [MENTION=4206297]leolawliet[/MENTION]!

---------- Post added at 02:11 PM ---------- Previous post was at 01:57 PM ----------

Not working, I enabled the framework at the expense of losing SafetyNet, remote play installed fine adn then I proceeded to disable the module after installing the app, restarted my device and got SafetyNet back, but for some reason the app had automatically uninstalled by itself upon rebooting and I then tried to install the separate APK but it fails to install. It seems that the only way is to have the Sony Framework enabled, however, I don't want it enabled as SN fails. How did you go about running remote play without having the Sony Framework enabled, since it seems to uninstall upon rebooting for me :confused:

Any help would be appreciated.
[Magisk] leolawliet:
I'm not sure how that works. I was able to run the old mod without the framework.
[Magisk] Xephyrex:
The old mod? As in Twisted's version? That runs fine, but it seems that the remote play 2.0.0 app requires the sony framework to be installed and enabled in Magisk and then when I try to run the actual app with it enabled, I seem to receive an error: 88001003 :crying: I do have all Sony apps hidden in MagiskHide.:confused:
[Magisk] leolawliet:
Have you tried flashing the framework that installs to System? Or manually editing your build.prop file?
[Magisk] pearce29:
Flash the framework in the zip
[Magisk] Xephyrex:
I installed the Sony Framework that's available in the MagiskManager. That should be ok, right? It's the same thing?
[Magisk] leolawliet:
It's exactly the same thing.
[Magisk] Xephyrex:
Thought so: confirmed, not working.
[Magisk] Mecca EL:
Edit your build.prop ro.build.tags=release-keys

Yours may still be set at "...test-keys"
[Magisk] HotShotAzn:
P900 (Note Pro) on latest Lineage. Here are my steps:

1) Clean flashed fresh rom

2) Installed Magisk 11.6

3) Boot rom, installed Magisk APK

4) Installed Sony framework

5) Updated build.prop using Deathly Adiutor

6) Reboot

7) No Remote Play app in the Google Play store

8) Checked build.prop with a root explorer. Confirmed it was updated

9) Installed module referenced in this thread in Magisk

10) Rebooted

11) Still no Remote Play app in the Play store
[Magisk] ahrion:
So to fix the remote play issues I just enabled MagiskHide on remotely app from play store and voila. Safety net issue.
[Magisk] EnixNeo:
So I got everything installed on my OnePlus One running CM13.0 (6.0.1) just fine but I can't get it running on my Nexus 7 running 5.1.1.

After many attempts at troubleshooting I decided to start over from scratch, installed the stock ROM, and followed leolawliet's steps; however, I have a problem at step #7. The PS Remote Play app does not show up on my Play Store. TWRP, Magisk, MagiskSU, and the Sony Framework Module all installed properly. I double checked the build.prop with BuildProp and it's correct. Any thoughts?

[MENTION=1468154]mickael91210[/MENTION] you said you got it installed and running on a Nexus 7? Did you have this problem.

Seems like we're having similar issues.
[Magisk] leolawliet:
I'll post the Remote Play apk in the OP.
[Magisk] HotShotAzn:
Thanks!

I side loaded the app but otherwise got it working.
[Magisk] EnixNeo:
Hmm, I'm still running into the same issue on my Nexus 7 as I was before I did a clean install. So I successfully sideloaded the Remote Play apk, installed it, hid it with Magisk, rebooted, and granted it SU rights. But each time I launch Remote Play, it just displays a black screen indefinitely. If I revoke its SU rights the app will display like normal but then give me the 88001003 error.

I suspect MagiskSU isn't working properly. However, on the Magisk status screen it says it's installed and "properly rooted". I ran Root Checker and it says "root is properly installed on this device".

Or maybe the Remote Play app isn't compatible on 5.1.1? I somehow doubt that.

Or maybe the Remote Play app isn't compatible on tablets? [MENTION=1468154]mickael91210[/MENTION] you said you got it running on your Nexus 7, correct?
[Magisk] mickael91210:
Yes I use the apk on my nexus 7 on android 7.1.1 (Resurection Remix) rooted with Magisk.

My only problem is that I can't use the DUalShock...
[Magisk] stumbows:
Hey Leolawliet, I downloaded your remote play enabler module and downloaded to my phone but when I try to load it via magisk it's greyed out and I cannot select it.

EDIT: I managed to get to load by copying the file over to the SD card rather than trying to install from internal storage. So from there I went to download and install the PS4 remoteplay app and it's failing to install. I should mention I am getting a CTS Profile Mismatch error in Magisk too. Not sure how to fix that but I have tried a number of things that were suggested here on the forums to no avail.

EDIT2: I now am passing the SafetyNet check since disabling USB debugging. However still unable to install PS4 Remoteplay either via store or apk provided.

EDIT3: I unticked the "Core Only" features and now it's working perfectly, thanks!
[Magisk] ahrion:
So I don't wanna derail the thread, but I don't see much of a modded remote play app 2.0.0 at all and it looks like support is gone for the old app. I'm gonna see if I can remove some of the restrictions and bring back the mobile data stuff as well.

Good job guys. And again, if you suhide or MagiskHide remote play app it will work rather than getting the black screen
[Magisk] leolawliet:
I didn't mod the remote play apk at all. That's the same one you'll find in play store.
[Magisk] kw917:
Manual Approach

EDIT: In short, can I achieve the same result as this Magisk Module by simply editing build.prop following the steps outlined on the, for example, "[GUIDE] How to edit build.prop on any Android device!" XDA Developers guide or is this a different build.prop file? Also, if I were to edit it manually, is there an alternative way to get the Sony Framework dependencies/components installed?

--

Hey there,

This is really awesome, this is what I came for! I'm curious, are you saying that the build.prop configuration file can just be modified manually to change this value?

I'm all for installing Magisk as it seems pretty powerful in many regards, but I tried installing it twice and both times I ended up with a soft-bricked Kindle Fire HD 8.9 (Jem). I opened a request with the Magisk developers to see if my device is supported but in the meantime, I'd love to get this working.

Is this as simple as changing 'ro.build.tags=test-keys' to 'ro.build.tags=release-keys' ?

Just trying to confirm if this particular workaround requires Magisk or if it can be done manually under the circumstances.

If a manual approach is possible, would someone be so kind to explain the steps? I assume I need to get the Sony Framework regardless but I'm not entirely clear on how to tackle this one.

Really appreciate your help in advance!
[Magisk] leolawliet:
You could just try flashing the Sony Framework that isn't the module, but instead the one that writes to system.
[Magisk] EnixNeo:
I have both the Remote Play app and the PS app hidden with MagiskHide but I'm still getting the black screen.
[Magisk] ahrion:
SuperSU?
[Magisk] kw917:
Thank you. This gets me started. Where might I find this? Sorry for all the questions, just trying to not to flash unknown things. I see a 'Sony-Framework.zip' on AndroidFileHost but no way to know what it aligns to for sure. Thanks for any confirmation.

Lastly, can you confirm that those are the only 2 steps to try (first getting Sony Framework, then modifying build.prop manually---each with a reboot performed after)? Thank you in advance!
[Magisk] leolawliet:
You'll find the framework flashable zip in an older Remote Play app thread. You only need the Remote Play App and PlayStation App and framework with the build.prop edit along with hiding the root status.
[Magisk] EnixNeo:
It's been my experience with my OnePlus One that SuperSU is not compatible with this method. Several others here have tried.

Leo's referring to this thread. You'll see a link to a flashable zip for Sony's Framework in the OP.
[Magisk] kw917:
Thanks very much! To be clear, do I install the Framework and apps in any particular order. My gut would tell me to install the Sony framework, reboot, install the playstation and remote play apps, reboot, make the build.prop change, reboot.. and then finally hide root before launching the app.

I'll search the forums but since I have you here, how do I go about hiding root if I'm sticking with Lineage OS 14.1 and SuperSU and not going the Magisk route (for now).

Thanks again for your help. You too [MENTION=7748361]EnixNeo[/MENTION]!
[Magisk] Xephyrex:
Sony framework no longer available from Magisk manager, any help?
[Magisk] Xephyrex:
To.build.tags=release-keys already set. Yet still get the same error code: 88001003
[Magisk] Citizen_Snips:
It's there for me. Try going into Magisk settings and clearing the repo cache.

---------- Post added at 06:40 PM ---------- Previous post was at 06:37 PM ----------

Make sure Magisk Hide is enabled and in Magisk Hide you have enabled it for PlayStation / PS Messages / PS Communities / Remote Play. If you opened Remote Play before doing all of that, open its app settings, force close it and clear cache & data. Also make sure you reboot after enabling all installed PlayStation related apps in Magisk Hide before opening it.

Also check to confirm you are passing SafetyNet.
[Magisk] kw917:
Through reading the forums, I was directed to hidesu which has alot of positive feedback, however the main post (https://xdaforums.com/apps/supersu/suhide-t3450396) for suhide says in big red bold letters 'THIS IS CURRENTLY NOT WORKING'. Is this an outdated thread or did recent upgrades of Android block this functionality?

Ultimately, I think I've got everything ready. Just looking for a way to hide root status from the PS apps and give this a whirl. Recall I'm running Lineage OS 14.1 with the supersu addon installed. Thank you in advance for all your help, I'm so excited to try this out!
[Magisk] Mecca EL:
MagiskSU and its built in SU Hide feature doesn't hide SuperSU. You'll have to get rid of SuperSU - it has an uninstall feature, and make sure the version of LOS you're using, doesn't have SU baked in and active, or you'll fail Root within MagiskSU.
[Magisk] kw917:
Actually, I am actually trying to get PS Remote Play working without using Magisk. Right now, my device bricks every time I try to flash Magisk. I have a github device support ticket in to have it added for my device (Kindle Fire HD 8.9 Jem) but I'm trying to get it working without Magisk. I want to use Magisk, I just can't (yet) :(.

Thanks.
[Magisk] Mecca EL:
Oooooohhh, understood. Can you install Xposed on your kindle? If so, once you've completed downloading and installing the Sony Framework and Remote Play app, in Xposed store you'll want to install a Root Cloak module. Inside of that module, a list of installed apps will appear. Select the Remote Play app, back out of the Cloak module, and see if RP will start properly.
[Magisk] kw917:
---------- Post added at 12:55 AM ---------- Previous post was at 12:54 AM ----------

Thank you!! I came to this conclusion as well as it appears Android 7.1.1 doesn't support suhide and Magisk is not an option for now. Thank you!

So I need to downgrade to a ROM that uses 6.x and then get Xposed and the root cloak module. Get the framework and apps and give it a go?

If you know of a cloak that works for Nougat please let me know.

Thank you again for your help!!
[Magisk] Mecca EL:
On Nougat, the only thing that will work is MagiskSU. Dropping back to MM will definitely be your best option, with Xposed and it's modules.
[Magisk] kw917:
THANK YOU SO SO SO MUCH!! AFTER 4 DAYS STRAIGHT OF BEING UP TILL 2AM AND FLASHING AT LEAST 12 TIMES AND CUSTOMIZING EVEN MORE, IT IS WORKING! THANK YOU, THANK YOU, THANK YOU! I read into some forum posts too much and thought I had to have systemless root for this to work and my device bricks on both Magisk and just SuperSU systemless, but sure enough your steps worked in combination with the build.prop edit. I'm blown away.

By the way, has an updated SixAxis controller mapping been released that aligns to the Remote Play 2.0 button locations? I loaded up the .map on the old forum posts but it no longer seems to work, some buttons work but most are off center or even out of view if they are registering.

Thank you again!!!
[Magisk] Mecca EL:
Not that I've seen yet. SixAxis may require an update. I've had some decent success with Game Controller 2 Touch Pro, but only using my PhoneJoy controller. My DS4 controller won't work with RP2.0. I wish Sony, or whoever is in control, would stop this nonsense, and release RP for all devices. They're losing out on market share, bigtime.
[Magisk] Citizen_Snips:
You'd think, right? I guess the exclusiveness of keeping it on Sony phones is pulling enough business that they don't care? Oh well. Someday, hopefully.

Also, SixAxis itself *shouldn't* need an update. It still works as it should. He's just referring to the button mapping file posted for 1.50. Basically before Twisteds last update to the app, he said he wasn't going to work on it anymore. Someone else stepped in and made a no root remote play update. However it didn't have the DS4 support same as Twisteds app did. You had to use touch emulation instead of the gamepad. Eventually Twisted released his own 1.50 version. Now he's done working on the official and working to port his PC remote play app to Android.

Basically, instead of natively supporting the controller, when you press a button it would simulate a touch on your phones screen. So pressing the left D-pad on the DS4 would simulate a touch on the screen where the left D-pad icon was on screen, thus activating the button press. The old button mapping file no longer aligns with the on screen buttons of RP 2.0 and needs an update. A downside to this method is that you couldn't really get a few buttons to work correctly IIRC, as well as the fact that it would only work in one orientation.
[Magisk] kw917:
Thanks for all that! So, to be clear, I can map the controller button locations myself but only the buttons that actually appear on the RP 2.0 screen (in each orientation) can be mapped?

Also, where does the second psn account approach come into play here? Is that only for connections in the same wifi network as the PS4? Hoping to port forward and have this working remotely so any advice for getting the PS4 dual shock controller working is greatly appreciated!!!