plz Need help to re-calibrate proximity sensor in note3 - Galaxy Note 3 Q&A, Help & Troubleshooting

can someone please help me
I'm trying to re-calibrate the proximity sensor according to the instructions in this thread for note 3 N9005 .
so as the instructions I'm trying the normal method
but don't know how to convert the values in Hexadecimal.
mine offset value is :
76,196,156
& the normal value is :
0
so how to add offset value + normal value ???!!!
because the normal value is : 0
so plz if anyone know about the process to guide me for that
thanks

plz someone reply .....!!!!
I need help
my note 3 proximity sensor is not working
& I bought it just 2 months ago

still waiting for someone to help me.

Ask in that thread .

alhaseeri said:
can someone please help me
I'm trying to re-calibrate the proximity sensor according to the instructions in this thread for note 3 N9005 .
so as the instructions I'm trying the normal method
but don't know how to convert the values in Hexadecimal.
mine offset value is :
76,196,156
& the normal value is :
0
so how to add offset value + normal value ???!!!
because the normal value is : 0
so plz if anyone know about the process to guide me for that
thanks
Click to expand...
Click to collapse
You can use windows calculator to convert decimal into Hex.
Just do the following, Already replied to your private message. Already converted your offset into hex for you. just type as it is.
su
# echo -en $ '\x4c' > /efs/prox_cal
# chown system:system /efs/prox_cal
# chmod 644 /efs/prox_cal
# sync
# Reboot

Related

Proximity Sensor Bug Fixed. i9505

Methods that worked for me.
Method 1.
Blow Air it will solve your prob hopefully.
Method 2.
go to samsung code *#0*#. then SENSORS and Read your Proximity sensor values.
<<< DECISION >>>>>
####Calibration isnot needed if ####
.
your phone doesnt vibrate in normal but does so when u physically put your finger on the Sensor.
#### Calibration needed if ####
.
your phone is vibrating in this menu no matter what, you put your finger on the sensor or not
Follow these steps
1. download Android Terminal from store
2. type these commands to calibrate automatically
$ su
# echo 0 > /sys/devices/virtual/sensors/proximity_sensor/prox_cal
# echo 1 > /sys/devices/virtual/sensors/proximity_sensor/prox_cal
Reboot and see if it works.go to *#0*# and check if it continuously vibrating or only does so when you put your finger on the SENSOR.
<<<< IF Continuously Vibrating Follow these steps>>>>
you need to manually put values in ur /efs/prox_cal.it Reads Hexadecimal value. so you have to convert your decimal values into HEX.
##### FIND YOUR Decimal Values and pushing them into /efs/prox_cal ######
Method : finding two values for calibration . offset + normal value.
##.. FINDING OFFSET ######
cat /sys/devices/virtual/sensors/proximity_sensor/prox_cal
note down the values it returns.. mine is 5,64,100.. you only need the 1st value which is 5.
### FINDING NORMAL STATE ######
cat /sys/devices/virtual/sensors/proximity_sensor/state
note down the value if returns. mine is 64
now ADD OFFSET value + Normal Value
5 + 64 = 69
Convert in Hexadecimal which is 45.
<<<<<<<<<<< Pushing the value in /efs/prox_cal >>>>>>>>>>>>>>
# echo -en $ '\x45' > /efs/prox_cal
then
# chown system:system /efs/prox_cal
# chmod 644 /efs/prox_cal
# sync
# Reboot
All done. after that go to *#0*# then SENSORS and move your finger on the sensor, yout phone will Vibrate only when you put your finger on the sensors.
Manual method worked for me.
ENJOY.
NOTE: I am not a developer. i was just stuck with this problem for so long so now i found it from "mcelicalderon". who posted this method some where.
Thank you ! That worked for me too
Pleasure is all mine
Sent from my GT-I9505 using xda app-developers app
thanks
i've had this problem a long time now. it worked fine with stock rom but as soon as i changed it, it went wrong. unrooted it and back to stock and it worked again. Been looking all over for a solution. tried air blowing and other non working solutions. the *#0*# did not run on my phone either. but after follwing this guide it got fixed. but insted of typing the long cat command in terminal i used ES file explorer and navigated to the right files and opened them.
so thank you for this guide to fix this irretating problem

[Q] bug in calls 4.4.3

hello everybody, i have an s4 19505 with 4.4.3 rom (http://forum.xda-developers.com/showthread.php?t=2544474) in the rom´s description, it says that this rom hasn´t got any bugs, but when i call, my screen turns to black and i need lo lock and unlock the phone for hang up the call:crying:, I need help, is the calibration of the sensor? any .zip to fix this?
lot of thanks
Its for the proximity sensor. I dunno if you have this option in AOSP but in STOCK ROMs it's. You only have to check one option of the settings for solve that:
- Go to Settings -> My device -> Call -> Turn off screen during calls.
Look here
http://forum.xda-developers.com/showthread.php?t=2208440&page=2
or
in terminal or adb
$ su
$ echo 0 > /sys/class/sensors/proximity_sensor/prox_cal
reboot
Hello, I have tried this (echo 0 and echo 1).
I'm on CM 11 with a Zerolemon case.
It still doesn't work. When I am on Rom stock 4.2, it works fine.
The screen goes black on call If I push the "Home" buttons, proximity sensor works fine. And when I try to come back on the call window, it turn black (whatever the 4.4.x, I've tried today, this bug exists not only in CM11).
Any idea to help me ?
Thanks for all.
edit :
When I try (the 74 value is just the one working - don't know the right value in my case)
[email protected]:/ $ su
[email protected]:/ # echo -en $ '\x74' > /efs/prox_cal
[email protected]:/ # chown system:system /efs/prox_cal
[email protected]:/ # chmod 644 /efs/prox_cal
[email protected]:/ # sync
[email protected]:/ # reboot
Click to expand...
Click to collapse
When I do that, the proximity sensor works well when I push the home button during a call. But the screen is still black on the phone call.
Edit 2nd
I've tried this : http://forum.xda-developers.com/showthread.php?t=1626611 ... Problem always here !

Proximity Sensor problem GT-I9506 /ks01lte/ (Temasek v18.0 ROM / arter97 Kernel)

Hey guys,
Any of you have similar issue? Whenever calling / receiving a call the screen won't recover from blackscreen. Only way is to turn off the Proximity sensor in call settings. Sorry for posting here, couldn't post on dev forum (posts < 10).
Using the following setup:
Twrp (2.8.7.0-ks01lte)
cm-12.1-2015.10.19-UNOFFICIAL-temasek-ks01lte-V18.0.zip
arter97-kernel-i9506-9.0.zip
arter97-ks01ltexx-cm-patch-2.0.zip
pa_gapps-modular-pico-5.1-2015.04.18-signed.zip
flashed in this order.
Thank you for the help
Here r link
http://www.androidlegend.com/how-to-perform-proximity-sensor-calibration-on-any-samsung-phone/
Hello again,
Thank you for the replay The post didn't helped to solve the problem but found this instead:
http://forum.cyanogenmod.org/topic/81988-black-screen-during-call-jfltexx/page__st__20
First step - Doing the manual recalibration:
$ su
$ echo -en $'\x74' > /efs/prox_cal
$ chown system:system /efs/prox_cal
$ chmod 644 /efs/prox_cal
$ sync
Reboot your phone.
After rebooting, please test, this will make the proximity sensor work, however, it will only work in a very near distance.
(I was so happy it worked so stopped at this point)
Now, you should do this, to fix permanently with the default proximity distance:
Second step - Fix the proximity distance:
$ su
$ echo 0 > /sys/class/sensors/proximity_sensor/prox_cal
$ echo 1 > /sys/class/sensors/proximity_sensor/prox_cal
Reboot your phone.
Hope it helped for those who suffered with this problem.
Thank you again!

Gps bug (oneplus one)

Ohkay so this gps bug is annoying... It always searching for gps..
I tried sultan rom as well.. But the problem persist there as well..
Anyone know any fix...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Fly 2080->nokia 5800->galaxy s3->oneplus one
If gps is still not functioning correctly after a clean flash of sultan's rom, it may be a firmware issue, since sultan's rom does not contain firmware.
You can try flash one of the firmwares from http://forum.xda-developers.com/oneplus-one/general/firmware-modem-oneplus-one-lollipop-t3300907 if the issue is indeed firmware.
Bladehawkz said:
If gps is still not functioning correctly after a clean flash of sultan's rom, it may be a firmware issue, since sultan's rom does not contain firmware.
You can try flash one of the firmwares from http://forum.xda-developers.com/oneplus-one/general/firmware-modem-oneplus-one-lollipop-t3300907 if the issue is indeed firmware.
Click to expand...
Click to collapse
Ohh i forgot to mention... I tried oxygen, . 4.11 the latest firmware and the custom firware available from the page..
All of them... But the problem still persist... It can just dont want to connect to any gps..!!
On sultans rom.. I was on 4. 011 firmware.. And problem was still there.
What should i do?
Fly 2080->nokia 5800->galaxy s3->oneplus one
download fastergps from playstore - https://play.google.com/store/apps/details?id=org.fastergps&hl=en
open app and choose your continent and region (must grant su permission)
close out and open GPS Test app, go to settings and clear then update agps
then see if it connects, might take a few minutes
kenboyles72 said:
download fastergps from playstore - https://play.google.com/store/apps/details?id=org.fastergps&hl=en
open app and choose your continent and region (must grant su permission)
close out and open GPS Test app, go to settings and clear then update agps
then see if it connects, might take a few minutes
Click to expand...
Click to collapse
Result after using fast gps.. Waited for 5 minutes.
Still no luck..!!!
Fly 2080->nokia 5800->galaxy s3->oneplus one
Try installing stock, get lock and powering off with locations turned on flash the new rom, its a common bug of cyanogen, it cant get first gps lock if gps modem cache wasnt locked in stock, dunno why
Sent from my fridge running CM13
santi1993 said:
Try installing stock, get lock and powering off with locations turned on flash the new rom, its a common bug of cyanogen, it cant get first gps lock if gps modem cache wasnt locked in stock, dunno why
Sent from my fridge running CM13
Click to expand...
Click to collapse
Really...
I heard fastbooting oxygen os takes care of this issue....
Is this true?
Fly 2080->nokia 5800->galaxy s3->oneplus one
No need to flash any firmware etc.
Modify the blue contents of the file /system/etc/gps.conf, by removing the # indicated in red color.
(Remove the # of whichever place/area is nearer to you e.g. mine is Asia)
Code:
#Uncommenting these urls would only enable
#the power up auto injection and force injection(test case).
#XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
#XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
#XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
#
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
# Error Estimate
# _SET = 1
# _CLEAR = 0
ERR_ESTIMATE=0
[COLOR="Blue"]#Test
NTP_SERVER=time.gpsonextra.net
#Asia
[COLOR="Red"]# [/COLOR]NTP_SERVER=asia.pool.ntp.org
#Europe
# NTP_SERVER=europe.pool.ntp.org
#North America
# NTP_SERVER=north-america.pool.ntp.org[/COLOR]
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
# If DEBUG_LEVEL is commented, Android's logging levels will be used
DEBUG_LEVEL = 2
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=0
# supl version 1.0
SUPL_VER=0x10000
# Emergency SUPL, 1=enable, 0=disable
SUPL_ES=1
# GPS Capabilities bit mask
# SCHEDULING = 0x01
# MSB = 0x02
# MSA = 0x04
# ON_DEMAND_TIME = 0x10
# GEOFENCE = 0x20
# default = ON_DEMAND_TIME | MSA | MSB | SCHEDULING | GEOFENCE
CAPABILITIES=0x37
# 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
# FOR C2K PDE SUPPORT, set the following
# C2K_HOST=c2k.pde.com or IP
# C2K_PORT=1234
####################################
# LTE Positioning Profile Settings
####################################
# 0: Enable RRLP on LTE(Default)
# 1: Enable LPP_User_Plane on LTE
# 2: Enable LPP_Control_Plane
# 3: Enable both LPP_User_Plane and LPP_Control_Plane
LPP_PROFILE = 0
################################
# EXTRA SETTINGS
################################
# NMEA provider (1=Modem Processor, 0=Application Processor)
NMEA_PROVIDER=0
# Mark if it is a SGLTE target (1=SGLTE, 0=nonSGLTE)
SGLTE_TARGET=0
##################################################
# Select Positioning Protocol on A-GLONASS system
##################################################
# 0x1: RRC CPlane
# 0x2: RRLP UPlane
# 0x4: LLP Uplane
A_GLONASS_POS_PROTOCOL_SELECT = 0
then restart your phone and try the gps again
khan.orak said:
No need to flash any firmware etc.
Modify the blue contents of the file /system/etc/gps.conf, by removing the # indicated in red color.
(Remove the # of whichever place/area is nearer to you e.g. mine is Asia)
Code:
#Uncommenting these urls would only enable
#the power up auto injection and force injection(test case).
#XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
#XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
#XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
#
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
# Error Estimate
# _SET = 1
# _CLEAR = 0
ERR_ESTIMATE=0
[COLOR="Blue"]#Test
NTP_SERVER=time.gpsonextra.net
#Asia
[COLOR="Red"]# [/COLOR]NTP_SERVER=asia.pool.ntp.org
#Europe
# NTP_SERVER=europe.pool.ntp.org
#North America
# NTP_SERVER=north-america.pool.ntp.org[/COLOR]
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
# If DEBUG_LEVEL is commented, Android's logging levels will be used
DEBUG_LEVEL = 2
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=0
# supl version 1.0
SUPL_VER=0x10000
# Emergency SUPL, 1=enable, 0=disable
SUPL_ES=1
# GPS Capabilities bit mask
# SCHEDULING = 0x01
# MSB = 0x02
# MSA = 0x04
# ON_DEMAND_TIME = 0x10
# GEOFENCE = 0x20
# default = ON_DEMAND_TIME | MSA | MSB | SCHEDULING | GEOFENCE
CAPABILITIES=0x37
# 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
# FOR C2K PDE SUPPORT, set the following
# C2K_HOST=c2k.pde.com or IP
# C2K_PORT=1234
####################################
# LTE Positioning Profile Settings
####################################
# 0: Enable RRLP on LTE(Default)
# 1: Enable LPP_User_Plane on LTE
# 2: Enable LPP_Control_Plane
# 3: Enable both LPP_User_Plane and LPP_Control_Plane
LPP_PROFILE = 0
################################
# EXTRA SETTINGS
################################
# NMEA provider (1=Modem Processor, 0=Application Processor)
NMEA_PROVIDER=0
# Mark if it is a SGLTE target (1=SGLTE, 0=nonSGLTE)
SGLTE_TARGET=0
##################################################
# Select Positioning Protocol on A-GLONASS system
##################################################
# 0x1: RRC CPlane
# 0x2: RRLP UPlane
# 0x4: LLP Uplane
A_GLONASS_POS_PROTOCOL_SELECT = 0
then restart your phone and try the gps again
Click to expand...
Click to collapse
Well my gps. Conf
Dont really have that line... I really cant find that # asia line... :/
Here take a look
Fly 2080->nokia 5800->galaxy s3->oneplus one
kevinpunk said:
Well my gps. Conf
Dont really have that line... I really cant find that # asia line... :/
Here take a look
Fly 2080->nokia 5800->galaxy s3->oneplus one
Click to expand...
Click to collapse
Backup your original GPS file. Copy and paste my file's contents and save it. Then reboot. Hope it works.
If you live in Europe then remove hash from Europe's line.
If all else fails, fastboot flash COS 13.1. I had a GPS issue, along with people not being able to hear me in calls nor me hear them.
Fastboot flash COS 13.1
Fastboot flash twrp 2.8.7.0
Wipes
Flash custom ROM, kernel, mods, etc
Worked like a charm for me!
There's a thread somewhere in the general section that has all the COS 13.1 files with a simple .bat file that'll flash it all automatically.
Neroga said:
If all else fails, fastboot flash COS 13.1. I had a GPS issue, along with people not being able to hear me in calls nor me hear them.
Fastboot flash COS 13.1
Fastboot flash twrp 2.8.7.0
Wipes
Flash custom ROM, kernel, mods, etc
Worked like a charm for me!
There's a thread somewhere in the general section that has all the COS 13.1 files with a simple .bat file that'll flash it all automatically.
Click to expand...
Click to collapse
yeah i think i am going to fastboot cos13.1 this time ..and see what happens .. if that doesnt work ..
i am gna fastboot oxygen os .. !!!
as my gps always has 24 gps available it just dont get any fix .. so i dont think its a hardware issue ..
still it nothing work .. have to go through the worse .. service centre procedure ..
Neroga said:
If all else fails, fastboot flash COS 13.1. I had a GPS issue, along with people not being able to hear me in calls nor me hear them.
Fastboot flash COS 13.1
Fastboot flash twrp 2.8.7.0
Wipes
Flash custom ROM, kernel, mods, etc
Worked like a charm for me!
There's a thread somewhere in the general section that has all the COS 13.1 files with a simple .bat file that'll flash it all automatically.
Click to expand...
Click to collapse
so i just fastbooted cos13.1 latest version and its still not getting any gps fix... what should i do now ?
khan.orak said:
Backup your original GPS file. Copy and paste my file's contents and save it. Then reboot. Hope it works.
If you live in Europe then remove hash from Europe's line.
Click to expand...
Click to collapse
after using your gps.conf file
i use to get less satellites ... like 4 and 4 of them use to connect ...
but i dont know why .. it never got a lock ..
like it use to show it is connecting with the satellite but never got a lock ... :/
What version of your firmwire ?
What type of your Gapps ?
I was using sultan last build & mini opengapps 20160718 & mod gps.conf there is no problem.
Khai Droid said:
What version of your firmwire ?
What type of your Gapps ?
I was using sultan last build & mini opengapps 20160718 & mod gps.conf there is no problem.
Click to expand...
Click to collapse
i am using the same Gapps .. and i am on latest sultans build .. and i tried 3.0, 4.11 and latest oxygen firmware as well.. but whenever i use any navigation its always searching for gps ... i dont know wht else i can do .. i have done everything..
Try update Google Play Service version 9.4.52 (438-1277739847)
Use App 'Disable Service'
Try to checked
FusedLocationService
GcmService
GeocodeService
GeofenceProviderService
GoogleLocationService
GoogleLocationManagerService
Setting > location , Mode : High Accuracy
Reboot OPO
Use app 'GPS Test'
Clear AGPS
Update AGPS.
Good Luck.
http://forum.xda-developers.com/oneplus-one/general/fix-weak-gps-signal-t2973228 here is my guide.
Lukiqq said:
http://forum.xda-developers.com/oneplus-one/general/fix-weak-gps-signal-t2973228 here is my guide.
Click to expand...
Click to collapse
So after using your gps file... I am only getting 2 gps And no fix.. No mattet how Long i wait.. I get no fix..
Any idea why?
Sent from my A0001 using XDA-Developers mobile app
kevinpunk said:
So after using your gps file... I am only getting 2 gps And no fix.. No mattet how Long i wait.. I get no fix..
Any idea why?
Sent from my A0001 using XDA-Developers mobile app
Click to expand...
Click to collapse
So I really don't know how to help you... [emoji52]
Wysłane z mojego A0001 przy użyciu Tapatalka

Root Idol 5?

Is there any way of rooting my alcatel idol 5 (6058D)?
Sent from my 6058D using Tapatalk
danilonacic said:
Is there any way of rooting my alcatel idol 5 (6058D)?
Sent from my 6058D using Tapatalk
Click to expand...
Click to collapse
probably
This model is listed in Sugar MTK. Does anyone know the status of the bootloader? What's the status of fastboot functionality? I can port twrp for this phone model. We have access to the recovery, just need to know the status on those 2 things. I don't have the phone so I don't know and can't test. I do have the Idol4 and an Alcatel Tetra I was able to sneak root on. Also, does anyone know the status of updates? As in how many updates have been released, anyone have any of those update files?
ADB Shell Temp Root acheived and confirmed
127|simba6_cricket:/ $ cd /data/local/tmp/
simba6_cricket:/data/local/tmp $ chmod 755 mtk-su
simba6_cricket:/data/local/tmp $ ./mtk-su -v
param1: 0x3000, param2: 0x10000, type: 4
Building symbol table
kallsyms_addresses pa 0x40c5d800
kallsyms_num_syms 60418, addr_count 60418
kallsyms_names pa 0x40cd3a00, size 776850
kallsyms_markers pa 0x40d91500
kallsyms_token_table pa 0x40d91d00
kallsyms_token_index pa 0x40d92100
Patching credentials
__ksymtab_init_task not found
Parsing copy_process
Found dmb ish instr at offset 2192
Found adrp instr at offset 2208
ADRP x3, 0xffffffc00100f000
Found add instr at offset 2212
ADD xd, x3, 3360
init_task va: 0xffffffc00100fd20
Possible list_head tasks at offset 0x360
0xffffffc0722e0360 0xffffffc062233360 0x000000000000008c
comm offset 0x618 comm: swapper/0
Found own task_struct at node 0
real_cred: 0xffffffc02e9a8600, cred: 0xffffffc02e9a8600
Parsing sel_read_enforce
Found adrp instr at offset 4
ADRP x0, 0xffffffc00119e000
Found ldr instr at offset 28
LDR [x0,2860]
selinux_enforce VA is 0xffffffc00119eb2c
Setting selinux_enforce
Switched selinux to permissive
New UID/GID: 0/0
starting /system/bin/sh
simba6_cricket:/data/local/tmp #
If you want anything else done with this phone, get ahold of me on Telegram and get me the info I need to figure out what can be done further.
-Help & Support Link-
https://t.me/Android_General_Chat
Hey Anyone still poking at this bear, the work I did for the 6060C could be easily achieve for this device as well. However, like @PizzaG pointed out, not every developer willing to help will have this device. Long story short, no device + no testers = no development.
Please Kindly STOP deleting my links Mods. It's rude, disrespectful, you give no warning, reason or heads up and if you really want me to take my posts, free software and self to another site, KEEP IT UP!!

Categories

Resources