yashsingh1/xdaforums huggingface dataset:
[Xperia Play General] AndroHero:
I: Bus=0000 Vendor=0000 Product=0000 Version=0000

N: Name="msm_pmic_pwr_key"

P: Phys=semc_rpc_server_handset

S: Sysfs=/devices/virtual/input/input0

U: Uniq=

H: Handlers=kbd event0

B: EV=3

B: KEY=100800 0 0 0

I: Bus=0019 Vendor=0001 Product=0001 Version=0001

N: Name="keypad-pmic-zeus"

P: Phys=dev/keypad-pmic

S: Sysfs=/devices/i2c-6/6-0000/keypad-pmic.0/input/input1

U: Uniq=

H: Handlers=kbd event1

B: EV=3

B: KEY=100 0 0 0 0 2000000 0 40000800 40 0 0 0

I: Bus=0019 Vendor=0001 Product=0001 Version=0001

N: Name="keypad-game-zeus"

P: Phys=keypad-game-zeus/input0

S: Sysfs=/devices/i2c-6/6-0000/pm8058-keypad/input/input2

U: Uniq=

H: Handlers=kbd event2 keychord

B: EV=13

B: KEY=4000000 0 0 0 0 0 c0000 0 0 10000000

B: MSC=10

I: Bus=0018 Vendor=0001 Product=0001 Version=0001

N: Name="synaptics_touchpad"

P: Phys=dev/synaptics_touchpad

S: Sysfs=/devices/virtual/input/input3

U: Uniq=

H: Handlers=event3

B: EV=9

B: ABS=2730000 0

I: Bus=0000 Vendor=0000 Product=0000 Version=0000

N: Name="cy8ctma300_touch"

P: Phys=cy8ctma300_touch/input0

S: Sysfs=/devices/platform/spi_qsd.0/spi0.0/input/input4

U: Uniq=

H: Handlers=event4

B: EV=b

B: KEY=400 0 4 0 0 0 0 0 0 0 0

B: ABS=2610000 1000003

I: Bus=0000 Vendor=0000 Product=0000 Version=0000

N: Name="keypad-zeus"

P: Phys=

S: Sysfs=/devices/virtual/input/input5

U: Uniq=

H: Handlers=kbd event5 keychord

B: EV=33

B: KEY=db0000 0 4 0 0 0 1680 0 0 0

B: MSC=8

B: SW=1

I: Bus=0000 Vendor=0001 Product=0001 Version=0001

N: Name="bma150"

P: Phys=/sys/devices/i2c-0/0-0038

S: Sysfs=/devices/virtual/input/input6

U: Uniq=

H: Handlers=event6

B: EV=9

B: ABS=100 7

I: Bus=0018 Vendor=0000 Product=0000 Version=0000

N: Name="gp2ap002a00f"

P: Phys=

S: Sysfs=/devices/virtual/input/input7

U: Uniq=

H: Handlers=event7

B: EV=9

B: ABS=2000000

I: Bus=0000 Vendor=0000 Product=0000 Version=0000

N: Name="simple_remote"

P: Phys=

S: Sysfs=/devices/virtual/input/input8

U: Uniq=

H: Handlers=kbd event8

B: EV=3

B: KEY=7 4 0 0 0 0 0 0 0

I: Bus=0000 Vendor=0000 Product=0000 Version=0000

N: Name="simple_remote_appkey"

P: Phys=

S: Sysfs=/devices/virtual/input/input9

U: Uniq=

H: Handlers=event9

B: EV=3

B: KEY=8 0 0 0 0 0 0 0 0

I: Bus=0000 Vendor=0000 Product=0000 Version=0000

N: Name="compass"

P: Phys=

S: Sysfs=/devices/virtual/input/input10

U: Uniq=

H: Handlers=event10

B: EV=9

B: ABS=305bf

I: Bus=0003 Vendor=0000 Product=0000 Version=0004

N: Name="atdaemon"

P: Phys=

S: Sysfs=/devices/virtual/input/input11

U: Uniq=

H: Handlers=kbd event11 keychord

B: EV=b

B: KEY=400 0 70000 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffff

f ffffffff

B: ABS=1000003
[Xperia Play General] Blagus:
@OP:

synaptics touchpad @input3 is the game touchpad.
[Xperia Play General] jmgrosen:
Both of you:

Thanks!

(now I just have to figure out how to use this...)

John
[Xperia Play General] Rc-Blob:
similar request :) could someone please post the output of:

'cat /proc/bus/input/handlers'
[Xperia Play General] AndroHero:
N: Number=0 Name=kbd

N: Number=1 Name=evdev Minor=64

N: Number=2 Name=keychord
[Xperia Play General] Logseman:
Could you share some insight on what you're trying to accomplish?
[Xperia Play General] Rc-Blob:
Sure thing.

Well as you probably know, minecraft came out for the xperia play a few days ago. Several people have tried it on other android devices only to find out that it requires the analogue nubs/pad on the Play for looking around and such...

So after digging around ont the Sony Ericsson dev site, I found out that the touch pad on the xperia play is just a standard touchpad, which android supports natively :)

So, I was just curious how the phone/android 'sees' the touchpad.

The long term goal is to create a virtual input device that reports itself as a touchpad to linux, meaning android should see it as a touchpad, meaning minecraft on every android phone :)

You might have realised a slight problem in my plan; namely where the hell do I get the input for the virtual touchpad from, well... The Dualshock3/SixAxis controller :)

I was going to try to get in contact with the devs for the sixaxis driver app that recently came out once I've got it up and running to see if they could incorporate it into their driver.

TL;DR: Simulate the touchpad of the xperia with the analog sticks from a PS3 controller

So, I guess I need to bruch up on the Linux Input subsystem.

Any thoughts, suggestions?
[Xperia Play General] AndroHero:
Sounds like alot of messing about :p another reason why i love my play :D
[Xperia Play General] Logseman:
You may want to poke with this touchpad calibrator that a user here compiled from Sony's sources: http://xdaforums.com/showthread.php?t=1045374
[Xperia Play General] Zoop57:
Mojang in a email to me said that the version for all android handset is due in about a month (that was said on release day) so don't stress too much.
[Xperia Play General] Rc-Blob:
That's good to hear :)

However, the curiosity bug has bitten me now so I must finish this :D
[Xperia Play General] Blagus:
Keep in mind that it's touchpad. So you have to think of a way to generate touch event only when analog stick would be moved, not when it's still.
[Xperia Play General] ps3taker:
How about marrying the default LatinIME keyboard and the touchpad please - I’d contribute to the bounty if someone organises that please. I think people do not realize how responsive and accurate is the touchpad and that placing any sticker on it does not make it registering at least two finger movements/touches on it any worse. Try http://xdaforums.com/showthread.php?t=1045374

First imagine eliminating top 3 rows of the default keyboard with the touchpad for all the letters

including shift and backspace by PS triangle and square. Leaving only word suggestions and optionally some of the default bottom line of the on screen keyboard (as it dynamically changes punctuations to "@"/etc and enter key to "next"/"go"/etc depending on the content and allows other nice to have things but even some of that could be replaced by other PS keys and extra Menu button.

I think PS "X" and "Start" buttons easily remove the need for on screen Enter(Go/Next) but it could be optional to leave it on screen too, "Select" hardware button eliminates the need for on screen switch for numbers/symbols layout and will just pop up that keyboard on screen and vice versa. Therefore other grey buttons of the default on screen keyboard can go too.

If Circle button can be used instead of space bar (I understand that it acts as Back button but SE say that it is actually "Alt" modified one so PS "O" is detectable) we could have that freed up for word suggestion area if applicable. If we choose to leave the two punctuation keys currently to the right and left of the default keyboard's spacebar we would end up having them in the bottom two corners of the screen now but allow PS "Right" and "Left" shoulder buttons activate them too (i.e Right triggers “.”, Left triggers “,” or “@” in email mode, and the entire line between them on the screen would be for word suggestions or anything else we need... or leave empty as game pad and touch pad could replace on screen keyboard in landscape mode if we wanted without any of the soft keys on screen.

Vibration and zoomed in keys popup feedback on screen should stay the same as when using default on screen keyboard still.

I have not even thought about combos of the above with each other like Triangle(aka new Shift) together with Menu...

I understand that touch pad sample code and gingerbread keyboard source are freely available. Don’t know if detection of gamepad slide out state is a problem so that we can have keyboard switching to touchpad from onscreen automatically – hopefully it is part of the touchpad source or maybe “alt” key modifier. If someone makes it open source so that more people can contribute to and benefit from it. I will also be happy to donate some money for that.
[Xperia Play General] Logseman:
That's a space too small for a keyboard. It's bad enough with the stock keyboard keys, in portrait it's hard to hit them correctly with your thumb, and it's a much bigger space. What's the use of that keyboard which has no signs (and obviously no space to add them in)? How would you go about using other languages aside of English? You can't even see the parts of the pad corresponding to each key...

I see more merit in transforming the touchpad into a sort of "trackball"-like mechanism, which allows us to take advantage of the swiping possibilities it has.
[Xperia Play General] ps3taker:
The touchpad area is very comparable with that of A to Z letters on blackberry in width and height. Each round pad on play easily accommodates 9 keys: 1 centre, 8 around (north, north east, east, etc). Middle part fits 3 keys at the top and same in the bottom row plus 2 in the middle. The sticker will label each letter and can have a bump give a feel feedback. I can even imagine a pressable bubble effect can be achieved with custom sticers but maybe some people will not like sliding over them during gameplay. But possibly bumps may be helpful in game play too. The amazing thing is that the touchpad responds to movements of up to two fingers at the time regardless of stickers on top of it.

I agree that total 26 A to Z keys this way are maybe not so good for languages with more keys but less used keys could be achievable with long press popup.
[Xperia Play General] ps3taker:
Agree with "trackball"-like mechanism to take advantage of swiping posibilities as per Logseman's post above but think it is totally coexistable with the rest of the touch keyboard.
[Xperia Play General] andreigherghe:
How about using the optical trackball on most phones? Like the Desire :)
[Xperia Play General] Logseman:
Not many phones have a trackball. I've seen it in the Desire, the Nexus One and some resistive tablets.
[HTC EVO 3D] geekabetic:
I'm an ol' windows geek and an Android noob. I rooted my Evo 3D and had a few bumps during the root process (still during beta) and got S-off and able to run all my rooted apps no errors - but, every time I try to apply any zip (using CRM v4.0.1.5 ), I now get:

Installing: /sdcard/download/zipnamehere.zip

Finding update package...

Opening update package...

Installing update...

Installation aborted.

The first time I saw it was when I was trying to add SU to my phone -but - SU was on there and I was able to update it so I ignored the error.

Now, I'm trying to apply radios, etc and none will work.

I have tried downloading to Win7 x64 workstation, XP netbook and copying - have tried downloading directly - have tried praying and downloading - all (so far) to no avail

I was able to apply the latest deodexed ROM no problem (THANK YOU!) but i'm stuck and since i'm in the short-stack near-side of the bell-curve, I'm hoping maybe someone smarter than I can give me some things to check an' try...

As always, I'm very grateful for all the time and assistance!

(yes, i'm selecting zip, yes, i've verified checksum)

Cheers!
[HTC EVO 3D] housry23:
Try using TWRP recovery from TeamWin. I think the clockwork recovery is a port and may have some bugs. I believe most of the bugs have been worked out in TWRP. Worth a try anyway. It's a bit different than CW but I think as you get used to it you may like it better. I advise to never use Rom Manager app and flash everything manually from recovery anyway.
[HTC EVO 3D] geekabetic:
housry23 -

TWRP, eh? - It's something new to try tonight... I'll post back either way once I've got the kids to sleep and have a moment to focus :)

Many thanks for the quick reply and the information!

Cheers!
[HTC EVO 3D] geekabetic:
Okay - one more piece of the puzzle: installed TWRP and told it to doa signature verification... the md5 check is fine but even so, it's telling me the signature check is failing - for the sake of argument - if i assume the file is good, what would cause my phone to be unable to correctly verify file signatures?

and so far - very impressed with TWRP - thanks for pointing me in a proper direction!
[Droid Incredible Android Development] wdfowty:
Hey guys, I've patched android.policy.jar to add more options to the power menu.

This is not a flashable zip, it is the patched GlobalActions*.smali files required to make this work. All the strings should be correct, but I haven't been able to test yet. Sorry for not posting a complete jar, I added this to my framework and realized it was not stock (had extra mods that may cause instability). I'll post up a stock flashable zip when I get the chance, but until then, let your favorite dev know to add this to their roms ;)

You are free to use, modify, redistribute, etc. as you see fit. All I ask is to share any fixes added.

Thanks to LeeDroid for help with the code.

Thanks to snq- for the original code.

http://dev-host.org/b69g6n1so6p7/apm_files.zip

OLD VERSION (4.06.xxx.x):

http://www.multiupload.com/ICO9VMJGEF
[Droid Incredible Android Development] jermaine151:
That is awesome WD! Thanks for this. I will see what I can do about that drawable unless someone beats me to it.
[Droid Incredible Android Development] wdfowty:
No problem, someone had to do it lol. It's supposed to show the hibernate png, some resource id in the smali itself is off. Instead, it's calling "common_icon_following_on.png". Should be fairly simple to fix, i just ran out of time.
[Droid Incredible Android Development] tiny4579:
google dex2jar and jd-gui if you want to be able to decompile them. They made seeing the java source code a lot easier but it is extra steps and you may have to repack them.
[Droid Incredible Android Development] wdfowty:
Thanks man, never heard of those before :)
[Droid Incredible Android Development] watt9493:
Do we have hibernate with this?
[Droid Incredible Android Development] dmeadows013:


Alright! I'll be lookin to add this into Gingerstock when I get some time (I've been really busy these last couple days. Probably tomorrow)
[Droid Incredible Android Development] jermaine151:
I've used this and it's great for decompiling close to the original source, but it seems to never put it back together properly. That's why most just use smali/baksmali to make sure it will go back together right.
[Droid Incredible Android Development] wdfowty:
Yep, it all works.

BTW, I found the issue. Compiling, uploading, posting. Need someone to confirm though, I'm on another rom about to go to a game :D
[Droid Incredible Android Development] godsmacked4653:
I'll test it. I've been trying to fix it for the past 20 minutes, anyway. :P
[Droid Incredible Android Development] jermaine151:
I'll test it too! :D What game you going to? I'm on bedrest and that's why I've been so active here lately. Pulled ligaments in my back. :(
[Droid Incredible Android Development] dmeadows013:
I may as well test it... Always like to test new stuff lol
[Droid Incredible Android Development] wdfowty:
Alright, link is up guys. Please test for me, I'm on Hybrid atm.

To push this to the gingerbread ota rom:

1. have the rom booted

2. adb remount

3. adb shell stop

4. adb push /path/to/android.policy.jar /system/framework/android.policy.jar

5. adb shell start

6. adb reboot
[Droid Incredible Android Development] wdfowty:
Giants @ Houston astros gonna be sweeeet.
[Droid Incredible Android Development] jermaine151:
Sweet. I'll test it now. :D Enjoy the game!!!
[Droid Incredible Android Development] dmeadows013:
Hehe I've had that badboy marked on my calendar. After yesterday, Giants better kill.
[Droid Incredible Android Development] wdfowty:
I know man...that was painful.
[Droid Incredible Android Development] dmeadows013:
One of the hardest games all year. And when you've got all those injuries, it doesn't help to get whipped by the worst team in the league.
[Droid Incredible Android Development] godsmacked4653:
Looks good! Working for me.
[Droid Incredible Android Development] jermaine151:
How did I get confused into thinking you were talking about pre-season football and Giants vs. Houston Texans? D@mned meds..

Anyways, menu is WORKING PERFECTLY! You're GOOD! :D

Thanks! I'll add to my RC2 and credit you.
[Droid Incredible Android Development] dmeadows013:
Hahahahahaha

Works good. Thanks WD!
[Droid Incredible Android Development] incubus26jc:
Nice work. The power menu needed a little wd40 :)

See what I did there lol. If I wasn't keeping my Rom completley stock I would throw it in.
[Droid Incredible Android Development] jermaine151:
LMAO! I like what you did there.
[Droid Incredible Android Development] Carnage9270:
Perfect timing, was just about to throw the new leak on the wifes phone. I'll wait til ya throw that in there. Now if I can just figure out the Themeing kitchen...gotta make this a lil pink and purple for some extra-curricular activities tonight :P
[Droid Incredible Android Development] dmeadows013:
Haha

10characters
[Droid Incredible Android Development] wdfowty:
LOL I see what you did there

Thanks for testing for me guys! Again, feel free to use this as you see fit.
[Droid Incredible Android Development] Hand76:
Now if only we could get someone to theme this bad boy...

...Any takers? ;)
[Droid Incredible Android Development] asiandrg0n:
I always theme mine green.
[Droid Incredible Android Development] Hand76:
But it's already green :p
[Droid Incredible Android Development] donnyp1:
Dude, you are the DUDE! Now all i need is the pull down settings and its perfect!

If ive helped you, please hit the damn thanks button!
[Droid Incredible Android Development] wdfowty:
Lol, thanks. The quicksettings is another beast entirely, as the stock rom is still sense 1.0, so it would have to be backported from sense 2.1
[Droid Incredible Android Development] donnyp1:
But can it be done?

If ive helped you, please hit the damn thanks button!
[Droid Incredible Android Development] jermaine151:
Even the older style toggles are hard to put into this GB leak. At least for me they are. :)
[Droid Incredible Android Development] wdfowty:
Posted RLS1, fixed mobile network icon (I hope lol), and it's now flashable :D

Let me know how it works, I'm testing another rom atm.
[Droid Incredible Android Development] big_mike_2k6:
Just flashed this and its absolutely perfect. Thanks WD.
[Droid Incredible Android Development] wdfowty:
Good to hear! Thanks :D
[Droid Incredible Android Development] watt9493:
Working on incubuses stock 2.3.4 ota. all the icons are right, every thing works as planned. Thanks wd!

Please lengthen your message to at least 10 charters
[Droid Incredible Android Development] LifTeD_JK:
Noob question here guys. I would like to add this to my own home brew, but I'm not sure where to put it in my zip. Can you any one give me some direction?
[Droid Incredible Android Development] dmeadows013:
/system/framework/

just replace the old one with this
[Droid Incredible Android Development] LifTeD_JK:
Just the jar file, I don't have to do anything with the META-INF?
[Droid Incredible Android Development] dmeadows013:
Nope. That's just for people that want to flash it. If you are already running your rom, just adb push the jar to /system/framework/ and reboot.
[Droid Incredible Android Development] LifTeD_JK:
Awesome. Thanks for the help!
[Droid Incredible Android Development] wdfowty:
The META-INF folder contains the signature and updater-script/binary that allows you to flash this in recovery. If you're rolling your own rom, chances are you've already got an updater-script :)

PM me if you need any more info.
[Droid Incredible Android Development] mistah_mumford:
I flashed in recovery but my power menu remained unchanged... o.O
[Droid Incredible Android Development] wdfowty:
Which rom are you using?
[Droid Incredible Android Development] mistah_mumford:
I'm using the rooted OTA

Sent via Tapatalk
[Droid Incredible Android Development] wdfowty:
Which one? I ask because the framework folder in the leak wasn't deodexed, and this requires a deodexed framework.

It could very well be the zip itself though...can anyone else confirm the zip works?

Worst case, mount /system in recovery (mounts and storage menu) before flashing, and see what happens.
[Droid Incredible Android Development] mistah_mumford:
I'm using the one Joel posted on 8/17 found here.
[Droid Incredible Android Development] wdfowty:
Yep, the framework folder is odexed in that rom, so it wont work. You'll need to use either Jermaine's rom, McSense by 00McD00, or another rom (both already have my mod built-in). Make sure the rom is deodexed before you try it.
[Droid Incredible Android Development] mistah_mumford:
Oh ok thanks!
[Droid Incredible Android Development] buddhafool:
Zip worked for me after flashing with CWM. I am using Incubus's OTA RLS2 + sk806's Quick setting menu + location nag fix.
[Droid Incredible Android Development] bukithd:
I cant seem to get this to flash at all. I am on the original release Joelz posted and I've tried both kernels but I just get stock shutdown screen.
[Droid Incredible Android Development] Devildog8791:
Will this be updated for the new OTA?
[Droid Incredible Android Development] big_mike_2k6:
It doesn't need to be. It works just fine with the new OTA.
[Droid Incredible Android Development] wdfowty:
The leak posted by joel has an odexed framework, so this will not work with that rom.
[Droid Incredible Android Development] cmlusco:
Actually I just noticed on gb 605.3 that the hot reboot feature doesn't seem to work anymore. When you press it the menu just goes away but nothing happens. Everything else seems to look and work fine. I just realized this as I don't really use hot reboot that often, so when I flashed it I never bothered to check if it worked or not.
[Droid Incredible Android Development] cmlusco:
No one else with this issue? Ive tried reinstalling the mod, reinstalling the rom after full wipe then installing mod again, and still same issue.
[Droid Incredible Android Development] themusicmonkey:
I'm checking now. Does it have something to do with Fast Boot? Just a guess, also, I'm assuming you mean Reboot? I don't see Hot Boot.
[Droid Incredible Android Development] cmlusco:
I have fast boot turned off and yes i ment restart --> hot restart.
[Droid Incredible Android Development] themusicmonkey:
I've tried all four options under restart with Fast Boot turned off.

I've had only one issue, and that was with Hot Restart. It restarted, as expected, but when it went to the unlock screen, it restarted an additional time. Otherwise, all modes worked without a hitch.

I'm running the latest OTA .3 leak, newest radio, Stock Kernel, Quick Settings Mod w/volume, and obviously this Advanced Power Menu.
[Droid Incredible Android Development] cmlusco:
Never mind I found my issue. I had an app called quick boot installed that does pretty much the same thing as this mod only from within the app instead of the menu. I actually forgot i had it instslled. As i was removing another app i noticed it and uninstalled it. Now the mod works fine, no issues at all. To test i reinstalled quick boot and low and behold the mod breaks again.
[Droid Incredible Android Development] themusicmonkey:
What application caused the conflict? I actually have a similar application called Quick Boot.
[Droid Incredible Android Development] cmlusco:
Lol i dont know what to say except thats what i said. Lol :)
[Droid Incredible Android Development] themusicmonkey:
Oh! It's the SAME app lol
[Droid Incredible Android Development] cmlusco:
Will this be updated for the new 4.08.605.2 ota? Or could some one explain how to manually do it?
[Droid Incredible Android Development] wdfowty:
I'm working on it now :D
[Droid Incredible Android Development] MicroMod777:
Where a tutorial for this mod? I searched n got no solid answer. Btw stock plus rom one works with new ota!
[Droid Incredible Android Development] rlacrossjr:
Works fine for me on new OTA 4.08...

Tiny's kernel+07.07 Radio
[Droid Incredible Android Development] wdfowty:
Unfortunately not, had to figure it out. It's pretty easy once you do, basically GlobalActions*.smali's, just don't touch the resource id's.

Been sidetracked with ICS lately lol. I'll have this done by the end of the weekend, hopefully when I get home tomorrow.