[Motorola Photon 4G] moonzbabysh:
[MOD/FIX][Photon/Electrify] WaterDrop Detection (Finally DISABLE this "Feature"!!)

I DIDNT CREATE THIS SCRIPT OR THE ZIP SO MAKE SURE TO THANK -

[nok07635] for the Script & [Notorious544d] for the .ZIP in the Atrix forums.

MAKE SURE TO BACK UP ALL YOUR STUFF IN-CASE MURPHY'S LAW COMES A KNOCKIN<<<< I AM NOT RESPONSIBLE IF THIS MESSES UP YOUR PHONE, YOU KNOW THE DEAL!!!

The Water-Drop detection feature to prevent false touches on the Mopho and Atrix should've never been implemented in the first place. It disables the touch screen for 2 seconds if it detects input for more than about 10 seconds on the screen. Very noticeable when playing games in which the screen is to be pressed for more than a tap such as racing games for acceleration like racingmoto or games like GTAIII where you need to constantly be either walking/running or driving and have the on screen button(s) pressed for extended periods of time. The touch screen would become unresponsive after detecting this "touch" for more than about 10 seconds, thinking its a drop of water on the screen. Then takes a 3 seconds to reset before allowing screen input touches again.

Finally there's a FIX for the so called "feature", YAYERRR!!!! :D

I Have personally tested this .zip, Flashed in CWM on my MoPho and tested with angry birds (holding the slingshot used to let go when feature kicked in) and also on RacingMoto and can verify that it does indeed work and well might i add.

Im currently running and verified on Skinny complete v1

Drag and Drop Instructions: (Dont know why I didn't even think of this lol Thanks Dsparil)

1. Download the attached .zip file

2. Using RootExplorer navigate to "system/etc/touchpad/22/touchpad.cfg"

3. Press the "Mount R/W" button and Back-up the touchpad.cfg file to a safe location either on your SDcard or SDcar-ext.

4. Unzip the Downloaded attachment and inside copy the touchpad.cfg file in "Raindrop_Fix/system/etc/touchpad/22/touchpad.cfg"

5. Navigate to "system/etc/touchpad/22/" and make sure to press "Mount R/W", paste/replace the touchpad.cfg file in the "22" folder.

6. Reboot your MoPho.

7. Verify the MOD worked. (Instructions Below)

Flash Instructions :

1. Download the attached .zip file

2. Place .zip on the root of your SDcard

3. Boot into CWM recovery

4. Perform a Back-up (This hasnt been verified yet on all Photon Roms so better safe than sorry)

5. Choose Install .zip from SDcard

6. Navigate to where you place the zip (either in Internal-SD or SD-ext)

7. Flash the Raindrop_Fix.zip

8. Reboot

9. Verify the MOD worked. (Instructions below)

ADB Instructions :

Extract the .zip to your desktop - the modded touchpad config script is in system/etc/touchpad/22/touchpad.cfg

Start up your ADB

#To make sure ADB see's the device and Start Daemon
adb devices

#Pull the current touchpad.cfg file
adb pull /system/etc/touchpad/22/touchpad.cfg

#Push the modified file to the device
adb push /Desktop/Raindrop_fix/system/etc/touchpad/22/touchpad.cfg /system/etc/touchpad/22/

#Enabling Root R/WR mount
adb shell chown root.root /system/etc/touchpad/22/touchpad.cfg

#Reestablish touchpad.cfg Permissions
adb shell chmod 644 /system/etc/touchpad/22/touchpad.cfg

#Reboot device
adb reboot

Script Manager Instructions:

Heres the Code for those that want to use script manager, i dont use it so if someone wants to write instructions on how to with the raindrop fix that would be awesome.

[GEN_POWERCONFIG_T7 INSTANCE 0]
IDLEACQINT=10
ACTVACQINT=17
ACTV2IDLETO=0
[GEN_ACQUISITIONCONFIG_T8 INSTANCE 0]
CHRGTIME=10
TCHDRIFT=10
DRIFTST=0
TCHAUTOCAL=0
SYNC=0
ATCHCALST=5
ATCHCALSTHR=0
[TOUCH_MULTITOUCHSCREEN_T9 INSTANCE 0]
CTRL=11
XORIGIN=0
YORIGIN=0
XSIZE=19
YSIZE=11
AKSCFG=0
BLEN=16
TCHTHR=44
TCHDI=2
ORIENT=0
MRGTIMEOUT=25
MOVHYSTI=10
MOVHYSTN=5
MOVFILTER=62
NUMTOUCH=5
MRGHYST=5
MRGTHR=5
AMPHYST=5
XRANGE=0
YRANGE=0
XLOCLIP=3
XHICLIP=248
YLOCLIP=28
YHICLIP=17
XEDGECTRL=237
XEDGEDIST=37
YEDGECTRL=131
YEDGEDIST=220
JUMPLIMIT=0
[TOUCH_KEYARRAY_T15 INSTANCE 0]
CTRL=0
XORIGIN=0
YORIGIN=0
XSIZE=0
YSIZE=0
AKSCFG=0
BLEN=0
TCHTHR=0
TCHDI=0
[SPT_GPIOPWM_T19 INSTANCE 0]
CTRL=1
REPORTMASK=0
DIR=48
INTPULLUP=0
OUT=0
WAKE=0
PWM=0
PERIOD=0
DUTY[0]=0
DUTY[1]=0
DUTY[2]=0
DUTY[3]=0
[PROCI_GRIPFACESUPPRESSION_T20 INSTANCE 0]
CTRL=0
XLOGRIP=0
XHIGRIP=0
YLOGRIP=0
YHIGRIP=0
MAXTCHS=0
SZTHR1=0
SZTHR2=0
SHPTHR1=0
SHPTHR2=0
SUPEXTTO=0
[PROCG_NOISESUPPRESSION_T22 INSTANCE 0]
CTRL=5
GCAFUL=0
GCAFLL=0
ACTVGCAFVALID=8
NOISETHR=20
FREQHOPSCALE=0
FREQ[0]=0
FREQ[1]=7
FREQ[2]=13
FREQ[3]=20
FREQ[4]=25
IDLEGCAFVALID=4
[TOUCH_PROXIMITY_T23 INSTANCE 0]
CTRL=0
XORIGIN=0
YORIGIN=0
XSIZE=0
YSIZE=0
BLEN=0
TCHTHR=0
TCHDI=0
AVERAGE=0
RATE=0
[PROCI_ONETOUCHGESTUREPROCESSOR_T24 INSTANCE 0]
CTRL=0
NUMGEST=10
GESTEN=1023
PRESSPROC=0
TAPTO=100
FLICKTO=100
DRAGTO=1
SPRESSTO=10
LPRESSTO=20
REPPRESSTO=40
FLICKTHR=75
DRAGTHR=2
TAPTHR=100
THROWTHR=25
[SPT_SELFTEST_T25 INSTANCE 0]
CTRL=0
CMD=0
SIGLIM[0].UPSIGLIM=12000
SIGLIM[0].LOSIGLIM=7000
SIGLIM[1].UPSIGLIM=14000
SIGLIM[1].LOSIGLIM=500
SIGLIM[2].UPSIGLIM=0
SIGLIM[2].LOSIGLIM=0
[PROCI_TWOTOUCHGESTUREPROCESSOR_T27 INSTANCE 0]
CTRL=0
NUMGEST=2
GESTEN=224
ROTATETHR=3
ZOOMTHR=35
[SPT_CTECONFIG_T28 INSTANCE 0]
CTRL=0
CMD=0
MODE=3
IDLEGCAFDEPTH=4
ACTVGCAFDEPTH=8
VOLTAGE=7

VERIFY THE MOD WORKED:

To verify that it has worked, download RacingMoto (or play a game you already have installed that you know for sure will have the "FEATURE" activate) and play a couple levels, which will have holding down the gas button. If you're able to make it through the first 2 levels without slowing down or stopping unintentionally, The Raindrop_Fix.zip WORK!!!

IF YOU TRY THIS ON YOUR MOPHO PLEASE:

POST WORKS OR DOESN'T WORK ON THE ROM YOUR ON

ROOTED OR UNROOTED

LOCKED OR UNLOCKED

PLEASE POST WHICH ROM SO WE CAN GET A LIST GOING.

VERIFIED WORKING ON (verified by):

Jokers - Skinny complete v1 (by moonzbabysh)

(ICS) Alpha 19 Cm9 1.3 (by fnztakedown)

(GB) Cm7 (by dcowboys2184)

Rocko odex (by kmkzombie13)

ElectrifyRom 2.3.5 (by romolegfusion)

Stock 198_7 Rooted /w locked bootloader (by Dsparil and fendergrab)

Can anyone who uses Swype confirm Dsparil's impression after the mod?? I don't personally use or like swype so i wouldnt feel the difference if it does indeed make it run smoother.

VERIFIED NOT WORKING ON:

(will update as people post/ hopfully wont have to update this not working list though)

Before i post this on here as a definitely not workin, can someone with a GSM(??) mopho on Cm7 try to reproduce this..