Enable Pen Mode - Any pen or pencil works as stylus!

code01

Member
Feb 20, 2013
29
1
0
hi sir.. i just read this, im little confuse,
where is hw_config? hahaha.. im search via explore i didnt find it,
and what its init.d? i must create file then i save named init.d and inside i type like first page?

soury soury...
 

funky0308

Inactive Recognized Themer
Aug 27, 2012
7,029
5,681
0
Osijek
hi sir.. i just read this, im little confuse,
where is hw_config? hahaha.. im search via explore i didnt find it,
and what its init.d? i must create file then i save named init.d and inside i type like first page?

soury soury...
He_config is in the system/etc folder (be very careful there, only add those lines at the end and save)

Download toggle app from OP and that should be it (restart device, of course)

Sent from my C6903 using Tapatalk
 

code01

Member
Feb 20, 2013
29
1
0
He_config is in the system/etc folder (be very careful there, only add those lines at the end and save)

Download toggle app from OP and that should be it (restart device, of course)

Sent from my C6903 using Tapatalk
thanks..
so the step is:

1. i must create manually file name : init.d script in /system/etc/init.d (requires init.d support)
and i must type first code on page one.
2. i go to hw_config then i add 2nd code in below code.
3. i install apk togle.

4. restart.

im i right bro. correct me if i wrong
 

funky0308

Inactive Recognized Themer
Aug 27, 2012
7,029
5,681
0
Osijek
thanks..
so the step is:

1. i must create manually file name : init.d script in /system/etc/init.d (requires init.d support)
and i must type first code on page one.
2. i go to hw_config then i add 2nd code in below code.
3. i install apk togle.

4. restart.

im i right bro. correct me if i wrong
I'm not sure but I think hw_config and toggle app will be enough.
If you edit hw_config, I don't think you need to add init.d.

Try without init.d and if failed then edit init.d





Sent from my C6903 using Tapatalk
 
Last edited:

olokos

Recognized Developer
Oct 16, 2011
2,939
2,477
0
Warsaw
Dude, you're awesome. I typed this message with a pencil!!! Unbelievable! Love you! :)

Wysłane z mojego C6903 przy użyciu Tapatalka
 

olokos

Recognized Developer
Oct 16, 2011
2,939
2,477
0
Warsaw
On my tablet z I couldn't find pen eco or anything about pen, does that mean it's impossible to work with me?
I don't think so. It was originally made for Z Ultra which holds the same board as the Z1 so somebody here guessed that it may also work for the Z1 or somebody could've found this in the phone files. I might be wrong though, but I think that I'm correct.
@RyokoN
I found out that after you use pencil or pen the actual touch seems to be registered a bit to the right from the actual tap point. Do you think that it's fixable? That's propably why it doesn't work flawlessy on the edges.
 

ThibaultAnd

Member
Jan 9, 2011
49
18
28
I found out that after you use pencil or pen the actual touch seems to be registered a bit to the right from the actual tap point. Do you think that it's fixable? That's propably why it doesn't work flawlessy on the edges.
I also noticed that :/ I personally think that since it was meant for Xperia Z Ultra, the screen is not calibrated for using a pen on Z1 screen's. I searched for screen calibration app but I didn't any... Is there any way to calibrate our screen ?

Sent from my C6903 using Tapatalk
 

AndroPlus

Senior Member
Mar 13, 2013
1,707
3,984
153
Kyoto
androplus.org
@RyokoN
I found out that after you use pencil or pen the actual touch seems to be registered a bit to the right from the actual tap point. Do you think that it's fixable? That's propably why it doesn't work flawlessy on the edges.
Can you try editing /system/usr/idc/clearpad_pen.idc
Code:
# Size (Not tuned yet)
touch.size.scale = 32.69
to
Code:
# Size (Not tuned yet)
touch.size.scale = 22.69
or something lower than 32.69?

Settings for glove mode have settings to change X and Y position, but there's no more settings for pen...
Code:
# Glove Mode
touch.gloveMode.deflatePressure = 1
pointercontroller.hover1.filename = /system/somc/touch/images/big_hover.png
pointercontroller.hover1.hotSpotX =250
pointercontroller.hover1.hotSpotY =250
pointercontroller.touch1.filename = /system/somc/touch/images/big_touch.png
pointercontroller.touch1.hotSpotX = 250
pointercontroller.touch1.hotSpotY =250
 

olokos

Recognized Developer
Oct 16, 2011
2,939
2,477
0
Warsaw
I'll do this right now and post back.
I tried to use the glove mode, but it didn't work for me at all. Did it work for you? O_O

---------- Post added at 04:02 AM ---------- Previous post was at 03:49 AM ----------

Nope, it's pretty similiar. I've even changed that value to 10.69, but it looks like nothing was changed. :/
 

algarues

Senior Member
Feb 14, 2011
252
25
48
question regarding mod

Hello everyone, I would like to ask something before buying a z1

Once you enable the pen mod does it also imply that palm rejection is enabled too?

that is is it possible to write with the stylus while laying your hand on the screen?

Has anyone tried on the z1 the stylus for the z ultra? If yes, how did it feel?

thanks a lot
 

drakic

Senior Member
Sep 4, 2007
120
12
0
I recommend changing one value in /system/usr/idc/clearpad_pen.idc for more accuracy.
Change
Code:
# Pressure
touch.pressure.scale = 0.2
to
Code:
# Pressure
touch.pressure.scale = 0.1
works for me.
i have installed apk, and it works ok. only thing to mention and to ask is, my pressure scale was set to 0.0074, should i set it to 0.1 or left to 0.0074?

problem solved, edited wrong text file
 
Last edited: