Quote:

Originally Posted by

AOKP introduced pen mode for Z1 and I could enable it on stock ROM!

Xperia Z Ultra can use the pen or pencil made of wood or metal as stylus, but Z1's screen also supports it and Sony disabled it for some reason.



To enable pen mode, create init.d script:



Code: #!/system/bin/sh chown system:system /sys/devices/virtual/input/clearpad/pen echo 1 > /sys/devices/virtual/input/clearpad/pen

Code: chown system:system /sys/devices/virtual/input/clearpad/pen echo 1 > /sys/devices/virtual/input/clearpad/pen

or add these lines to hw_config.sh:Now you can use anything made of wood, metal or rubber.I couldn't use a plastic pen, though...In /sys/devices/virtual/input/clearpad/,there is "grove" but I could only show circle with pen and I couldn't use with glove.Thanks AOKP for infomation.