yashsingh1/xdaforums huggingface dataset:
[Xperia Play Android Development] saqibkhan:
yes. in my AOKP Milestone R3 zip.. I replaced the framework.. with the one provided by Fahrenheit Zip on First page.. I also updated the build.prop and flashed the ROM .. I later checkd the Build.prop and it is with all the edits..

My TOuchpad doesn't work atleast on FIfa 12.. hmm.. other games.. I have to download and see.. but I don't think so.. because in MArk's ICS Rom.. touchpads were working in Fifa12 also..
[Xperia Play Android Development] CriGiu:
dowloaded touchpad activator app? you may have to use it for getting touchpad being activated on fifa

and Farenheit i hope you'll be fine asap :)
[Xperia Play Android Development] MaxWorks:
I want to add this MOD (activate touch) to MIUIv5.

Can someone told me what exactly I need to add to framework files to make it work? I can't use fixes from the first post.

Thank you.
[Xperia Play Android Development] lucasmoney10:
maybe this help: http://xdaforums.com/showpost.php?p=38502832&postcount=722 is for cm9 but maybe works on cm10

or framework.jar taked for cdma build from cj360 i put in atachements
[Xperia Play Android Development] MaxWorks:
Unfortunately I need list of files that I need to change. I don't have file to compare with.
[Xperia Play Android Development] cj360:
Check fareniths touchpad thread

He's linked to the post detailing what he changed.

Edit - check the 2nd post as he describes which smalis he's edited.
[Xperia Play Android Development] olokos:
Well, few weeks ago I realised that dead trigger is not using xperia play controls even on GB.
[Xperia Play Android Development] Dany XP:
Dead Trigger use controls since v.1

Thats actually one of those games that has no problems even on ICS..
[Xperia Play Android Development] olokos:
Try to use Google play version and tell me if it works ;)

It doesn't.
[Xperia Play Android Development] Dany XP:
I just checked. You are half right. With the last update 1.8.2 (the one for Google Play Games) guys at MadFinger seem messed up a little bit. But in the end it's ok. I explain:

First of all, i didnt play at Dead Trigger since last week BEFORE the update. I tried now and in fact, it seems there's no xperia play controls.

But i finished the first mission anyway with touch-screen controls , closing the gamepad (wich was the first level, since u can't login with your account before u complete the first mission now)-

Then, still with the gamepad closed, i start to play with second mission. In the middle of the game, i opened the game pad again and voilà, xperia play controls again. And when finished the second mission i finally could go to New Hope and restore my account (this is not connected to the problem, but i say it anway, maybe it's useful to somebody).

Now the game work allright everytime and there's no need to open / close the gamepad, like before the update.

It seems that the problem is there only the first time u open the game AFTER the update. Or, in your case, the first time u open the game.

I hope i helped you man :D
[Xperia Play Android Development] olokos:
I'll try it and post back, thanks!

Wysłane z mojego R800i za pomocą Tapatalk 2

---------- Post added at 03:52 AM ---------- Previous post was at 03:06 AM ----------

Well, I've done what you have said and this way I got dpad to work and circle works as back button. I'm using PAC 6.1 on first slot WITH turbo kernel 3.1

Wysłane z mojego R800i za pomocą Tapatalk 2

---------- Post added at 03:57 AM ---------- Previous post was at 03:52 AM ----------

Also I fixed build.prop

Wysłane z mojego R800i za pomocą Tapatalk 2
[Xperia Play Android Development] Dany XP:
And touchpads?
[Xperia Play Android Development] olokos:
Nope. Controls also don't change from back to circle...

Wysłane z mojego R800i za pomocą Tapatalk 2
[Xperia Play Android Development] Dany XP:
So farenheith fix doesnt work on your Rom :(
[Xperia Play Android Development] yekasangredevago:
so you see this project is abandoned .. [MENTION=1257329]farenheit[/MENTION] .. we could support in the Future, when DooMLoRD and other developers already have ready the Kernel 3.4, and Jellybean roms are more stable? would appreciate it a lot .. :)
[Xperia Play Android Development] olokos:
Well, afaik atm fahrenheit is ill so he can't actually work on his fix. If you would follow this thread a bit more you would know :P
[Xperia Play Android Development] farenheith:
Yeah, I'm recovering from my illness right now... Liver diseases are very slow to complete cure...

But soon as I can I'll take a look on the fix again. Sorry for the long time apart.
[Xperia Play Android Development] smokerman:
take care and get better man..all the best and keep seeing us all here.:good:
[Xperia Play Android Development] krisdee:
Cm9 is my daily driver right now, so I updated touchpad fix for fxp216.

Zip contains framework.jar, touchpad activator & build.prop.
[Xperia Play Android Development] igor_anta:
Thanks for this, a lot of CM9 based roms needed this fix.
[Xperia Play Android Development] konstruktor:
thanks a ton krisdee. always wanted cm9 as my daily driver :good:
[Xperia Play Android Development] drinkypoo:
Will it work on newer fxp?
[Xperia Play Android Development] konstruktor:
see the first post in this thread for more information about jb.
[Xperia Play Android Development] igor_anta:
There is no newer FXP for CM9.1 :) This was the "end of life" release.

Now if someone can fix this for CM10 FXP222 or newer that would be beyond amazing.
[Xperia Play Android Development] konstruktor:
perhaps he meant the newer cm9 nightlies that are shown in the cm updater / official cm site - fxp kernel is still the same 216. if that was the question then yes it works without any issue.
[Xperia Play Android Development] XDM inc:
Does anyone have a clue why touching touchpads make game lag in JB?
[Xperia Play Android Development] clivejefferies:
They tried to solve this, it's earlier in the thread.
[Xperia Play Android Development] XDM inc:
Sorry off topic but this is beautiful! Sony take notes!
[Xperia Play Android Development] funnies7:
I don't know but I noticed that if you touch the screen the game lags appears too...
[Xperia Play Android Development] smokerman:
yes it would..i think maybe krisdee can do it,since is fixed cm9.1.:D
[Xperia Play Android Development] farenheith:
Yeah, we had some discussing earlier in the thread, dude... Dan and I suspect that the problem is the touchpad firmware... also can be the touchpad listener implemented in c++ that is not following the new driver pattern implemented since ICS. The difference between JB and ICS in this point is that the input is treated in the same thread as the rendering (or the opposite, I don't remember now).

The thing is: the touchpad driver is just a giant byte array somewhere in the hal code, we don't have the source for it. Dan also tried to put the touchpad to be treated in the same thread where it's treated in the ICS, no effect.

This is the things I remember right now
[Xperia Play Android Development] XDM inc:
so for now unfixable right?
[Xperia Play Android Development] konstruktor:
doesn't look like

i don't know why sony is helping the fxp guys but not releasing the sources for their additional stuff. perhaps noone at sony heard that it's wanted. perhaps we all should write an email to sony and explain our situation and ask if it's possible to hand out the sources in a kind way of speaking.

a petition would make sense if the whole xperia family is pushing it's energy and attention into it (that all drivers should be open). sony made a good start to implement sd cards instead of memory sticks, using standard usb ports and helping the fxp-hackers.

no it's up to us and let's see if anyone is listening
[Xperia Play Android Development] abdel12345:
I agree though I don't think they want to release touchpad source so no one steels the idea since they patented it pretty well

Sent from my Xperia Play (r800x)
[Xperia Play Android Development] XDM inc:
yes lets start a political RIOT! >: ) lol
[Xperia Play Android Development] farenheith:
Touchpad firmware came from synaptics, I think this is the reason for the sources being private.
[Xperia Play Android Development] olokos:
As far as I remember your idea has already came true but as Fahrenheit just said. Sony was like "blah blah synaptics driver, blah blah copyright blah paying money to get source code, blah blah blah," and as you can see we still have no source code...

Wysłane z mojego Xperia Play za pomocą Tapatalk 2
[Xperia Play Android Development] CyberScopes:
I like how u worded that :D

Sent from my Battle Rifle
[Xperia Play Android Development] drinkypoo:
driver

How are the touchpads connected to Android? USB or...?
[Xperia Play Android Development] farenheith:
Physically? I think it's embed on the motherboard or connected with a flat cable. Not USB
[Xperia Play Android Development] igor_anta:
Nice to see you're back farenheith, hope you're all healed up and running about :)
[Xperia Play Android Development] EeJay:
dude, my anti-virus just told me your file contains a trojan..:confused: Clearly not intentional but still.. not cool bro :p

I do however appreciate your hard work ;)
[Xperia Play Android Development] RoboticBuddy:
It's most likely a false positive. Nothing over here, scanned with avast! and Malwarebytes.
[Xperia Play Android Development] EeJay:
I could be wrong, I'm not denying that, but I'm using Kaspersky (paid for version) which has notified me on files in the past that avast hasn't picked up...

But like you say it is most likely a false positive, I just wanted to raise awareness that's all - I wasn't trying to accuse anyone of anything or insult/disencourage them and if I have then I'm very sorry
[Xperia Play Android Development] farenheith:
Just check the zip. There's only a few files there and you can valid all of them by yourself.
[Xperia Play Android Development] farenheith:
Okay, I see what you got, dude. The problem is that the split2 doesn't exists.

Take a look in the instructions after this part: FOR SWITCH THE START POINTER ID FOR THE TOUCHPAD

Look that you need to rename the old split method to split2, then add the new split one. I advice you to get the stock version of MotionEvent.smali back and then follow again this part of the steps.
[Xperia Play Android Development] gangstermartorell:
Hi Faren, when i've done this, i've understand that renaming split to split2 was renaming split (I) to split (II). Will try and tell you. Thank you very much.
[Xperia Play Android Development] CriGiu:
lol dude, It's better clicking on thanks than just saying it

Anyway it's good to see you're back Fareneith :D
[Xperia Play Android Development] gangstermartorell:
Just wow! It's working perfectly! Thank you very much, all the bugs i was having are gone.
[Xperia Play Android Development] farenheith:
Maybe was a typo, dude, idk.

But the log let no doubt about it

Edit: Oh, I saw now that worked. Happy for ya
[Xperia Play Android Development] gangstermartorell:
Yeah, i can confirm that this tutorial work on stock based frameworks.
[Xperia Play Android Development] Mogul345:
Is anyone w/ an R800x using krisdee's flashable zip? I installed it before first run of FXP216 and the phone process kept crashing over and over.
[Xperia Play Android Development] gangstermartorell:
Take a logcat and post it here, maybe we can find where is the problem.
[Xperia Play Android Development] Lordomn:
It's because the framework.jar in the GSM version of cm doesn't have the telephony files in it...that's why your phone is fc'ing.
[Xperia Play Android Development] Mogul345:
Blast, that's what I figured. I assume that means I'm compiling this myself if I want it?
[Xperia Play Android Development] konstruktor:
did you download fxp zeusc instead of zeus?
[Xperia Play Android Development] Mogul345:
Yep. Once I wiped everything again and reinstalled just FXP216 & Gapps, rather than FXP216, krisdee's zip & Gapps everything worked peachy.

The changes for the touchpads are in the framework.jar right? So that means I gotta pull source for FXP 216, patch in Farenheith's changes, and build right?
[Xperia Play Android Development] EeJay:
I'm very sorry about my previous post,

I've realised now after a couple of days, that it was the URL which was sending my anti-virus into a panick as it happens nearly every time I try to download a file from mediafire or any other file hosting websites...

Which means, I retract my previous comment - which I have quoted above - and can confirm that the download is completely virus/malware etc. free ;)
[Xperia Play Android Development] XDM inc:
Will this work on miui v5?
[Xperia Play Android Development] farenheith:
I can't say :/. Maybe the patch must be done in the Rom framework... probably.
[Xperia Play Android Development] XDM inc:
i don't think it will because miui uses some kind of special framework.
[Xperia Play Android Development] farenheith:
That's what I meant. I think you need to patch the own ROM framework
[Xperia Play Android Development] Mactavish791:
With this fix, the touchpads work perfect in every xperia play optimised game?
[Xperia Play Android Development] smokerman:
if you use 3.4.26 EN(first stable version of MIUI5 for xperia play) touchpads are working as you can see on thread (video review of games)..after that it doesnt work anymore..they changed framework-miui-res and framework-res and i cant seem to fix it anymore..i ve tested with a new modified framework jar but doesnt work.:( sometimes it bootloops,others rom boots but touchpads nothing.
[Xperia Play Android Development] CriGiu:
Pherhaps Miui has some kind of different signature for its framework, so try using the same signature files: to do it, after you modded that framework don't use the one you've just modded, but take from that one the classes.dex file, and place it in the original framework.jar

also, make sure you've followed all steps correctly (an advice:.I do not implement the switching pointer id part into some frameworks i've modded,and that makes things much faster to be done)
[Xperia Play Android Development] mikeioannina:
Does this mod exist only in smali source? I want to implement it in cm-10.1 source at build time, are there any sources for this?
[MENTION=3914809]farenheith[/MENTION]
[Xperia Play Android Development] smokerman:
if you want to give a shot i send you the files..or just test MIUI v5 new release without OTA update. (install 3.5.12 PLAYfull multi rom from thread here) you can take and test as i did.:good: and maybe try to implement the switching pointer id..so one version with and other without to see if makes a difference with new framework jar?
[Xperia Play Android Development] CriGiu:
You mean editing java sourcecode during rom compilation? Maybe it's that what you are searching http://xdaforums.com/showpost.php?p=33624393&postcount=449

and thanks for your work on cm10.1 man :)

---------- Post added at 10:08 PM ---------- Previous post was at 10:02 PM ----------

I prefer to not implement that part, just because outdated games like modern combat 2 (it's for this old games that farenheith did this switch pointer id) are totally unusued now, but if you need that I'll do my best. If you could test it and give me the framework.jar it would be awesome, since I wasn't planning on changing rom, and I really don't have time for testing these days
[Xperia Play Android Development] smokerman:
here you go:

http://www.mediafire.com/download/vca62j72uk10bxq/MIUI_5_FRAMEWORK_ORIGINAL.zip

thanks..hope you get more luck than i did.
[Xperia Play Android Development] CriGiu:
I did already a fix based on 3.7.12's framework.jar, but you said it was bootlooping

When I was doing that fix I saw something really weird: miui v5 doesn't have any meta-inf folder on its framework.jar

Maybe we need to do something else than just this, like what cosmic dan did to his turbo miui
[Xperia Play Android Development] Mactavish791:
Krisdee's fix working with FXP229?
[Xperia Play Android Development] CriGiu:
You mean cm9? I think it should work
[Xperia Play Android Development] Mactavish791:
Yes, I mean CM9, and thank you!
[Xperia Play Android Development] smokerman:
only works on FXP216 i think..i ve tested in other version and didnt work.
[Xperia Play Android Development] igor_anta:
But did you test it in newer versions?
[Xperia Play Android Development] smokerman:
no i didnt test..sorry man.
[Xperia Play Android Development] igor_anta:
Nothing to apologize for my man, just asking :)
[Xperia Play Android Development] smokerman:
its just my way for not be able to help..but cm9 i let Go a while a go,since no kernel as been updated..and lupus did it in last release..but now im only working mostly on JB and a bit ICS,as i think we could still have a rocking rom,and believe me i ve been trying some ports of great ICS roms,but none of them really worked well for what i been looking for..cm9 look like get improved..so maybe i ll do something..still soon to say.:)
[Xperia Play Android Development] drinkypoo:
Spizzy01 is working on an ICS rom now... High hopes
[Xperia Play Android Development] burk33y:
CM9.1 Stable

Could anyone tell me how I can add this to CM9.1 stable? I don't know which version to use.

Any help appreciated.
[Xperia Play Android Development] abdel12345:
Use krisdees fix i think :confused:

Sent from my LG-P970g
[Xperia Play Android Development] saqibkhan:
hi all,

I want to implement this on the AOKP ROM's Super Lite Version I made.. (originally the AOKP JB Milestone 1 R3)

but am just stuck at little options.. if someone can help me in Editing my framework.jar using Virtuos Ten Studio as recommend by Fahrenheit in the Post #2.

1. what does he mean by rename in the attachment ViewRoot.smali.rename.txt..

2. I opened a New Project in the software.. I found the folders.. Right Clicked on the View FOlder.. Clicked Add Smali.. It asks me for a name ?? what should I name it as ??

3. I Noticed the attachment file is the same as ViewRoot.smali in my framework.jar... so should I skip the above steps.. its exactly the same.. word to word.

4.. the last 3 methods of Fahrenhiets post are for android/view/MotionEvent: event only rite.

5. after making all the necessary changes.. what next.. how to (like save the changes and get my framework.jar back on my desktop) from where I Opened it.

ANy other tip/help.. all appreciated.. if answered Numbr wise.. I would love it all the more.. would make everything perfectly clear for me and all.. thanks soo much.
[Xperia Play Android Development] farenheith:
I mean, remove the ".rename.txt" and let just ViewRoot.smali and put this in the right folder in the decompiled framework

I don't remember well right now... but you must create a project with any name but of the type framework. So, you must import the framework.jar and the ten studio do the rest...

Yes, you can skip.

Yes, its is.

The virtuous ten studio have an option to compile and even to send the compiled framework to phone. I'm unable to tell exactly where it is but it's not hard to find, probably you'll see something right clicking in the project, but some button on the tool bar on the top must do the work too
[Xperia Play Android Development] saqibkhan:
Their was only 1 Thank BUtton.. and that I have pressed.. should have been more.. THank you sooo much.. just a few doubts before I recompile..

1. I am attaching the 2 Errors..should I ignore them of fix them.. they are underlined in RED by the Software.

2. in this method

.method public final getX(I)F

.locals 4

.parameter "pointerIndex"

.prologue

.line 1974

invoke-virtual {p0, p1}, Landroid/view/MotionEvent;->modPointerId(I)I

move-result v3

iget v0, p0, Landroid/view/MotionEvent;->mNativePtr:I

const/4 v1, 0x0

const/high16 v2, -0x8000

invoke-static {v0, v1, v3, v2}, Landroid/view/MotionEvent;->nativeGetAxisValue(IIII)F

move-result v0

return v0

.end method

I do not have invoke Static.. its Invoke Direct..what about this ??

3. Finally,, the last method.. chagining split to split2. .. I already have a split2 method.. should I paste it below that.. or I have to edit that ?
[Xperia Play Android Development] farenheith:
Looks like your motionevent is already patched or is different from AOSP.

If the nativeGetAxisValue method is static, then you must call it as invoke-static.

As you're having this error, consider to not patch the MotionEvent or to use the one I patched in the jb fix. This change in the motionevent just increase the compability with some games, as you can see in the compability list in the beginning of the thread, but not doing it will not be a big loss
[Xperia Play Android Development] Dany XP:
Hi Farenheith, jus a little updates about gaming compatibility , you might wanna edit post 3.

I'm on CM10 FXP233 (just build.prop modified and framework. NO touchpad activator) and i gotta say, besides touchpad's lag, i dont see any differences with ICS compatibility:

- The Dark Knight Rises and Modern Combat 4 are perfectly recognized. Unfortunetly using touchpad casues lag. D-Pad and buttons ok

- Asphalt 7, Mini Motor Xperia, NBA Jam, Reckless Racing 2, Sleepy Jack, Sonic CD, Sonic 4 Ep 1, Sonic 4 Ep 2, Virtua Tennis:

All those games doesn't requier touchpads, so d-pad and game buttons are perfectly recognized.

So, the problem remains touchpad's lag.

P.S. Funny, i see Dead Trigger and Shadowgun working great, even touchpad.

So i gues the problem is how Gameloft implement touchpads, not the touchpads per sè, right?...
[Xperia Play Android Development] farenheith:
Not only Gameloft games causes lag.

Actually, the anyone that doesn't uses a direct access to the touchpads via c++ api, so, any game that uses the framework to control the touchpad will have lag. Unfortunately, it's not a problem to use the framework, in theory is the recommended, so, we can't blame Gameloft to do so. Our problem in JB is a matter of kernel I think, as in ICS and JB we use a hacked kernel made for GB :/
[Xperia Play Android Development] CriGiu:
Wrong thread, damn tapatalk lol
[Xperia Play Android Development] olokos:
Could you help us in getting kernel 3.4 to work? It already boots to android and stays there but touchscreen doesn't work :-\

http://xdaforums.com/showthread.php?t=2237755

Wysyłane z mojego R800i za pomocą Tapatalk 2
[Xperia Play Android Development] Niko of Death:
I posted this in Q&A/Troubleshooting, but I might as well post it here too.

My touchpads aren't working on CM10 MaXeD (http://xdaforums.com/showthread.php?t=2427874) which claims working touchpads for CDMA. I tried installing the fix, but if I add the new framework (not the build.prop) I get "unfortunately the process com.android.phone has stopped".

Any way to fix this?
[Xperia Play Android Development] farenheith:
If your phone is CDMA, Probably you installed the touchpad fix for GSM. Try to use the ROM's framework and check for the build.prop editing tips
[Xperia Play Android Development] Niko of Death:
Are you referring to the build.prop or the framework? Is there a framework that works with CDMA?
[Xperia Play Android Development] farenheith:
Sorry, actually all fixes in this thread was made on the framework of GSM roms, I don't know if they'll work with CDMA, probably not, you must decompile and change a source file that I don't remember now which is :P

If the ROM's creators is claiming that his ROM supports touchpad on cdma, use his framework. If it's not working, look at the build.prop edit tips on this thread, and see if everything is ok.

You can also follow the mod instructions and apply it directly on his framework, if you think it's not patched
[Xperia Play Android Development] olokos:
Yeah I second that. Touchpad and gamepad are mostly not working because build.prop is not properly edited. Take a closer look because it really matters and on the most of the roms framework is already patched. I can't say about this particular rom but I believe it's build.prop issue.

Wysyłane z mojego R800i za pomocą Tapatalk 2
[Xperia Play Android Development] konstruktor:
huge build.prop dude

you are using jellybean? please don't ask why i'm asking :cool:

try the r800i values instead