[MODULE] Dualshock 4 kelyalout - Magisk

Hi. I'd like to share this little module with you.
This module will help your android to learn correct keymap for Dualshock 4 (v2), but should work for (v1) too. You might found some .kl files over here and there with broken gas and brake axis. It's fixed here. Just as noisy ''flat'' parametr over left and right sticks.
This is my first module that i created without any guide so i could mess smth, but it worked for me. If you face any difficults, please, write it here so i can try to help you.
You can download module over github here: https://github.com/morethanhater/Dualshock_4_Keylayout/releases

more_than_hater said:
Hi. I'd like to share this little module with you.
This module will help your android to learn correct keymap for Dualshock 4 (v2), but should work for (v1) too. You might found some .kl files over here and there with broken gas and brake axis. It's fixed here. Just as noisy ''flat'' parametr over left and right sticks.
This is my first module that i created without any guide so i could mess smth, but it worked for me. If you face any difficults, please, write it here so i can try to help you.
You can download module over github here: https://github.com/morethanhater/Dualshock_4_Keylayout/releases
Click to expand...
Click to collapse
Would this work for the PS4 remote play app? I guess remote play won't work with the DS4 controller unless you use a Sony phone for some reason.

gk1984 said:
Would this work for the PS4 remote play app? I guess remote play won't work with the DS4 controller unless you use a Sony phone for some reason.
Click to expand...
Click to collapse
Some thoughts: I did found that we are missing dualshock 3/4 wireless service when just installing ps remote play. I tried to install it from some rom sony z5 and z3 models but:it just won't install. This is where i stoped.
Next, i found a way that will work allmost for sure.
I tried to do connection via sixaxis controller, it supports DS4, but failed to at my oneplus 5. But, well, i just failed to connect, so i guess this should help you: https://forum.xda-developers.com/android/apps-games/5-0-playstation-remote-play-android-t3466339
To be short. You are programming what to press with this app on your display for exactly app that you chosed. For you - it's PS Remote play. Already complete config for keymap you can find at OP first message there.
I'll try to connect later, cuz of some bluetooth error faced at my phone.
If that worked for you - please, give a feedback

more_than_hater said:
Some thoughts: I did found that we are missing dualshock 3/4 wireless service when just installing ps remote play. I tried to install it from some rom sony z5 and z3 models but:it just won't install. This is where i stoped.
Next, i found a way that will work allmost for sure.
I tried to do connection via sixaxis controller, it supports DS4, but failed to at my oneplus 5. But, well, i just failed to connect, so i guess this should help you: https://forum.xda-developers.com/android/apps-games/5-0-playstation-remote-play-android-t3466339
To be short. You are programming what to press with this app on your display for exactly app that you chosed. For you - it's PS Remote play. Already complete config for keymap you can find at OP first message there.
I'll try to connect later, cuz of some bluetooth error faced at my phone.
If that worked for you - please, give a feedback
Click to expand...
Click to collapse
Typically, with system applications, you can't always just install them. You have to use root to place them in the correct location and set permissions. Have you tried that? Care to share the files, where they were in the system (file path), and folder structure? Perhaps I can try.
But thanks for the link. I had subscribed to that thread and must have forgotten about it. I didn't like the mod when I tried it and it's inconvenient when Sony updates the Remote play app. But it is what it is. I just don't have Sixaxis (yet). Was just concerned about it working properly for this purpose as it would be my only need. But reading it more closely (that thread), it does look like it's what I'm looking for. Might try it without the invisible mod. But would prefer a more native solution if I/we can get this working.

system/app/WirelessControllerManagerService/WirelessControllerManagerService.apk
Gdrive: https://drive.google.com/file/d/1SpIsq5x4OaqYRffaChq2khBc0eOl2Z3A/view?usp=sharing
I'm too lazy for more tries for today, so everything in your hands for now
Will do more research about native support on these holydays

Neat. The DS4 worked on my phone, but it was completely unusable in games. They ignored the triggers, and the camera would pan 360° by itself. Analog sticks acted strangely too.
Thanks for making this, I'll try it later. :good:

more_than_hater said:
system/app/WirelessControllerManagerService/WirelessControllerManagerService.apk
Gdrive: https://drive.google.com/file/d/1SpIsq5x4OaqYRffaChq2khBc0eOl2Z3A/view?usp=sharing
I'm too lazy for more tries for today, so everything in your hands for now
Will do more research about native support on these holydays
Click to expand...
Click to collapse
I literally just built this module to install this as a system app but have not tested, nor even tried to install yet. If you're interested, you can.
[url]https://drive.google.com/open?id=1thuIi0x3tH-_Hdm-u5KTS0YMVEWk5-K0[/URL] I'm not sure yet when I'll have the time but I'll at least try to install it soon.
Edit: well, it boots.
Edit #2: Nope. DS4 controller still won't work on the Remote Play app but thanks. Might be missing other files or need to put this in another place.

Can you fix the right analog stick, Its working but I see lag when I press all buttons!

Related

Sixaxis controller syncing but won't work in any games.

Okay so I downloaded the app and all is well. The controller seems synced (it is in position 1, though not listed in bluetooth menu. I enable input on nesoid, but nothing happens... am I missing something stupid?
cstrife999 said:
Okay so I downloaded the app and all is well. The controller seems synced (it is in position 1, though not listed in bluetooth menu. I enable input on nesoid, but nothing happens... am I missing something stupid?
Click to expand...
Click to collapse
Bumpy 10 characters...
At some point I will make this more clear in the description, but to use the controller with the Droid x2, 3 and Bionic, you must enable 'Bypass IME' in preferences. As a bonus, this will also allow you to use a normal soft keyboard at the same time as the controller, as you will no longer need to switch the active IME.
bought this app last night after my post. got it up an running this morning. i'm a megaman junkie. took a little messing with to figure this out, but you just made my lunch breaks a fantastic part of my day. ))) !!!!
sir_earl said:
At some point I will make this more clear in the description, but to use the controller with the Droid x2, 3 and Bionic, you must enable 'Bypass IME' in preferences. As a bonus, this will also allow you to use a normal soft keyboard at the same time as the controller, as you will no longer need to switch the active IME.
Click to expand...
Click to collapse
I think it's clear enough in the description, I suspect the op "downloaded" the v0.1 apk that's floating around the net.
Earl, I have a question about syncing. Once I sync the controller with the phone using the PC app, will I need to go through the process each time I use the controller on the PS3 afterwards, or is it like a bluetooth headset that I can switch back and forth between the PS3 and the phone based on which one has bluetooth on for pairing when I turn the controller on?
Is there a certain way I have to map the buttons? I have the IME option checked and my dpad seems to be working, but none of my other buttons like start, A, B work and Im assuming their mapped wrong but they are set to BUTTON START, BUTTON A etc dont know what Im doing wrong here
** Nevermind I figured it out. They have to be set to the hardware key mappings in the emulator its working good now
That IME thing got it working thanks guys!
cvmaas said:
I think it's clear enough in the description, I suspect the op "downloaded" the v0.1 apk that's floating around the net.
Earl, I have a question about syncing. Once I sync the controller with the phone using the PC app, will I need to go through the process each time I use the controller on the PS3 afterwards, or is it like a bluetooth headset that I can switch back and forth between the PS3 and the phone based on which one has bluetooth on for pairing when I turn the controller on?
Click to expand...
Click to collapse
The controller can only store a single master address, and will only ever talk to that master, so unfortunately you will need to use the PC tool to change the address back to the phone before use. In theory it should be possible to change your phones bluetooth address to match your PS3 using bdaddr or some other method, but I haven't done any research into that.

[APP] BraviaControl: Control your Sony Bravia Smart TV

Download from the Store.
I purchased a Sony Bravia KDL-40EX525 a few months ago and noticed that there were official remote control apps for Android and iPhone from Sony but, unfortunatelly, not for WP7 (not even an unofficial one). Since I own a LG Optimus 7 I got curious about this and started to develop something similar for myself, specifically because I hate using the stock remote control to enter text.
I based my work on this blog post http://blogs.msdn.com/b/andypennell...ws-phone-7-5-mango-part-1-ssdp-discovery.aspx. Many thanks to Andy Pennell for that, his post was really helpful and a great starting point.
The app requires you to be on the same network as the TV.
If you want to try this make sure the TV is ON (give it time to initialize the services. It cannot be turned on/off with this app because it has to talk to the IRCC service that is only available when the device is ON). See the screen of your TV the first time you run the app because it requires that you register your device in order to be able to iterate.
I appreciate your feedbacks, suggestions, bug report or questions that you may have.
Tested on models:
- KDL-40EX525 (mine)
- KDL-32HX758 (thanks lordmaxey)
It should work on:
- Blu-ray Disc(TM) players: BDP-S370, S470, S570, S770, S1700, BX37, BX57, S380, S480, S580, S780, BX38, BX58, S390, S490, S590, S790, BX39, BX59, NSZ-GP9
- Blu-ray Disc(TM) Home Theater Systems: BDV-IZ1000W, HZ970W, E970W, E870, E770W, E670W, E570, E470, E370, T57, F7, F700, F500, E985W, E980W, E980, E880, E780W, E580, E380, T58, L800M, L800, L600, N990W, N890W, N790W, N590, E690, E490, E385, E390, E290, E190, NF720, NF620, EF420, EF220, T79, T39
- Streaming Player/Network Media Player: SMP-N100, SMP-N200, NSZ-GP7
- AV Receiver: STR-DN1020, STR-DN1030, STR-DA1800ES
- BRAVIA: KDL-HX92 series, HX82 series, HX72 series, NX72 series, EX72 series, EX62 series, EX52 series, EX42 series, EX32 series, CX52 series, HX85 series, HX75 series, EX65 series, EX55 series
- Sony Internet TV: NSX-24GT1, 32GT1, 40GT1, 46GT1, NSZ-GT1
- VAIO: VAIO L (SVL241)
wow, awesome!
I'll try immediately when i'm home.
lordmaxey said:
wow, awesome!
I'll try immediately when i'm home.
Click to expand...
Click to collapse
Great! if you can post your TV model it will be greatly apprecciated so we can add it to the "tested list" of models.
etrosce said:
Great! if you can post your TV model it will be greatly apprecciated so we can add it to the "tested list" of models.
Click to expand...
Click to collapse
Hi there,
i've got a Sony Bravia KDL-32HX758
I'll tell you when i've tested it looking forward!
Edit:
one word: awesome!
It works great and i absolutely LOVE it!! Great work!!! Congrats!
lordmaxey said:
Hi there,
i've got a Sony Bravia KDL-32HX758
I'll tell you when i've tested it looking forward!
Edit:
one word: awesome!
It works great and i absolutely LOVE it!! Great work!!! Congrats!
Click to expand...
Click to collapse
Thanks and enjoy :good:. I've just updated the post to list the models we know it works... Hope to see more feedback here
Hi!
I wanted to try your app, but my television (w655) didn't want to agree on that.
Are you maybe willing to share the source code of the app?
Or do you want to check why it's not working?
Thanks!
mendel129 said:
Hi!
I wanted to try your app, but my television (w655) didn't want to agree on that.
Are you maybe willing to share the source code of the app?
Or do you want to check why it's not working?
Thanks!
Click to expand...
Click to collapse
Hey there,
I've been researching a little bit about it before. It looks like Sony changed completely the way to remote control in latest models, specially W series. No documentation about that. So, the only way to try to discover how it works now, is to have a W series to try with (which I do not have)
Sorry about that.
What you can do is try to discover how the new service works by yourself, so we can expand the compatibility of the App. If you are interested, I can guide you with some clues, tools and techinches I used in the past to do so.
I may open the code, I haven't even considered it but I think it's a good idea.
etrosce said:
Hey there,
I've been researching a little bit about it before. It looks like Sony changed completely the way to remote control in latest models, specially W series. No documentation about that. So, the only way to try to discover how it works now, is to have a W series to try with (which I do not have)
Sorry about that.
What you can do is try to discover how the new service works by yourself, so we can expand the compatibility of the App. If you are interested, I can guide you with some clues, tools and techinches I used in the past to do so.
I may open the code, I haven't even considered it but I think it's a good idea.
Click to expand...
Click to collapse
I've been playing with our 2013 model a couple of days now, and it seems the controls still works (compatible with 2012) but the registration process is not necessary anymore...
Anyway, if you put the code somehwere, i'll try if it works somehow
thanks!
mendel129 said:
I've been playing with our 2013 model a couple of days now, and it seems the controls still works (compatible with 2012) but the registration process is not necessary anymore...
Anyway, if you put the code somehwere, i'll try if it works somehow
thanks!
Click to expand...
Click to collapse
Sounds good, give me a couple of days to set it up and will let you know.
In the meantime, does your device description xml look like this one? http://www.upnp-database.info/device.jsp?deviceId=662 (See Description XML tab). If so, you may want to try ScalarWebAPI service on your modes. In that xml you can get some urls that will return some valuable (or not) information that may give you some clues.
Stay tunned,
Esteban
i have Klv 32EX330
how can i to make it working with this app
life25ak said:
i have Klv 32EX330
how can i to make it working with this app
Click to expand...
Click to collapse
I'm not sure you model actually supports to be remote controlled as it isn't event listed by sony as supported (see supported models above).
Does the app find your model? (be sure both are connected to the same lan)
etrosce said:
I'm not sure you model actually supports to be remote controlled as it isn't event listed by sony as supported (see supported models above).
Does the app find your model? (be sure both are connected to the same lan)
Click to expand...
Click to collapse
no doesnt
thank you so much
life25ak said:
no doesnt
thank you so much
Click to expand...
Click to collapse
Well, I'm afraid, as I said before, it does not provides de services required for remote control support. Sorry.
etrosce said:
Sounds good, give me a couple of days to set it up and will let you know.
In the meantime, does your device description xml look like this one? http://www.upnp-database.info/device.jsp?deviceId=662 (See Description XML tab). If so, you may want to try ScalarWebAPI service on your modes. In that xml you can get some urls that will return some valuable (or not) information that may give you some clues.
Stay tunned,
Esteban
Click to expand...
Click to collapse
Hey man,
so, I gathered some information, please check following xml-files
http://mendelonline.be/sony/
Also, almost all commands from vremote (http://falcosoft.hu/softwares.html) are actually working
mendel129 said:
Hey man,
so, I gathered some information, please check following xml-files
http://mendelonline.be/sony/
Also, almost all commands from vremote (http://falcosoft.hu/softwares.html) are actually working
Click to expand...
Click to collapse
Hey, sorry for the delay on sharing the code, I changed laptop and had to re-setup my dev env. Will try to have it done for the weekend.
In the meantime...I wonder what all this urls return:
http://192.168.1.54/sony/guide
http://192.168.1.54/sony/system
....
http://192.168.1.54/sony/irCommandProxy
Basically everything under <av:X_ScalarWebAPI_ServiceList> from dmr.xml. Actually, I would try any url available in that file
We should see where getRemoteCommandList api is located (together with other relevant APIs)
In previous models it was returned as a result from http://192.168.1.54/cers/ActionList.xml. It should be somewhere else now.
Also, did you confirmed that there is no registration required now at all?
Thanks!!!
etrosce said:
Hey, sorry for the delay on sharing the code, I changed laptop and had to re-setup my dev env. Will try to have it done for the weekend.
In the meantime...I wonder what all this urls return:
http://192.168.1.54/sony/guide
http://192.168.1.54/sony/system
....
http://192.168.1.54/sony/irCommandProxy
Basically everything under <av:X_ScalarWebAPI_ServiceList> from dmr.xml. Actually, I would try any url available in that file
--edit--
ok, we've got an entire json conversation going to http://ip:80/sony/system
We should see where getRemoteCommandList api is located (together with other relevant APIs)
In previous models it was returned as a result from http://192.168.1.54/cers/ActionList.xml. It should be somewhere else now.
Also, did you confirmed that there is no registration required now at all?
Thanks!!!
Click to expand...
Click to collapse
No problem, didn't had time myself
Well, there basically 2 webservers/-services running.
One nginx on tcp:80, and something else on tcp:52323 (tcp header contains: Server=Linux/2.6 UPnP/1.0 KDL-42W655A/1.7)
actionlist is "gone", but i'm trying to capture network traffic from the official sony app to figure out the new location
--edit--
ok, so there's an entire "json conversation" going on http://ip:80/sony/system
--edit2--
bingo
--edit--
send this json command:
{"id":20,"method":"getRemoteControllerInfo","version":"1.0","params":[]}
to
http://192.168.1.61/sony/system
and this comes back as return:
{"id":20,"result":[{"bundled":true,"type":"RM-J1100"},[{"name":"PowerOff","value":"AAAAAQAAAAEAAAAvAw=="},{"name":"Input","value":"AAAAAQAAAAEAAAAlAw=="},{"name":"GGuide","value":"AAAAAQAAAAEAAAAOAw=="},{"name":"EPG","value":"AAAAAgAAAKQAAABbAw=="},{"name":"Favorites","value":"AAAAAgAAAHcAAAB2Aw=="},{"name":"Display","value":"AAAAAQAAAAEAAAA6Aw=="},{"name":"Home","value":"AAAAAQAAAAEAAABgAw=="},{"name":"Options","value":"AAAAAgAAAJcAAAA2Aw=="},{"name":"Return","value":"AAAAAgAAAJcAAAAjAw=="},{"name":"Up","value":"AAAAAQAAAAEAAAB0Aw=="},{"name":"Down","value":"AAAAAQAAAAEAAAB1Aw=="},{"name":"Right","value":"AAAAAQAAAAEAAAAzAw=="},{"name":"Left","value":"AAAAAQAAAAEAAAA0Aw=="},{"name":"Confirm","value":"AAAAAQAAAAEAAABlAw=="},{"name":"Red","value":"AAAAAgAAAJcAAAAlAw=="},{"name":"Green","value":"AAAAAgAAAJcAAAAmAw=="},{"name":"Yellow","value":"AAAAAgAAAJcAAAAnAw=="},{"name":"Blue","value":"AAAAAgAAAJcAAAAkAw=="},{"name":"Num1","value":"AAAAAQAAAAEAAAAAAw=="},{"name":"Num2","value":"AAAAAQAAAAEAAAABAw=="},{"name":"Num3","value":"AAAAAQAAAAEAAAACAw=="},{"name":"Num4","value":"AAAAAQAAAAEAAAADAw=="},{"name":"Num5","value":"AAAAAQAAAAEAAAAEAw=="},{"name":"Num6","value":"AAAAAQAAAAEAAAAFAw=="},{"name":"Num7","value":"AAAAAQAAAAEAAAAGAw=="},{"name":"Num8","value":"AAAAAQAAAAEAAAAHAw=="},{"name":"Num9","value":"AAAAAQAAAAEAAAAIAw=="},{"name":"Num0","value":"AAAAAQAAAAEAAAAJAw=="},{"name":"Num11","value":"AAAAAQAAAAEAAAAKAw=="},{"name":"Num12","value":"AAAAAQAAAAEAAAALAw=="},{"name":"VolumeUp","value":"AAAAAQAAAAEAAAASAw=="},{"name":"VolumeDown","value":"AAAAAQAAAAEAAAATAw=="},{"name":"Mute","value":"AAAAAQAAAAEAAAAUAw=="},{"name":"ChannelUp","value":"AAAAAQAAAAEAAAAQAw=="},{"name":"ChannelDown","value":"AAAAAQAAAAEAAAARAw=="},{"name":"SubTitle","value":"AAAAAgAAAJcAAAAoAw=="},{"name":"ClosedCaption","value":"AAAAAgAAAKQAAAAQAw=="},{"name":"Enter","value":"AAAAAQAAAAEAAAALAw=="},{"name":"DOT","value":"AAAAAgAAAJcAAAAdAw=="},{"name":"Analog","value":"AAAAAgAAAHcAAAANAw=="},{"name":"Teletext","value":"AAAAAQAAAAEAAAA/Aw=="},{"name":"Exit","value":"AAAAAQAAAAEAAABjAw=="},{"name":"Analog2","value":"AAAAAQAAAAEAAAA4Aw=="},{"name":"*AD","value":"AAAAAgAAABoAAAA7Aw=="},{"name":"Digital","value":"AAAAAgAAAJcAAAAyAw=="},{"name":"Analog?","value":"AAAAAgAAAJcAAAAuAw=="},{"name":"BS","value":"AAAAAgAAAJcAAAAsAw=="},{"name":"CS","value":"AAAAAgAAAJcAAAArAw=="},{"name":"BSCS","value":"AAAAAgAAAJcAAAAQAw=="},{"name":"Ddata","value":"AAAAAgAAAJcAAAAVAw=="},{"name":"PicOff","value":"AAAAAQAAAAEAAAA+Aw=="},{"name":"Tv_Radio","value":"AAAAAgAAABoAAABXAw=="},{"name":"Theater","value":"AAAAAgAAAHcAAABgAw=="},{"name":"SEN","value":"AAAAAgAAABoAAAB9Aw=="},{"name":"InternetWidgets","value":"AAAAAgAAABoAAAB6Aw=="},{"name":"InternetVideo","value":"AAAAAgAAABoAAAB5Aw=="},{"name":"Netflix","value":"AAAAAgAAABoAAAB8Aw=="},{"name":"SceneSelect","value":"AAAAAgAAABoAAAB4Aw=="},{"name":"Mode3D","value":"AAAAAgAAAHcAAABNAw=="},{"name":"iManual","value":"AAAAAgAAABoAAAB7Aw=="},{"name":"Audio","value":"AAAAAQAAAAEAAAAXAw=="},{"name":"Wide","value":"AAAAAgAAAKQAAAA9Aw=="},{"name":"Jump","value":"AAAAAQAAAAEAAAA7Aw=="},{"name":"PAP","value":"AAAAAgAAAKQAAAB3Aw=="},{"name":"MyEPG","value":"AAAAAgAAAHcAAABrAw=="},{"name":"ProgramDescription","value":"AAAAAgAAAJcAAAAWAw=="},{"name":"WriteChapter","value":"AAAAAgAAAHcAAABsAw=="},{"name":"TrackID","value":"AAAAAgAAABoAAAB+Aw=="},{"name":"TenKey","value":"AAAAAgAAAJcAAAAMAw=="},{"name":"AppliCast","value":"AAAAAgAAABoAAABvAw=="},{"name":"acTVila","value":"AAAAAgAAABoAAAByAw=="},{"name":"DeleteVideo","value":"AAAAAgAAAHcAAAAfAw=="},{"name":"PhotoFrame","value":"AAAAAgAAABoAAABVAw=="},{"name":"TvPause","value":"AAAAAgAAABoAAABnAw=="},{"name":"KeyPad","value":"AAAAAgAAABoAAAB1Aw=="},{"name":"Media","value":"AAAAAgAAAJcAAAA4Aw=="},{"name":"SyncMenu","value":"AAAAAgAAABoAAABYAw=="},{"name":"Forward","value":"AAAAAgAAAJcAAAAcAw=="},{"name":"Play","value":"AAAAAgAAAJcAAAAaAw=="},{"name":"Rewind","value":"AAAAAgAAAJcAAAAbAw=="},{"name":"Prev","value":"AAAAAgAAAJcAAAA8Aw=="},{"name":"Stop","value":"AAAAAgAAAJcAAAAYAw=="},{"name":"Next","value":"AAAAAgAAAJcAAAA9Aw=="},{"name":"Rec","value":"AAAAAgAAAJcAAAAgAw=="},{"name":"Pause","value":"AAAAAgAAAJcAAAAZAw=="},{"name":"Eject","value":"AAAAAgAAAJcAAABIAw=="},{"name":"FlashPlus","value":"AAAAAgAAAJcAAAB4Aw=="},{"name":"FlashMinus","value":"AAAAAgAAAJcAAAB5Aw=="},{"name":"TopMenu","value":"AAAAAgAAABoAAABgAw=="},{"name":"PopUpMenu","value":"AAAAAgAAABoAAABhAw=="},{"name":"RakurakuStart","value":"AAAAAgAAAHcAAABqAw=="},{"name":"OneTouchTimeRec","value":"AAAAAgAAABoAAABkAw=="},{"name":"OneTouchView","value":"AAAAAgAAABoAAABlAw=="},{"name":"OneTouchRec","value":"AAAAAgAAABoAAABiAw=="},{"name":"OneTouchStop","value":"AAAAAgAAABoAAABjAw=="}]]}
mendel129 said:
No problem, didn't had time myself
Well, there basically 2 webservers/-services running.
One nginx on tcp:80, and something else on tcp:52323 (tcp header contains: Server=Linux/2.6 UPnP/1.0 KDL-42W655A/1.7)
actionlist is "gone", but i'm trying to capture network traffic from the official sony app to figure out the new location
--edit--
ok, so there's an entire "json conversation" going on http://ip:80/sony/system
--edit2--
bingo
....
Click to expand...
Click to collapse
This is all good. It would be great if we find the url that actually returns the list of APIs. Have you tried http://ip:80/sony/system to see what it returns in the browser?
etrosce said:
This is all good. It would be great if we find the url that actually returns the list of APIs. Have you tried http://ip:80/sony/system to see what it returns in the browser?
Click to expand...
Click to collapse
just browsing to the "site" just gives an empty page...
it only reply's on json requests
all commands i've found so far are from capturing traffic from my android tablet
check here: http://mendelonline.be/sony/sony.txt
further, the "register" function exists, but it not really necesarry...
i noticed the sony tablet app registering, but i can just send commands from upnpspy directly from my pc without registering...
another thingy: wol is just basic wake on lan
I received an email from the creator of the windows app that works for our 2013 model bravia. (http://falcosoft.hu/softwares.html#sony_virtual_remote)
Hi,
I would like to share my experiences with you, maybe it can help in the
investigation of the new API structure.
1. The registered status is not required in 2011/12 Sony TV models either to
send pure IRCC SOAP messages (or use the X_SendIRCC UPnP service) .
2. The registered status is required to get meaningful response from url
based API functions (e.g sendText, getText, getRemoteCommandList etc..)
So just an idea: You should try to test these new URL based commands with a
registered status. To achieve this:
1. You should make a new registration and send these data with your browser
2. Use an existing registration e.g. Falcosoft's Sony Virtual Remote and
send the program's data with your browser.
I suggest to use Firefox with Modify Headers plugin. For option 2 here are
the required header fields:
'X-CERS-DEVICE-ID' -> 'vaio:11111111-D7A0-11DD-119C-6D990C3C4529' ;
'X-CERS-DEVICE-INFO' -> 'falco_virtual_remote' ;
Best Regards:
Zoltán Bacskó
Falcosoft
Ps: If you can ask the topic owner to authorize my xda-developers account to
send posts to this topic I would be grateful. My new xda-developers account
is 'Falcosoft'
mendel129 said:
I received an email from the creator of the windows app that works for our 2013 model bravia. (http://falcosoft.hu/softwares.html#sony_virtual_remote)
Hi,
I would like to share my experiences with you, maybe it can help in the
investigation of the new API structure.
1. The registered status is not required in 2011/12 Sony TV models either to
send pure IRCC SOAP messages (or use the X_SendIRCC UPnP service) .
2. The registered status is required to get meaningful response from url
based API functions (e.g sendText, getText, getRemoteCommandList etc..)
So just an idea: You should try to test these new URL based commands with a
registered status. To achieve this:
1. You should make a new registration and send these data with your browser
2. Use an existing registration e.g. Falcosoft's Sony Virtual Remote and
send the program's data with your browser.
I suggest to use Firefox with Modify Headers plugin. For option 2 here are
the required header fields:
'X-CERS-DEVICE-ID' -> 'vaio:11111111-D7A0-11DD-119C-6D990C3C4529' ;
'X-CERS-DEVICE-INFO' -> 'falco_virtual_remote' ;
Best Regards:
Zoltán Bacskó
Falcosoft
Ps: If you can ask the topic owner to authorize my xda-developers account to
send posts to this topic I would be grateful. My new xda-developers account
is 'Falcosoft'
Click to expand...
Click to collapse
Interesting fact that that app works for you. I think this is because that app uses some hardcoded data by default while BraviaControl completely relies on the APIs exposed by the services. It looks like some APIs where left there "hidden" for backward compatibility purposes. I think we should try something like: Cannot find the APIs?, try to force the use. In your case, it may partially (or completely, why not?) work.
Anyway, all that json conversation looks like to be the new way to comunicate with the TV, so, it will be nice to implement that sometime too.
Thanks! I have already set up the code in the cloud. Will be sending the details on how to access it soon (Sorry, I don't currently have very much time free for this project, so bear with me )

[Guide] Installing Arch Linux (updated 11/4/2013) bluetooth+KDE

I've began to write up a guide for getting Arch usable on the Nexus 7. I just threw it up on google docs because I'm too lazy to try to do the wiki thing until it's more complete. Hopefully it is far enough along to get things rolling for people who are looking to experiment with arch.
Anyway, it's a work in progress, if anyone has suggestions, correction, completions, criticisms, etc then holler.
Linkies
Changelog
========
2013-07-20
--Added instructions for installing the platform tools on an arch host pc
--Added references to wicd and network manager as alternatives to netctl
2013-10-20
--Updated instructions to reflect new *-grouper.zip naming scheme for MultiROM files
--Added instructions for updating the kernel to include kexec
--Got bluetooth 90% working. Interface comes up and can find devices with scan. Can’t get it to pair yet though.
2013-10-24
--Got the bluetooth device to power up on boot by adding a udev rule. Unfortunately the bluetooth daemon seems to be failing as it starts.
2013-10-28
--My keyboard is pairing on boot now. Ugly ugly things to get it working, but it works.
2013-11-03
--Updated the guide to get X working.
2013-11-04
--Tweaked xorg.conf files to get kde and e17 working.
--Added instructions to get Touchégg working to provide more tablety experience
Todo/Bugs
Problems/Bugs/Todo
The following is a list of things that need to be addressed or that I want to address. These things will be tackled in no particular order but hopefully over time the number bugs and problems will go down relative to the number of features I want to add.
Feel free to comment with your own ideas or bug reports.
Fix slow shutdowns after enabling networking with netctl
Fix whatever extremely verbose crash shows up on shutdown after setting up bluetooth
Get bluetooth working without hacks and under bluez5
Get a graphical login working
On screen keyboard (especially at login screen)
Set up an aur and/or googlecode project to automate some of the scripting required to get things working
Automate the process with some kind of setup tool
Replace the google doc with a wiki page in a relevant place
Make a custom spin that works more out of the box
Sound
GPS
Accelerometer
Magnetometer
Hardware buttons
Any other sensors that I forgot or am unaware of
Auto screen rotation
For the section on setting up fastboot and adb...it's safe to assume someone installing arch on the nex7 probably has arch on their pc too. For arch, you need to set up access to the AUR, with a package manager that has access to it, i.e. yaourt. Then you can get android-sdk-platform-tools. The rest of the guide looks good. I personally like wicd for my network manager as it is easier to add and remove networks when you go to new locations, and I installed e17(enlightenment desktop).
joeG78 said:
For the section on setting up fastboot and adb...it's safe to assume someone installing arch on the nex7 probably has arch on their pc too. For arch, you need to set up access to the AUR, with a package manager that has access to it, i.e. yaourt. Then you can get android-sdk-platform-tools. The rest of the guide looks good. I personally like wicd for my network manager as it is easier to add and remove networks when you go to new locations, and I installed e17(enlightenment desktop).
Click to expand...
Click to collapse
Thanks for the feedback
I don't have arch on my pc at the moment, so it's not a given, but i think you are right that people are probably more likely to have arch if they are looking at this guide. I updated the guide with info on how to install the tools from AUR. Also added links to wicd and Network Manager in the arch wiki so people are aware of some options if they don't like netctl, and mentioned that e17 works.
Xorg with alarm on nexus 7
Okay, got ALarm installed on my nexus 7 8GB.
For Xorg, I used files from "plasma active" nexus 7 distribution.
Just take them from the plasma active and put them into your /etc/X11 and X should work.
(I can't post a link, must wait 10 posts, I'll link the files later or you can PM me)
My only problem now is to put a cross-compile toolchain on my computer to be able to compile e17 with illume modules. Tried to compile on my tablet but it's too slow and I've not enough disk free to finish. If anybody can help on this point…
What distribution are you using on your PC? Also you can pm me the link for the xorg configuration and I'll post it for you
OK so I have come as far as installing multirom and I installed the archlinux rom and got this error when I tried to boot it
"kexec-hardboot support required to boot this kernel"
How do I resolve this?
thecrimsonfukr said:
OK so I have come as far as installing multirom and I installed the archlinux rom and got this error when I tried to boot it
"kexec-hardboot support required to boot this kernel"
How do I resolve this?
Click to expand...
Click to collapse
Go back and reread the multirom thread, then install a kexec-hardboot patched kernel in your internal rom.
Sent from my SGH-T679 using xda premium
joeG78 said:
Go back and reread the multirom thread, then install a kexec-hardboot patched kernel in your internal rom.
Sent from my SGH-T679 using xda premium
Click to expand...
Click to collapse
Thank you! I didnt realize it was that simple... for some reason i find the original multirom post difficult to follow.
thecrimsonfukr said:
Thank you! I didnt realize it was that simple... for some reason i find the original multirom post difficult to follow.
Click to expand...
Click to collapse
Hello
i want install arch linux on nexus 7 , but i confuse about it . is arch linux on nexus 7 fast and stable ?
can i watch hd video in arch linux withot lag ? before days i install ubuntu desktop on N7 but when i open video HD ( not full) with vlc , it somtimes play withot sound and it have lag . unity is heavy for nexus 7 , i want install arch + lxde . is it fater ?
sorry for english .
For me Arch works without any problems but when I type startx xserver freezes after the first image of xfce or e17.
Has anybody a solution?
? How to install e17 ?
joeG78 said:
For the section on setting up fastboot and adb...it's safe to assume someone installing arch on the nex7 probably has arch on their pc too. For arch, you need to set up access to the AUR, with a package manager that has access to it, i.e. yaourt. Then you can get android-sdk-platform-tools. The rest of the guide looks good. I personally like wicd for my network manager as it is easier to add and remove networks when you go to new locations, and I installed e17(enlightenment desktop).
Click to expand...
Click to collapse
e17 is the fast
so , i want to installing to my nexus 7
thanks .
Why ? my bluetooth not work?
not find the device ????
ylixir said:
I've began to write up a guide for getting Arch usable on the Nexus 7. I just threw it up on google docs because I'm too lazy to try to do the wiki thing until it's more complete. Hopefully it is far enough along to get things rolling for people who are looking to experiment with arch.
Anyway, it's a work in progress, if anyone has suggestions, correction, completions, criticisms, etc then holler.
My bluetooth not working
cannot find the device ??
Nexus 7 32GB Wifi
Click to expand...
Click to collapse
bluetooth
I have bluetooth (almost) working. I've put instructions in the guide. They aren't really a final solution, but maybe people who are running gui's can tell me if they work. I know I have the hardware working because I can see my keyboard when I scan for it, but I can't figure out how to get bluez5 to pair from the command line. Hopefully someone has better luck with a gui?
bluetooth
I've got Bluetooth working. I even have it pairing automatically on boot with a keyboard. Its an ugly solution but it works. The guide has been updated. I'll tackle X next
My Arch Install
Hey just wanted to add my install experience to the thread hopefully to help others. First of all I want say thanks for all documentation from the previous posters. I tried to follow the instructions as close as possible for a kde install, but I ran into some trouble with lightdm, so I tried kdm instead. And I can happily report it has worked swimmingly. Instructions on how to setup kdm, navigate to /usr/share/config/kdm. First edit the kdmrc to turn off the themed greeter. Then add the xvkbd to the XSetup file as in the lightdm setup. Another thing I did was utilize the plasmaboard widget on my main kde panel for my on screen keyboard once I log in. It seems to work much better than xvkbd for me. I can also confirm flash is working great.
So this really close to totally replacing my linux laptop, especially when I am on the go, in fact I am writing this post on the device in arch. However one key piece is still missing for me is sound. I can't seem to coax any sound out the device with my arch install, and amarok crashes on startup, even though both these items were working perfectly in ubuntu. If any one has any ideas how to make audio and amarok work I would be immensely grateful. Also thanks again, I am so happy to be rid of the X11 touch race condition. I have added a screenshot of me editing this post for those interested as well.
Figured out sound!
I think i found a solution to all of my troubles from my previous post. Amarok started working after a pacman update. My general audio problems seem to be caused by the linux for tegra audio drivers lack of head phone jack detection, I found a workaround the ubuntu nexus 7 launchpad bug tracker: https://bugs.launchpad.net/ubuntu-nexus7/+bug/1068804/comments/24. For the tldr crowd basically you have to use alsamixer manually mute and unmute the int_spkr channel for speaker audio and the int_mic channel to enable headphones. Then you can use the output and and hp to channels adjust volume for speaker and headphones respectively. It also might help to do a suspend resume cycle i sound still isn't working. Thanks to everyone else, hopefully others will find this useful as well.
Many thanks for your work!!! I'm using it on a nexus 7 with glass and touch broken (unuseless) but now it lives!!! and is a very responsive lxde desktop with xrdp starting on boot which I use with amule or bittorrent all night long...
two questions:
1) for me it does not work shutdown -r now or reboot... it close immediately all network connections but I have to keep power button 10 sec to restart system...
2) using it with an hub usb I'm trying to connect a big hard disk: pcmanfm (lxde file manager) refuse to mount it saying than it is not authorized... (I've followed archlinux wiki: it work on my archlinux desktop but not in nexus 7).

[Magisk][Module] Console Controller Keylayouts (Support and Feature Requests)

Console Controller Keylayouts
A module which adds keylayout files for various console controllers so that you can use them on your Android device​
Changelog
v1.0
- Initial release
- Support for first-party Xbox 360 controllers connected via OTG
- Support for first-party Xbox One controllers connected via OTG
- Support for first-party Xbox One S controllers connected via OTG or Bluetooth
This is the support and feature request thread for my Console Controller Keylayouts module for Magisk v7+, which adds keylayout files for various console controllers so that you can use them on your Android device.
Source
Note: I developed and maintain this module only as a hobby and for no financial gain whatsoever. That being said, if you wish to make a donation to support me and show your thanks, you can do so here.
To-Do List
Add support for Dualshock controllers (PS4)
Add support for popular third-party Xbox controllers (Xbox 360, One and One S)
I have a third party controller that doesn't work, it's a PowerA Spectra.
dracinn said:
I have a third party controller that doesn't work, it's a PowerA Spectra.
Click to expand...
Click to collapse
Currently, the only supported controllers are the controllers listed in the change log in the OP.
Nbay64 said:
Currently, the only supported controllers are the controllers listed in the change log in the OP.
Click to expand...
Click to collapse
I was wondering because it's a third party Xbox One controller.
Sent from my Nexus 6P using Tapatalk
dracinn said:
I was wondering because it's a third party Xbox One controller.
Click to expand...
Click to collapse
It's not working because currently I only have first-party controller keylayouts. I'll add it to my request list and see what I can do.
Can we get PS4 controller support
Leonidas87 said:
Can we get PS4 controller support
Click to expand...
Click to collapse
It's on my to-do list. I'm currently caught up in schoolwork (It's tough balancing this with college lol), so it might take a while to get around to it, but once I get to work on it it shouldn't take too long to finish.
Unable to download with magisk for some reason.
Can I get a link to download the zip file to install using twrp
Nvm fixed it
Nbay64 said:
It's on my to-do list. I'm currently caught up in schoolwork (It's tough balancing this with college lol), so it might take a while to get around to it, but once I get to work on it it shouldn't take too long to finish.
Click to expand...
Click to collapse
Sounds great ????
Can't download again keep seeing this
Leonidas87 said:
Can't download again keep seeing this
Click to expand...
Click to collapse
Are you unable to download just this module, or anything off the repo? If it's only this module that you can't download, then it's an issue with my repo, if it's everything, then it's another issue all together.
Nbay64 said:
Are you unable to download just this module, or anything off the repo? If it's only this module that you can't download, then it's an issue with my repo, if it's everything, then it's another issue all together.
Click to expand...
Click to collapse
All moduls. It's Wierd it comes and goes
---------- Post added at 09:22 PM ---------- Previous post was at 09:14 PM ----------
Would GREATLY APPRECIATE.
along with many other people a link to an installation zip of the mod.
Would eliminate this issue for people in the future.
Gives more options for install methods.
My research has shown that installing anything in twrp on 7.0 galaxy so edge leads to magisk downloads not installing.
Please do upload and include a link on the forum to a twrp install of this mod.
Just installed magisk and it is very different from the old version and was wondering how do I turn off root with it to enable pokemon go and android pay?
Thank You.
adriel161 said:
Just installed magisk and it is very different from the old version and was wondering how do I turn off root with it to enable pokemon go and android pay?
Thank You.
Click to expand...
Click to collapse
1 - Wrong thread.
2 - You need to read the official Magisk announcement thread. It's very informative...
Didgeridoohan said:
1 - Wrong thread.
2 - You need to read the official Magisk announcement thread. It's very informative...
Click to expand...
Click to collapse
Sorry I realized that after I posted it here. Didn't know how to delete it either.
And ok, thank you I'll look into that.
Has support for third party Xbox controllers been added?
reis1996 said:
Has support for third party Xbox controllers been added?
Click to expand...
Click to collapse
Not yet, unfortunately it's not quite as simple as it appeared to be, since there is no universal keyconfig file for every third party controller. I'm having to find specific keyconfig files for every individual controller, which is not entirely possible.
Nbay64 said:
Not yet, unfortunately it's not quite as simple as it appeared to be, since there is no universal keyconfig file for every third party controller. I'm having to find specific keyconfig files for every individual controller, which is not entirely possible.
Click to expand...
Click to collapse
Please try to make it work for the Logitech f150 if possible

Problem with VR-Apps *Google Cardboard/Youtube etc.*

Hello there im new here and hope someone can help me
Since udating my P9 from Marshmallow to Nougat my VR apps dont work anymore.
They shaking and rolling extremely
This update was an Offical update via HiSuite *EVA-L09C900B300*
I already contacted the Huawei support and they dont know this issue and can not help me out.
I tested all sensors with some apps and they seems ok.
maybe someone have a soloution and help me.
*sorry for my bad english*
Timmy2k said:
Hello there im new here and hope someone can help me
Since udating my P9 from Marshmallow to Nougat my VR apps dont work anymore.
They shaking and rolling extremely
Click to expand...
Click to collapse
Have you tried scanning the QR code for your headset with Google cardboard?
Like the ones here?
Peace
Yes but nothing changed. :/
Just tested my vr headset and can confirm the same - vr apps don't work.
Hopefully Huawei will update the code for Nougat to fix this!
chris5s said:
Just tested my vr headset and can confirm the same - vr apps don't work.
Hopefully Huawei will update the code for Nougat to fix this!
Click to expand...
Click to collapse
Thanks you! Im glad that im not alone with this problem
I called Huawei-Germany and they will check this today.
Hello. Some apps work for me but most do not (the shaking display in VR/drifting display in 360 mode. For example Monzo, Titans of Space, Debris Defrag and few others works fine, including Google's Design Lab. However the same Google's Cardboard Demos go crazy as well as Apollo 15, Mars and You Tube. Funny but Street view starts with a malfunction, but then a window pops up suggesting do download Google VR Services (which is incompatible with my P9), so when You return to app, it works OK (stable view). Same experience? Please share, so maybe it will be easier to find a solution.
Yes, as above, some apps work and others don't. I have a feeling it's how the apps read data off the sensors on the phone but I'm no coding expert.
I even tried side loading Google VR Service but it didn't help...
Im developing VR games for almost year, and I never encounter such problem on P9 even with latest update.
Most of problems can be related to SDK that specific apps use. Not to system it self
Sadly even with all those hype with VR, most of cardboard apps and games are made by single person devs(like me) and most of them dont update cardboard SDK of their products to be compatible with latest Android versions, because response/amount of downloads are not sufficient to push that product forward, its too much time and effort, rewarded by lack of any respond, only some random people complaining about things that actually are not realated to game/app but their device.
As far as product that use unity engine are less vulnerable for gyro-related problems, other products need way more tinkering under the hood, and its harder to keep it optimized for all available devices.
As a selfish guy that didnt spend a cent on advertising so I need to ask for every download, I would like to ask you to check my game and see if it have that problem(sadly it need controller, but you can see how gyro work anyway in main menu). Its based on Unity engine so you can check how it work with that engine.
http://paranoiia8.wixsite.com/powerlift
And also I could ask you to download VR theater app that is not based on Unity and it contain latest Cardboard SDK so we can see if your problem is related to software of cardboard or its specific update of P9.
https://play.google.com/store/apps/details?id=it.couchgames.apps.cardboardcinema
Also small tip: as far as Google Cardboard app is really handy, VR services are actually not needed, and they are mostly for Daydream-compatible devices.
+ here are QRcodes for almost all VR goggles so you can scan them using Cardboard configuration assistant(that small gear in the middle of screen)
http://www.hypergridbusiness.com/faq/vr-headset-qr-codes/
I've found that Unity based apps fare the worst on the P9 as far as VR goes.
Will try the above when I get back to WiFi !!
I tried all apps and still the same problem :/
I also tried different QR codes for my goggles, nothing changed.
*Titans of Space* works
I still waiting for an answer from Huawei-Germany.
Akinaro said:
tl;dr
Click to expand...
Click to collapse
Neither of these apps work for me.
Thanks tho :good:
I have this problem as well.
EVA-L19C636B361
any updates?
It seems Titans of Space works flawlessly.
You can also get Gravity Pull working if you lock-and-unlock the screen while in game.
I have the same problem with my eval09c432b378??
Same problem
I have the same problem and none of the other apps work.
Sam problem
Could you try Cardboard design lab. That seems to work for me strangely enough. However it doesn't improve the problem though.
sdeveer said:
Could you try Cardboard design lab. That seems to work for me strangely enough. However it doesn't improve the problem though.
Click to expand...
Click to collapse
I tried Cardboard design lab, works flawlessly.
it's a bummer how only specific app are working/not working. The Huawei support guy I talked to is blaming the app developers.
Just updated to EVA-L09C432B383 and vr apps are now working flawlessly (at least, the ones i use) :good:
chris5s said:
Just updated to EVA-L09C432B383 and vr apps are now working flawlessly (at least, the ones i use) :good:
Click to expand...
Click to collapse
Via OTA?
Or do you have a link ?
chris5s said:
Just updated to EVA-L09C432B383 and vr apps are now working flawlessly (at least, the ones i use) :good:
Click to expand...
Click to collapse
I can confirm this. No problems with EVA-L09C432B383!
Timmy2k said:
Via OTA?
Click to expand...
Click to collapse
Yes. I received it 3 days ago.
Timmy2k said:
Via OTA?
Or do you have a link ?
Click to expand...
Click to collapse
I did a forced update,but looks like it's coming via ota for some folks :good:

Categories

Resources