GPS not moving - Nexus 4 Q&A, Help & Troubleshooting

Hi, so my GPS locks on, and it says the first direction, but when i move, the blue navigation arrow stays still at the original moment I locked on. It's been like this since I can remember, but I need to go for a road trip and lost my car's GPS, can anyone help me find a solution? Currently I have the newest carbon Rom, & data is working. I have net10 w/ att sim. If you need any more info let me know!

Triny511 said:
Hi, so my GPS locks on, and it says the first direction, but when i move, the blue navigation arrow stays still at the original moment I locked on. It's been like this since I can remember, but I need to go for a road trip and lost my car's GPS, can anyone help me find a solution? Currently I have the newest carbon Rom, & data is working. I have net10 w/ att sim. If you need any more info let me know!
Click to expand...
Click to collapse
This just started happening to me about 10 days ago! I'm stock everything on ATT. Can't use Navigate for the exact reason you described. If I use gmaps it is only accurate to 1km (big radius, useless). It searches for GPS all the time, too. So, sometimes the battery drains in a few hours with the screen off. Very frustrating new problem. I switched to ATT about two weeks ago but that might be a coincidence.
I can't think of any way to fix this. I might just buy a new phone, I really rely on GPS. Can anyone help?

Did you tried other navigate application or only Gmaps?
Try GPS TEST: https://play.google.com/store/apps/details?id=com.chartcross.gpstest to ensure that everything is fine with your gps (accurate, sats, lock, compass...)

Did you make sure you have Google services installled and enabled Google location access. If yuo still have problem its probably your combination of rom and gapps package that is causing the issue. Try a different rom and proper gapps package from goo.im/gapps.

I compared the GPS test with another phone, and it's definitely not working on my nexus 4, any ideas what I should do?

Maybe your gps.conf file (system/etc) is corrupted, what you got inside the file?
You can try GPS FIX app and change to server of your country, it change the file also so its another idea.
Else - check the permission of gps.conf file, maybe you have missing permission...

Here is what's in the GPS.config
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra2.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra2.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra2.bin
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
DEBUG_LEVEL = 3
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=0
# supl version 1.0
SUPL_VER=0x10000
# Error Estimate
# _SET = 1
# _CLEAR = 0
ERR_ESTIMATE=0
# GPS Capabilities bit mask
# SCHEDULING = 1
# MSB = 2
# MSA = 4
# ULP = 0x20
# default = MSA | MSB | SCHEDULING | ULP
CAPABILITIES=0x07
# Accuracy threshold for intermediate positions
# less accurate positions are ignored, 0 for passing all positions
# ACCURACY_THRES=5000
################################
##### AGPS server settings #####
################################
# FOR SUPL SUPPORT, set the following
# SUPL_HOST=supl.host.com or IP
# SUPL_PORT=1234
SUPL_HOST=supl.google.com
SUPL_PORT=7276
# FOR C2K PDE SUPPORT, set the following
# C2K_HOST=c2k.pde.com or IP
# C2K_PORT=1234
################################
# Sensor Settings
################################
# Needs to be set explicitly based on sensor
# There is no default value.
#GYRO_BIAS_RANDOM_WALK=
SENSOR_ACCEL_BATCHES_PER_SEC=2
SENSOR_ACCEL_SAMPLES_PER_BATCH=5
SENSOR_GYRO_BATCHES_PER_SEC=2
SENSOR_GYRO_SAMPLES_PER_BATCH=5
# Sensor Control Mode (0=AUTO, 1=FORCE_ON)
SENSOR_CONTROL_MODE=0
# Enable or Disable Sensors for GPS use (0=Enable, 1=Disable)
SENSOR_USAGE=1
# Choose GSIFF sensor provider (1=DSPS, 2=Android NDK)
SENSOR_PROVIDER=1
################################
# Indoor Positioning Settings
################################
# 0: QUIPC disabled, 1: QUIPC enabled, 2: forced QUIPC only
QUIPC_ENABLED = 0
################################
# EXTRA SETTINGS
################################
# Enable or Disable Wiper (1=Enable, 0=Disable)
ENABLE_WIPER=0
####################################
# LTE Positioning Profile Settings
####################################
# 0: Enable RRLP on LTE(Default) 1: Enable LPP_User_Plane on LTE
LPP_PROFILE = 0

Triny511 said:
Here is what's in the GPS.config
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra2.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra2.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra2.bin
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
DEBUG_LEVEL = 3
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=0
# supl version 1.0
SUPL_VER=0x10000
# Error Estimate
# _SET = 1
# _CLEAR = 0
ERR_ESTIMATE=0
# GPS Capabilities bit mask
# SCHEDULING = 1
# MSB = 2
# MSA = 4
# ULP = 0x20
# default = MSA | MSB | SCHEDULING | ULP
CAPABILITIES=0x07
# Accuracy threshold for intermediate positions
# less accurate positions are ignored, 0 for passing all positions
# ACCURACY_THRES=5000
################################
##### AGPS server settings #####
################################
# FOR SUPL SUPPORT, set the following
# SUPL_HOST=supl.host.com or IP
# SUPL_PORT=1234
SUPL_HOST=supl.google.com
SUPL_PORT=7276
# FOR C2K PDE SUPPORT, set the following
# C2K_HOST=c2k.pde.com or IP
# C2K_PORT=1234
################################
# Sensor Settings
################################
# Needs to be set explicitly based on sensor
# There is no default value.
#GYRO_BIAS_RANDOM_WALK=
SENSOR_ACCEL_BATCHES_PER_SEC=2
SENSOR_ACCEL_SAMPLES_PER_BATCH=5
SENSOR_GYRO_BATCHES_PER_SEC=2
SENSOR_GYRO_SAMPLES_PER_BATCH=5
# Sensor Control Mode (0=AUTO, 1=FORCE_ON)
SENSOR_CONTROL_MODE=0
# Enable or Disable Sensors for GPS use (0=Enable, 1=Disable)
SENSOR_USAGE=1
# Choose GSIFF sensor provider (1=DSPS, 2=Android NDK)
SENSOR_PROVIDER=1
################################
# Indoor Positioning Settings
################################
# 0: QUIPC disabled, 1: QUIPC enabled, 2: forced QUIPC only
QUIPC_ENABLED = 0
################################
# EXTRA SETTINGS
################################
# Enable or Disable Wiper (1=Enable, 0=Disable)
ENABLE_WIPER=0
####################################
# LTE Positioning Profile Settings
####################################
# 0: Enable RRLP on LTE(Default) 1: Enable LPP_User_Plane on LTE
LPP_PROFILE = 0
Click to expand...
Click to collapse
seems fine.
you both says that you are on ATT, did you try other provider's sim and check it?
at GPS TEST what youv'e got? it lost the fix or its not recognize you moving (speed)? [what seems to be something with the sensor]

This just stays on the screen and doesn't change. Anyone, any ideas?

Related

[Q] Build.MODEL value for Droid 2

Can someone with a Droid 2 tell me what the Build.MODEL value is? Because of a bug in Droid X and Droid 2, I need to detect the devices and use a workaround. I know the Droid X MODEL string is "DroidX", so it's probably "Droid2", but confirmation would be nice!
The bug is that using TTS on the "alarm" audio stream causes beeping during phone calls. My app is "Good Morning" by Flywheel Consulting, for the curious. Thanks!
PHP:
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=VZW
ro.build.display.id=VZW
ro.build.version.incremental=2.2.90
ro.build.version.sdk=8
ro.build.version.codename=REL
ro.build.version.release=2.2
ro.build.date=Thu Aug 5 10:30:29 CDT 2010
ro.build.date.utc=1281022229
ro.build.type=user
ro.build.user=dbretzm1
ro.build.host=il93lnxdroid22
ro.build.tags=test-keys
ro.product.model=DROID2
ro.product.model.internal=A955
ro.product.brand=verizon
ro.product.name=droid2_vzw
ro.product.device=cdma_droid2
ro.product.board=droid2
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=motorola
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=omap3
# ro.build.product is obsolete; use ro.product.device
ro.build.product=droid2_vzw
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=cdma_droid2-user 2.2 VZW 2.2.90 ota-rel-keys,release-keys
ro.build.fingerprint=verizon/droid2_vzw/cdma_droid2/droid2:2.2/VZW/22.90:user/ota-rel-keys,release-keys
# end build properties
#
# system.prop for CDMA Droid2
#
# rild.libpath=/system/lib/libril-moto-umts-1.so
rild.libpath=/system/lib/libmoto_ril.so
rild.libargs=-d /dev/ttyS0
ro.sf.lcd_density=240
ro.default_usb_mode=2
# BEGIN Motorola, a18772, 05/19/2010, IKSHADOW-5584
# Add 411 to DAN List for VZW.
ro.mot.ril.danlist=611,*611,#611,411
# END IKSHADOW-5584
persist.ril.ecclist=911,*911,#911
persist.ril.modem.mode =1
# This defines the max event window manager can
# handle in 1 s. We may adjust this # for performance
# reason later
windowsmgr.max_events_per_sec=55
# This defines the min duration between two pointer event
ro.min_pointer_dur=10
# USB modes allowed for UI and switching
ro.ngp_available=1
ro.modem_available=0
# Default network type.
# 4 => CDMA / EVDO.
ro.telephony.default_network=4
ro.com.google.clientid=android-motorola
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.cdma.home.operator.numeric=310004
ro.cdma.home.operator.alpha=Verizon
ro.config.vc_call_vol_steps=7
# wlan interface
wifi.interface = tiwlan0
# Time between scans in seconds. Keep it high to minimize battery drain.
# This only affects the case in which there are remembered access points,
# but none are in range.
wifi.supplicant_scan_interval = 45
# Indicate carrier OTA SP number schema
# refer to frameworks/base/telephony/java/com/android/
# internal/telephony/cdma/CDMAPhone.java for the schema:
ro.cdma.otaspnumschema=SELC,1,80,99
# The OpenGL ES API level that is natively supported by this device.
# This is a 16.16 fixed point number
ro.opengles.version = 131072
# This is a high density device with more memory, so larger vm heaps for it.
dalvik.vm.heapsize=30m
# The URL for safety information
ro.url.safetylegal=http://www.motorola.com/staticfiles/Support/legal
# our HTML browser (not WAP browser ) does not need to specify UAProf URL
ro.mot.hw.uaprof=
# Enable HAC to also display Call Setting Menu Option.
ro.mot.hw.HAC=1
# Motorola, a19622, 12/28/2009, IKSHADOW-204 / Location Settings for android
# Property to set enabling state of the location privacy setting feature.
# Motorola, a19622, 03/16/2010, IKSHADOW-2141 / Disable feature 33067
#ro.mot.settings.locprivacy=1
# ERI feature
# 0 OFF
# 1 ON
ro.mot.eri=1
# Motorola, a22976, 13/5/2010, IKSHADOW-5203
# Delay for Loss Of Service alert
ro.mot.eri.losalert.delay=2000
# If time from last RoamInd change to SID change less than below, not play alert
ro.mot.eri.sidalert.delay=1000
# END IKSHADOW-5203
# Motorol,a6889c,02/Feb/2010,IKSHADOW-619
# Proximity Sensor feature
# 0 disable
# 1 enable
persist.mot.proximity.touch=1
# End IKSHADOW-619
# BEGIN Motorola, a22976, 25-Feb-2010, IKSHADOW-702, FID 31841
# VZW Requirement Specifications: NETWORK BASED PLUS CODE DIALING
# 0 disable
# 1 enable
ro.cdma.nbpcd=1
# END IKSHADOW-702
# BEGIN Motorola, a22976, 12-Mar-2010, IKSHADOW-1784, Power Up Tone
# Motorola, a22976, 12-Apr-2010, IKSHADOW-3298, Remove temporary power up tone
# persist.mot.powerup.tone=/system/media/bootup.ogg
# END IKSHADOW-1784
# BEGIN Motorola, a22417, 22-Mar-2010, IKSHADOW-2345,default data roaming is on
ro.com.android.dataroaming=true
# END Motorola, a22417, 22-Mar-2010, IKSHADOW-2345,default data roaming is on
persist.mot.a2dp.direct = 0
# System property for SMC
ro.service.start.smc=1
# BEGIN Motorola, a21951, 17-Apr-2010, IKSHADOW-3602
# 0 disable
# 1 enable
persist.mot.usb.mediasync = 1
# END Motorola, a21951, 17-Apr-2010, IKSHADOW-3602
# BEGIN Motorola, pkd348, 26-Apr-2010, ISHADOW-4035
# true Horizontal BUA is preloaded, not allow to install standalone version of BuA from Android Market
# false Horizontal BUA is not preloaded
ro.HorizontalBUA=true
#Proximity sensor debounce time
mot.proximity.delay=450
# disable touch below 60 pixels
mot.proximity.distance=60
# BEGIN Motorola, pkd348, 26-Apr-2010, ISHADOW-4035
# true Horizontal VVM is preloaded, not allow to install standalone version of VVM from Android Market
# false Horizontal VVM is not preloaded
ro.HorizontalVVM=true
ro.mot.master_clear.shredsd=false
# BEGIN Motorola, pkd348, 09-July-2010, IKSTABLEONE-1236
# true enable the feature of In case of Emergency, default is false
# false disable the ICE feature
ro.mot.fid.29967.ice=true
# BEGIN MOTOROLA, vfhk68,24-July-2010, IKSTABLEONE-2469
# true enable the feature of 33531
# false disable the feature
ro.mot.fid.33531.keylock_ecm=true
#END
#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.kernel.android.ril=yes
persist.ril.mux.noofchannels=7
persist.ril.mux.ttydevice=/dev/ttyS0
persist.ril.modem.ttydevice=/dev/ttyUSB0
persist.ril.features=0x07
persist.ril.mux.retries=500
persist.ril.mux.sleep=2
ro.config.notification_sound=Droid.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
media.stagefright.enable-player=false
media.stagefright.enable-meta=false
media.stagefright.enable-scan=false
media.stagefright.enable-http=false
ro.default_usb_mode=0
ro.product.multi_touch_enabled=true
ro.product.max_num_touch=2
ro.telephony.sms_segment_size=160
ro.setupwizard.mode=OPTIONAL
ro.com.google.gmsversion=2.2_r3
ro.telephony.call_ring.multiple=false
ro.telephony.call_ring.delay=3000
ro.url.safetylegal=http://www.motorola.com/staticfiles/Support/legal/?model=A855
ro.setupwizard.enable_bypass=1
ro.com.google.clientid=android-motorola
ro.com.google.clientidbase=android-verizon
ro.com.google.clientidbase.am=android-verizon
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.cdma.home.operator.numeric=310004
ro.cdma.home.operator.alpha=Verizon
ro.config.vc_call_vol_steps=7
ro.cdma.homesystem=64,65,76,77,78,79,80,81,82,83
ro.cdma.data_retry_config=default_randomization=2000,0,0,120000,180000,540000,960000
ro.media.capture.maxres=5m
ro.media.capture.fast.fps=4
ro.media.capture.slow.fps=120
ro.media.capture.flash=led
ro.media.capture.classification=classE
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.build.config.version=GAS_NA_DROID2VZW_P011
ro.build.config.date=Thu_Aug_05_10:28:58_-0500_2010
ro.com.google.clientid=android-motorola
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.mot.hw.uaprof=http://uaprof.motorola.com/phoneconfig/MotoMB200/profile/MotoMB200.rdf
ro.build.version.full=Blur_Version.2.2.90.A955.Verizon.en.US
ro.config.ringtone=DroidTestLab.ogg
@theecho,
Wow!! LOL
Sent from my DROID2 using XDA App
Was just a simple copy and paste from the system dump released months ago.

[GUIDE] to Ezekeel's Touch Wake / Backlight Dimmers

#!/system/bin/sh
#
#
#
# DimmerMod Guide
#
# All credit for this mod goes to Ezekeel, who created it,
# and to the kernel devs (e.g. morfic, reddv1, and
# mathkid95) who have implemented it. If you're not
# rooted and using a kernel that supports it, such as
# Trinity, Lucid Nexus, or Matrix, don't ask why it
# doesn't work. If you don't know what I'm talking
# about, this might not be for you.
# Lines not preceded by a pound are commands that
# may be entered in terminal emulator. If you get a
# "directory nonexistent" error, your kernel does not
# support this. If you're familiar with init.d scripts, you
# know what to do.
#
#
#
# Screen Dimmer
# Screen dimmer will turn the screen off at the
# specified interval. Touching the screen will turn it
# back on. It does not play nicely with movies or other
# things that should keep the screen awake, but does
# allow the system and running apps to continue
# running, which shortens battery life. It has been
# made obsolete by touch wake dimmer. Use that
# instead.
#
# Enable:
echo 1 > /sys/class/misc/screendimmer/enabled
#
# Disable:
echo 0 > /sys/class/misc/screendimmer/enabled
#
# Set screen time-out delay,
# in milliseconds (example: 25 seconds). Value of 0 =
# indefinite delay (not useful for screen dimmer).
echo 25000 > /sys/class/misc/screendimmer/delay
#
#
#
# Touchkey Backlight Dimmer
# Touchkey backlight dimmer turns off the softkey
# backlight at the specified interval. It will turn back
# on (temporarily) when you touch the menu buttons.
# The battery savings are negligible. It is more of a
# user experience tweak. Some people prefer the way
# the phone looks with them off, particularly when
# watching movies. It can also be useful for bln users,
# who may prefer the keys to light up only when there
# is a notification.
#
# Disable:
echo 0 > /sys/class/misc/backlightdimmer/enabled
#
# Enable:
echo 1 > /sys/class/misc/backlightdimmer/enabled
#
# Set backlight dimmer time-out delay,
# in milliseconds (example: 3 seconds). Value of 0 =
# indefinite delay (not useful for backlight dimmer).
echo 3000 > /sys/class/misc/backlightdimmer/delay
#
#
#
# Touch Wake
# Touch wake will keep the touch input and menu
# softkeys active for the specified delay. The screen
# timeout will work normally, but you can then wake
# the phone by touching the screen or menu buttons
# instead of the power button. If you press the power
# button (or the touch wake expires) the phone will
# then be woken only by the power button, like normal.
# If you're running CyanogenMod, you can prevent the
# lockscreen from displaying when using touch-to-wake.
# Just set CyanogenMod settings->Lockscreen->Delay
# and timeout->Screen timeout delay to the same
# interval as touchwake/delay.
#
# Disable:
echo 0 > /sys/class/misc/touchwake/enabled
#
# Enable:
echo 1 > /sys/class/misc/touchwake/enabled
#
# Set touch wake time-out delay,
# in milliseconds (example: 5 minutes). Value of 0 =
# indefinite delay (If you do this, touch wake will stay
# active indefinitely. Press the power button to disable
# it when you put the phone in your pocket.)
echo 300000 > /sys/class/misc/touchwake/delay
#
#
#
# This guide brought to you by Maximilian Mary.
If you're on the xda app, this reads better with the phone sideways.
Maximilian Mary said:
#!/system/bin/sh
#
#
#
# DimmerMod Guide
#
# All credit for this mod goes to Ezekeel, who created it,
# and to the kernel devs (e.g. morfic & reddv1) who
# have implemented it. If you're not rooted and using
# a kernel that supports it, such as Trinity or Lucid
# Nexus, don't ask why it doesn't work. If you don't
# know what I'm talking about, this might not be for
# you.
# Lines not preceded by a pound are commands that
# may be entered in terminal emulator. If you get a
# "directory nonexistent" error, your kernel does not
# support this. If you're familiar with init.d scripts, you
# know what to do.
#
#
#
# Screen Dimmer
# Screen dimmer will turn the screen off at the
# specified interval. Touching the screen will turn it
# back on. It does not play nicely with movies or other
# things that should keep the screen awake, but does
# allow the system and running apps to continue
# running, which shortens battery life. It has been
# made obsolete by touch wake dimmer. Use that
# instead.
#
# Enable:
echo 1 > /sys/class/misc/screendimmer/enabled
#
# Disable:
echo 0 > /sys/class/misc/screendimmer/enabled
#
# Set screen time-out delay,
# in milliseconds (example: 25 seconds). Value of 0 =
# indefinite delay (not useful for screen dimmer).
echo 25000 > /sys/class/misc/screendimmer/delay
#
#
#
# Touchkey Backlight Dimmer
# Touchkey backlight dimmer turns off the softkey
# backlight at the specified interval. It will turn back
# on (temporarily) when you touch the menu buttons.
# The battery savings are negligible. It is more of a
# user experience tweak. Some people prefer the way
# the phone looks with them off, particularly when
# watching movies. It can also be useful for bln users,
# who may prefer the keys to light up only when there
# is a notification.
#
# Disable:
echo 0 > /sys/class/misc/backlightdimmer/enabled
#
# Enable:
echo 1 > /sys/class/misc/backlightdimmer/enabled
#
# Set backlight dimmer time-out delay,
# in milliseconds (example: 3 seconds). Value of 0 =
# indefinite delay (not useful for backlight dimmer).
echo 3000 > /sys/class/misc/backlightdimmer/delay
#
#
#
# Touch Wake
# Touch wake will keep the touch input and menu
# softkeys active for the specified delay. The screen
# timeout will work normally, but you can then wake
# the phone by touching the screen or menu buttons
# instead of the power button. If you press the power
# button (or the touch wake expires) the phone will
# then be woken only by the power button, like normal.
# If you're running CyanogenMod, you can prevent the
# lockscreen from displaying when using touch-to-wake.
# Just set CyanogenMod settings->Lockscreen->Delay
# and timeout->Screen timeout delay to the same
# interval as touchwake/delay.
#
# Disable:
echo 0 > /sys/class/misc/touchwake/enabled
#
# Enable:
echo 1 > /sys/class/misc/touchwake/enabled
#
# Set touch wake time-out delay,
# in milliseconds (example: 5 minutes). Value of 0 =
# indefinite delay (If you do this, touch wake will stay
# active indefinitely. Press the power button to disable
# it when you put the phone in your pocket.)
echo 300000 > /sys/class/misc/touchwake/delay
#
#
#
# This guide brought to you by Maximilian Mary.
Click to expand...
Click to collapse
thanks! now i have something to link for people instead of having to type it out every time some asks
Korean Version
Hello~
Thanks for the great guide.
I've translated the guide into Korean for my fellow countrymen.
http://caleb1783.tistory.com/200
Hope you dont mind~!
Cheers,
anyone able to make Widgetlocker play nice with Touch Wake?
After screen timeout, Widgetlocker kicks in immediately.
Sorry for the newbie question, but what should the init.d file be named? I guess you can name it whatever you want but there has to be a specific number at the begining. What should that number be?
Sorry if this is a stupid question, but how do I get the Touch key dimmer to stick after reboot?
MistaJae said:
Sorry if this is a stupid question, but how do I get the Touch key dimmer to stick after reboot?
Click to expand...
Click to collapse
Go to the market and download an app called Script Manager and use the script I've attached to this post, it activates the touchkey back light dimmer after 30 seconds and can be easily modified to whatever you like. I found the script somewhere on the board but one can be easily created with Script Manager so that you can take advantage of Ezekeel's mods and not have to worry about setting them everytime you reboot.
Touchkey Backlight Dimmer script: http://db.tt/y0IHXZCA
onigiri1692 said:
Go to the market and download an app called Script Manager and use the script I've attached to this post, it activates the touchkey back light dimmer after 30 seconds and can be easily modified to whatever you like. I found the script somewhere on the board but one can be easily created with Script Manager so that you can take advantage of Ezekeel's mods and not have to worry about setting them everytime you reboot.
Touchkey Backlight Dimmer script: http://db.tt/y0IHXZCA
Click to expand...
Click to collapse
Just what I was after. I have changed the timeout to 3 secs instead of 30.
Many thanks!
Uh with the zero delay of backlight dimmer, it loses the functionality of holding home button. Can't switch apps :/ But 1 sec is ok.
onigiri1692 said:
Go to the market and download an app called Script Manager and use the script I've attached to this post, it activates the touchkey back light dimmer after 30 seconds and can be easily modified to whatever you like. I found the script somewhere on the board but one can be easily created with Script Manager so that you can take advantage of Ezekeel's mods and not have to worry about setting them everytime you reboot.
Touchkey Backlight Dimmer script: http://db.tt/y0IHXZCA
Click to expand...
Click to collapse
Getting a sytax error when running this in script manager. I tried zipped as is and unzipped as well. Wondering if I missed a step or something.
wild1z said:
Getting a sytax error when running this in script manager. I tried zipped as is and unzipped as well. Wondering if I missed a step or something.
Click to expand...
Click to collapse
You want to run the file that is inside the script. The only thing I can think of is maybe you aren't running the script as root.
onigiri1692 said:
You want to run the file that is inside the script. The only thing I can think of is maybe you aren't running the script as root.
Click to expand...
Click to collapse
Ok, so I unzipped it on my computer. Then copied the file to the phone. Then ran script manager as root and to run on start up. This time it ran with no errors and it worked. Thank you so much for the reply. This opens up some doors for me. Thanks button pushed.
it didn't work on my Nexus S with script manager
i write it , and select as root and at boot
but after i reboot , just like it didn't run this script , touchwake didn't work
------------
this is what i have on my script file
#!/system/bin/sh
echo 1 > /sys/class/misc/touchwake/enabled
echo 10000 > /sys/class/misc/touchwake/delay
echo 1 > /sys/class/misc/deepidle/enabled
Click to expand...
Click to collapse
something wrong ?
problem solved , thanks , although i don't even what have i done to solve it ... - - !!!
qtwrk said:
it didn't work on my Nexus S with script manager
i write it , and select as root and at boot
but after i reboot , just like it didn't run this script , touchwake didn't work
------------
this is what i have on my script file
something wrong ?
problem solved , thanks , although i don't even what have i done to solve it ... - - !!!
Click to expand...
Click to collapse
Go into the SU app next time and make sure The Script Manager is enabled. Happened to me too. Cheers.
I have created an application to make this thing easier
go to this thread
http://forum.xda-developers.com/showthread.php?t=1333696
thanks

[TWEAK] [MOD] [CM9/CM10/CM11 Only] Touchscreen Sensitive Tweak

Code:
[B]#include
/*
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/[/B]
first you must know other way to tweak touchscreen
> touch.pressure.scale = 0.001 > system/build.prop
better is tweak module directly than make new line in build.prop
> mxt224_ts_input.idc > system/usr/idc/
for touchscreen module in CM9/CM10/CM11 we have sec_touchscreen.idc, and mxt224_ts_input.idc is same with that. but yeah you must know different devices is different module name.. ex : on p500 is touch_mcs6000.idc
I will provide you best way to tweak Touchscreen Sensitive on CM9/CM10/CM11
Below is Stock CyanogenMod 9/10/11 Touchscreen Module
blue text is line will tweaked
Code:
# Basic Parameters
touch.deviceType = touchScreen
touch.orientationAware = 1
# Touch Size
touch.touchSize.calibration = pressure
# Tool Size
# Driver reports tool size as an area measurement.
#
# Based on empirical measurements, we estimate the size of the tool
# using size = sqrt(22 * rawToolArea + 0) * 9.2 + 0.
touch.toolSize.calibration = area
touch.toolSize.areaScale = 22
touch.toolSize.areaBias = 0
touch.toolSize.linearScale = 9.2
touch.toolSize.linearBias = 0
touch.toolSize.isSummed = 0
# Pressure
# Driver reports signal strength as pressure.
#
# A normal thumb touch typically registers about 100 signal strength
# units although we don't expect these values to be accurate.
touch.pressure.calibration = amplitude
touch.pressure.source = default
[B][COLOR="Blue"]touch.pressure.scale = 0.01 #all device not same value[/COLOR][/B]
# Size
touch.size.calibration = normalized
# Orientation
touch.orientation.calibration = none
And below is Touchscreen Module already tweaked by me
Code:
# Basic Parameters
touch.deviceType = touchScreen
touch.orientationAware = 1
# Touch Size
touch.touchSize.calibration = pressure
# Tool Size
# Driver reports tool size as an area measurement.
#
# Based on empirical measurements, we estimate the size of the tool
# using size = sqrt(22 * rawToolArea + 0) * 9.2 + 0.
touch.toolSize.calibration = area
touch.toolSize.areaScale = 22
touch.toolSize.areaBias = 0
touch.toolSize.linearScale = 9.2
touch.toolSize.linearBias = 0
touch.toolSize.isSummed = 0
# Pressure
# Driver reports signal strength as pressure.
#
# A normal thumb touch typically registers about 100 signal strength
# units although we don't expect these values to be accurate.
touch.pressure.calibration = amplitude
touch.pressure.source = default
[B][COLOR="blue"]touch.pressure.scale = 0.001[/COLOR][/B]
# Size
touch.size.calibration = normalized
# Orientation
touch.orientation.calibration = none
I made a flashable zip for that..
this zip will delete
> touch.pressure.scale = 0.001 from build.prop
> mxt224_ts_input.idc from usr/idc
but also will backup your original to sdcard/Reincarnation_Engine
How to install :
Download zip from attachement
Reboot to recovery
install zip from sd card
done
If you found some problem with touchscreen
First Gonna try this

A_glonass_pos_protocol_select = 15

Hello Gents
Have a look below.
Code:
##################################################
# Select Positioning Protocol on A-GLONASS system
##################################################
# 0x1: RRC CPlane
# 0x2: RRLP UPlane
# 0x4: LLP Uplane
#ifndef [email protected] enable all bit mask for GLONASS
#A_GLONASS_POS_PROTOCOL_SELECT = 0
#else
[B][COLOR=Red]A_GLONASS_POS_PROTOCOL_SELECT = 15[/COLOR][/B]
#endif
Source: https://review.lineageos.org/c/Line...8998-common/+/200009/26/gps/etc/gps.conf#b132
I am intrigued about the value "15" .
I can't seem to find any documentation on internet or in the research papers. I tried to email the guy but the email bounces back.
Now it really really made me curious: how did they come up with these values? There must be some documentation for it somewhere...
Would any of you guys know where did they pick up their values from?
Thanks
Quick update
A_GLONASS_POS_PROTOCOL_SELECT = 0x2 (GSM, без LTE, без CDMA)
A_GLONASS_POS_PROTOCOL_SELECT = 0x6 (GSM+LTE, без CDMA)
https://4pda.ru/forum/index.php?showtopic=597293&st=760
A quick google translation of the pages shows it as:
A_GLONASS_POS_PROTOCOL_SELECT = 0x2 (GSM, no LTE, no CDMA)
A_GLONASS_POS_PROTOCOL_SELECT = 0x6 (GSM + LTE, no CDMA)
That post is from 2014 and it does not explain anything.
There must be some documentation they are picking these values up from , but I can't find it.

Mac Adress Spoofing

Hi, i cannot connect to public wifi with a
spoofed mac adress but it work good with the
permanent hardware mac adress ; and my laptop can
connect with a spoofed mac adress so the problem
come from my phone, a motorola moto g4 play.
I use ifconfig or macchanger
i find this kind of file on the phone, maybe
they have no importance :
/system/etc/firmware/wlan/prima/WCNSS_cfg.dat :
I can't read
/system/etc/firmware/wlan/prima/WCNSS_qcom_cfg.ini :
Code:
# This file allows user to override the factory
# defaults for the WLAN Driver
gEnableMacAddrSpoof=1
#Enable/Disable Link Layer Statistics Feature
gEnableLLStats=1
#Enable/Disable EXTScan Feature
gEnableEXTScan=1
gBtcFastWlanConnPref=0
gBtcEnableIndTimerVal=5
gEnableTDLSScan=1
gTDLSExternalControl=1
gEnableTDLSSupport=1
gEnableTDLSImplicitTrigger=1
gTDLSTxStatsPeriod=500
gTDLSTxPacketThreshold=10
gTDLSDiscoveryPeriod=20000
gTDLSMaxDiscoveryAttempt=5
gTDLSIdleTimeout=40000
gTDLSRssiHysteresis=100
gTDLSIdlePacketThreshold=5
gEnableTDLSScanCoexistence=1
#Splitscan related params
gPassiveMaxChannelTimeConc=110
gPassiveMinChannelTimeConc=60
gRestTimeConc=100
gActiveMinChannelTimeConc=20
gActiveMaxChannelTimeConc=27
gNumStaChanCombinedConc=1
# Enable IMPS or not
gEnableImps=1
# Enable/Disable Idle Scan
gEnableIdleScan=0
# Increase sleep duration (seconds) during IMPS
# 0 implies no periodic wake up from IMPS. Periodic wakeup is
# unnecessary if Idle Scan is disabled.
gImpsModSleepTime=0
# Diable administered P2P device
isP2pDeviceAddrAdministrated=0
# Enable BMPS or not
gEnableBmps=1
# Enable suspend or not
# 1: Enable standby, 2: Enable Deep sleep, 3: Enable Mcast/Bcast Filter
gEnableSuspend=3
# Phy Mode (auto, b, g, n, etc)
# Valid values are 0-9, with 0 = Auto, 4 = 11n, 9 = 11ac
gDot11Mode=0
# CSR Roaming Enable(1) Disable(0)
gRoamingTime=0
# Assigned MAC Addresses - This will be used until NV items are in place
# Each byte of MAC address is represented in Hex format as XX
Intf0MacAddress=000AF58989FF
Intf1MacAddress=000AF58989FE
Intf2MacAddress=000AF58989FD
Intf3MacAddress=000AF58989FC
# Set/Clear UAPSD mask
UapsdMask=0
# UAPSD service interval for VO,VI, BE, BK traffic
UapsdMask=0
InfraUapsdVoSrvIntv=20
InfraUapsdViSrvIntv=40
# Flag to allow STA send AddTspec even when ACM is Off
gAddTSWhenACMIsOff=1
# Make 1x1 the default antenna configuration
gNumRxAnt=1
# Beacon filtering frequency (unit in beacon intervals)
gNthBeaconFilter=50
# Enable WAPI or not
# WAPIIsEnabled=0
# Flags to filter Mcast abd Bcast RX packets.
# Value 0: No filtering, 1: Filter all Multicast.
# 2: Filter all Broadcast. 3: Filter all Mcast abd Bcast
McastBcastFilter=0
#Enable NDP offload
hostNSOffload=1
#Flag to enable HostARPOffload feature or not
hostArpOffload=1
#SoftAP Related Parameters
# AP MAc addr
gAPMacAddr=000AF589dcab
# 802.11n Protection flag
gEnableApProt=1
#Enable OBSS protection
gEnableApOBSSProt=1
#Enable/Disable UAPSD for SoftAP
gEnableApUapsd=1
# Fixed Rate
gFixedRate=0
# Maximum Tx power
# gTxPowerCap=30
# Fragmentation Threshold
# gFragmentationThreshold=2346
# RTS threshold
RTSThreshold=2347
# Intra-BSS forward
gDisableIntraBssFwd=0
# WMM Enable/Disable
WmmIsEnabled=0
# 802.11d support
g11dSupportEnabled=0
# CCX Support and fast transition
EseEnabled=0
FastTransitionEnabled=1
ImplicitQosIsEnabled=0
gNeighborScanTimerPeriod=200
# default value of this parameter is zero to enable dynamic threshold allocation
# to set static roming threshold uncomment below parameter and set vaule
#gNeighborLookupThreshold=78
gNeighborScanChannelMinTime=20
gNeighborScanChannelMaxTime=30
# Legacy (non-CCX, non-802.11r) Fast Roaming Support
# To enable, set FastRoamEnabled=1
# To disable, set FastRoamEnabled=0
FastRoamEnabled=1
#Check if the AP to which we are roaming is better than current AP in terms of RSSI.
#Checking is disabled if set to Zero.Otherwise it will use this value as to how better
#the RSSI of the new/roamable AP should be for roaming
RoamRssiDiff=5
# SAP Country code
# Default Country Code is 2 bytes, 3rd byte is optional indoor or out door.
# Example
# US Indoor, USI
# Korea Outdoor, KRO
# Japan without optional byte, JP
# France without optional byte, FR
#gAPCntryCode=USI
#Short Guard Interval Enable/disable
gShortGI20Mhz=1
gShortGI40Mhz=1
#Auto Shutdown Value in seconds. A value of 0 means Auto shutoff is disabled
gAPAutoShutOff=0
# SAP auto channel selection configuration
# 0 = disable auto channel selection
# 1 = enable auto channel selection, channel provided by supplicant will be ignored
gApAutoChannelSelection=0
# Listen Energy Detect Mode Configuration
# Valid values 0-128
# 128 means disable Energy Detect feature
# 0-9 are threshold code and 7 is recommended value from system if feature is to be enabled.
# 10-128 are reserved.
# The EDET threshold mapping is as follows in 3dB step:
# 0 = -60 dBm
# 1 = -63 dBm
# 2 = -66 dBm
# ...
# 7 = -81 dBm
# 8 = -84 dBm
# 9 = -87 dBm
# Note: Any of these settings are valid. Setting 0 would yield the highest power saving (in a noisy environment) at the cost of more range. The range impact is approximately #calculated as:
#
# Range Loss (dB) = EDET threshold level (dBm) + 97 dBm.
#
gEnablePhyAgcListenMode=128
#Preferred channel to start BT AMP AP mode (0 means, any channel)
BtAmpPreferredChannel=0
#Preferred band (both or 2.4 only or 5 only)
BandCapability=1
#Beacon Early Termination (1 = enable the BET feature, 0 = disable)
enableBeaconEarlyTermination=1
beaconEarlyTerminationWakeInterval=11
#Bluetooth Alternate Mac Phy (1 = enable the BT AMP feature, 0 = disable)
gEnableBtAmp=0
#SOFTAP Channel Range selection
gAPChannelSelectStartChannel=1
gAPChannelSelectEndChannel=11
#SOFTAP Channel Range selection Operating band
# 0:2.4GHZ 1: LOW-5GHZ 2:MID-5GHZ 3:HIGH-5GHZ 4: 4.9HZ BAND 5: 5GHZ BAND
gAPChannelSelectOperatingBand=0
#Channel Bonding
gChannelBondingMode5GHz=1
gEnableModulatedDTIM = 3
gMaxLIModulatedDTIM = 3
gEnableDatainactivity = 200
#Enable Keep alive with non-zero period value
gStaKeepAlivePeriod=30
#Say gGoKeepAlivePeriod(5 seconds) and gGoLinkMonitorPeriod(10 seconds).
#For every 10 seconds DUT sends Qos Null frame(i.e., Keep Alive frame if link is idle for last 10 seconds.)
#For both active and power save clients.
#Power save clients: DUT set TIM bit from 10th second onwards and till client honors TIM bit.
#If doesn't honor for 5 seconds then Driver remove client.
#Active clients: DUT send Qos Null frame for 10th seconds onwards if it is not success still DUT try on
#11th second if not tries on 12th and so on till 15th second. Hence before disconnection DUT will send 5 NULL frames.
#Hence in any case DUT will detect client got removed in (10+5) seconds. i.e., (gGoKeepAlivePeriod +gGoLinkMonitorPeriod)..
#gGoLinkMonitorPeriod/ gApLinkMonitorPeriod is period where link is idle and it is period
#where we send NULL frame.
#gApLinkMonitorPeriod = 10
#gGoLinkMonitorPeriod = 10
#gGoKeepAlivePeriod/gApKeepAlivePeriod is time to spend to check whether frame are succeed to send or not.
#Hence total effective detection time is gGoLinkMonitorPeriod+ gGoKeepAlivePeriod/gApLinkMonitorPeriod+ gApKeepAlivePeriod.
gGoKeepAlivePeriod = 10
gApKeepAlivePeriod = 60
#If set will start with active scan after driver load, otherwise will start with
#passive scan to find out the domain
#gEnableBypass11d=1
#If set to 0, will not scan DFS channels
gEnableDFSChnlScan=1
gEnableLogp=1
# Enable Automatic Tx Power control
gEnableAutomaticTxPowerControl=0
# 0 for OLPC 1 for CLPC and SCPC
gEnableCloseLoop=1
#Data Inactivity Timeout when in powersave (in ms)
gDataInactivityTimeout=110
gEnableLpwrImgTransition=1
#If set to 0, MCC is not allowed.
gEnableMCCMode=0
# Priority Setting:COUNTRY IOCTL > 11d > NV default
gCountryCodePriority=1
#Count of the Scan Result age.
gScanResultAgeCount=2
#Enable Scan Results Aging based on timer
#Timer value is in seconds
#If Set to 0 it will not enable the feature
gScanAgingTime=10
# Scan Timing Parameters
# gPassiveMaxChannelTime=110
# gPassiveMinChannelTime=60
# Enable Tx LDPC
#gTxLdpcEnable = 1 for HT mode, 2 for VHT mode,3 for both HT and VHT
gTxLdpcEnable=3
# gActiveMaxChannelTime=40
# gActiveMinChannelTime=20
# Valid values are 2048,4096,8192 and so on
# Please don't use values other than the ones mentioned above
gMaxMediumTime=4096
# 802.11K support
gRrmEnable=1
gRrmOperChanMax=8
gRrmNonOperChanMax=8
gRrmRandIntvl=100
#Scan offload
gEnableDirectedScanOffload=0
#FlexConnect Power Factor
#Default is set to 0 (disable)
gFlexConnectPowerFactor=0
#SAP/P2P-GO mode traffic monitor
gEnableTrafficMonitor=0
gTrafficIdleTimeout=3000
#gAdvertiseConcurrentOperation=0
gVhtChannelWidth=2
# VHT Tx/Rx MCS values
# Valid values are 0,1,2. If commented out, the default value is 0.
# 0=MCS0-7, 1=MCS0-8, 2=MCS0-9
gVhtRxMCS=2
gVhtTxMCS=2
# Enable Tx beamforming
gTxBFEnable=1
#Enable/Disable TDLS Feature
gEnableTDLSSupport=1
#Enable/Disable TDLS Implicit Trigger
gEnableTDLSImplicitTrigger=0
#Enable/Disable TDLS WMM Mode
gEnableTDLSWmmMode=1
#Enable/Disable TDLS Buffer Sta
gEnableTDLSBufferSta=1
#Enable mac spoofing for firmware scans only (disabled in host scans)
gEnableMacAddrSpoof=2
#Disable Fatal event
gEnableFatalEvent=0
#gEnableRtsCtsHtVht=1
gEnableDynamicRAstartRate=1
#Enable Toggle ARP BD Rates
gToggleArpBDRates=1
#Disable multicast host fw logs
gMulticastHostMsgs=0
# Configure 60ms for BT, 60ms for WLAN
# Default values are WLAN 30ms, BT 120ms
btcStaticLenLeWlan=60000
btcStaticLenLeBt=60000
gIgnorePeerErpInfo=0
SARPowerBackoff=0
END
# Note: Configuration parser would not read anything past the END marker
/system/etc/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin :
I can't read
/sys/devices/soc.0/a000000.qcom,wcnss-wlan/wcnss_mac_adrr :
Code:
00:00:00:00:00:00
/sys/fs/selinux/class/capability2/perms/mac_admin :
Code:
2
/sys/fs/selinux/class/capability2/perms/mac_override
Code:
1
I think i am not the only one who have this problem, Thank for all answer.

Categories

Resources