i9000 proximity sensor problem - Galaxy S I9000 Q&A, Help & Troubleshooting

Hello.
I try many rom, but I have the problem with proximity sensor in my galaxy S (i9000).
I change the hardware (proximity sensor with 3.5 audio jack), but problem still.
Then I answer to call the phone freez, and the screen goes black.
I found the file in system/lib/hw/ sensors.default.so
In this file is all information about all sensors, then I delete this file the problem with this sensor is gone, but not work all sensors (rotate, etc).
How I can edit this file to delete information only about proximity sensor?
Maybe somebody can send the file sensors.default.so without proximity sensor information?
Thank You

Mine does exatly the same. I am not sure, but I believe my Galaxy S has sustained salt water damage to the microusb port, and just below that as you know is are the light and proximity sensors. I am pretty sure this is why it's playing up exactly as you describe.
I do flash a fair bit though, so it may simply be firmware related, I am yet to find out, but i doubt it.

Did anyone find fix for this one as mine i9000 does same thing

oxio said:
Did anyone find fix for this one as mine i9000 does same thing
Click to expand...
Click to collapse
The problem in the motherboard.
I change the motherbord of my I9000

poliusss said:
The problem in the motherboard.
I change the motherbord of my I9000
Click to expand...
Click to collapse
Where did you find it, i tried ebay and google without luck.

oxio said:
Where did you find it, i tried ebay and google without luck.
Click to expand...
Click to collapse
I buy other phone with broken screen.

I managed to disable only proximity sensor on my i9000 with cm7.
So here is how to make it if somebody need it.
IMPORTANT: Make backup of your firmware!
Requirements:
Root-ed phone
File manager with acess & permitions to write to system (i used ES File Explorer)
PC with HEX Editor
Steps:
1. With superuser grant acess to ES File Explorer
2. In ES File Explorer go to settings and togle all 3 boxes in category Root settings
3. Navigate to root of your device
4. Go to system/lib/hw/
5. Copy sensor.aries.so to sdcard
6. Transfer on computer and open file sensor.aries.so in HEX editor
7. Find all parts where ProximitySensor is mentioned, do not delete it only replace ProximitySensor to PPPPPPPPPPPPPPP (it can be anything but we must keep number of letters exact like original so anything with 15 characters is ok)
8. Save file sensor.aries.so to sdcard
9. Replace sensor.aries.so on your phone with this modified version
10. Reboot phone
11. Make test call and see only proximity sensor is disabled
In attachment is file i made, please note i made it for my I9000 with CM 7.2 so i dont know will it work for other firmwares.
@ poliusss - thanks for pointing to system/lib/hw/ sensors.default.so it helped me a lot.

oxio said:
I managed to disable only proximity sensor on my i9000 with cm7.
So here is how to make it if somebody need it.
IMPORTANT: Make backup of your firmware!
Requirements:
Root-ed phone
File manager with acess & permitions to write to system (i used ES File Explorer)
PC with HEX Editor
Steps:
1. With superuser grant acess to ES File Explorer
2. In ES File Explorer go to settings and togle all 3 boxes in category Root settings
3. Navigate to root of your device
4. Go to system/lib/hw/
5. Copy sensor.aries.so to sdcard
6. Transfer on computer and open file sensor.aries.so in HEX editor
7. Find all parts where ProximitySensor is mentioned, do not delete it only replace ProximitySensor to PPPPPPPPPPPPPPP (it can be anything but we must keep number of letters exact like original so anything with 15 characters is ok)
8. Save file sensor.aries.so to sdcard
9. Replace sensor.aries.so on your phone with this modified version
10. Reboot phone
11. Make test call and see only proximity sensor is disabled
In attachment is file i made, please note i made it for my I9000 with CM 7.2 so i dont know will it work for other firmwares.
@ poliusss - thanks for pointing to system/lib/hw/ sensors.default.so it helped me a lot.
Click to expand...
Click to collapse
Could you please tell me what Hex Editor did you use and how did you edit it? I have an hardware issue related to compass and I would like to block al readings.

I used HexEdit v1.03 found it online its free tool so i attach it here.
Opened sensors.aries.so with it and searched for proximity sensor and replaced characters by letter P
In find function of program it is important to use big and small caps, so you must search for: CompassSensor
and replace it by: CCCCCCCCCCCCC
I attach you here file with only compass disabled but please make backup before as i didnt test it.
Hope it will solve your problem

oxio said:
I used HexEdit v1.03 found it online its free tool so i attach it here.
Opened sensors.aries.so with it and searched for proximity sensor and replaced characters by letter P
In find function of program it is important to use big and small caps, so you must search for: CompassSensor
and replace it by: CCCCCCCCCCCCC
I attach you here file with only compass disabled but please make backup before as i didnt test it.
Hope it will solve your problem
Click to expand...
Click to collapse
Thank you for your help and for your quick replay
I've tried to edit file using your tutorial but no luck (stuck at boot animation), the good news is that your edited sensors.aries.so it's compatible with aokp i've tested and is working...but proxymity sensor and light sensor are also dead , also my problem remains there even with no proximity and no light sensor because I still get some readings even if my compass won't move (gps status detect activity on mag. field)

Try to delete sensors.aries.so and restart phone it will disable all sensors, if then problem stops than its posible to change sensors.aries.so to correct it, only trick is to find what you must modify.
I modified file you attached also find and changed magnetic sensor in it so disabled it try now
File is in attachment.

oxio said:
Try to delete sensors.aries.so and restart phone it will disable all sensors, if then problem stops than its posible to change sensors.aries.so to correct it, only trick is to find what you must modify.
I modified file you attached also find and changed magnetic sensor in it so disabled it try now
File is in attachment.
Click to expand...
Click to collapse
Thank you, I forgot to mention...I've updated my kernel to semaphore 1.1.0 and since then my phone behaves almost normal (compass show me wrong direction but at least no longer resets itself )

Related

Changing lock & unlock sound?

Does anyone know how I can change the lock and unlock sounds on my phone? I found The correct sound format for the phone (.ogg) so I put it them on my phone and then using root explorer dropped and replaced them over the factory ones...but didnt work. It weird because it I click them it will play the sound like everything is correct but just wont work. I made sure that I have the screen lock sounds checked in my settings on my phone.
These are the files I wanted to use:
http://forum.xda-developers.com/showthread.php?t=691236
Any help would be appreciated!!!
android158 said:
Does anyone know how I can change the lock and unlock sounds on my phone? I found The correct sound format for the phone (.ogg) so I put it them on my phone and then using root explorer dropped and replaced them over the factory ones...but didnt work. It weird because it I click them it will play the sound like everything is correct but just wont work. I made sure that I have the screen lock sounds checked in my settings on my phone.
These are the files I wanted to use:
http://forum.xda-developers.com/showthread.php?t=691236
Any help would be appreciated!!!
Click to expand...
Click to collapse
you just can switch Lock.ogg/TW_Unlock_Glass.ogg file located system/media/audio/ui folder
and reboot
edit. it's case sensitive!!
The name of the files are case sensitive, when you want to overwrite the original file it should follow the same. for example if you copy unlock.ogg it doesn't work it should be Unlock.ogg with capital U. give it a try

[Q] good vibes

after initial search and many contradictory answers, simple but inadequate (change pattern) and/or complicated to perform actions, I would like to put an end on the question:
is there any way to boost the vibration on SGM???!
please do contribute with answers in accordance with the first sentence
thnx
can try going to /sys folder and can look for vibrator folder in somewhere there then with the hep of duty file you can change the vibrator intensity
dheeraj (dhlalit11) said:
can try going to /sys folder and can look for vibrator folder in somewhere there then with the hep of duty file you can change the vibrator intensity
Click to expand...
Click to collapse
simple but not understandable answer; wish i was not that much of a noob!
still haven't found what i'm looking for
I would try to make it more clear
first with file manager go to /sys folder
try looking into every folder there till you find a folder named vibrator
go to that folder and there would be a file named "duty"
open it with a text editor which support root access
and from there increase the vibrator power to the one you like
first of all>> thank you very much for trying to help
second>> now that i know it can be done, i'm even more eager to try it
third>>
i'm running cm10.1 [maybe i should've mentioned that before]
my file manager during search found 7 items with the term "vibrator" - although in results shows only 4:
the only folder among those is: /sys/devices/virtual/timed_output/vibrator/
but it doesn't have any file named "duty"
started looking manually with root explorer, then tried with android commander (on a pc), then googled and guess what:
i got back here
different mobile, kernel, roms have different place
do you have /sys/class/misc/pwm_duty folder
if yes then open pwm_duty file and change some digits

Adding hebrew font to lenovo k3 note?

i have a problem with my lenovo k3 note i just bought , in hebrew it shows text like this:
in picture title is ok but the content is just weired box's, same happens in feedly app...
i assume this is a font issu with mtk 6752 cpu, any idea how to add them?
thanks
https://lh3.googleusercontent.com/-...s1600/Screenshot_2015-05-12-13-19-12-628.jpeg
solved the problem by copying my fonts from THL T11 to my new phone.
same here
itzikd1 said:
solved the problem by copying my fonts from THL T11 to my new phone.
Click to expand...
Click to collapse
Could you tell me how you did it? I tried to install fonts too but it didn't solve my problem
https://mega.co.nz/#!MJ5i2LqS!oR9TYViLMh_3LpMC4LNLcYpWrrb4XW1W4WsFVITwHQo
just copy all this fonts to system --> font
thank you
Worked like a charm
read only ttf files
hi,
i downloaded the heb fonts from the links you posted and im trying to copy it to : system\fonts on my lenovo k3 and it says that the files are 'read only'
what do i do ?
tnx a bunch
Hebrew keyboard
It is possible to write hebrew in a english/chinese k3 note?
Thanks
To add new font, you should try to root your lenovo first.
need your help
Hi,
try to rot the device, and copy the fons into 2 places:
1) create "fonts" directory under system
2) in the folder in operting system folder
but nothing help.
please try to give me more ideas... (my account in gmail for private session...)
Toda
hi,
i downloaded the file from your post and it worked just fine but ever since half of my apps close right after i open them including browsers i tried to re-install them but nothing , the weird thing is they all work just fine when i turn off wi-fi and data connection
please, reply . thank you
Where should i find system/font ? I only see .system (starts with dot character)
Hi all,
I finally managed to root!!! yey.
BUT
Can't see any "system" folder in my phone root folder, only one named ".system" but not any folder inside
Can you guide me to locate or create the font folder?
Thanks in advanced
Israel
did not work for me
I extracted the zip file to my computer and then created font folder under system in my K3 and copied all 74 files to this folder.
It did not help.
What did I do wrong?
Thanks
Eli
can't create folder
just copy all this fonts to system --> font[/QUOTE]
hi
i can't create te foldet to put the fonts
(the phone is rooted )
worked perfect.
download the zip file from an earlier post, take the 2 .tff files that include the word 'Hebrew' in them.
copy these 2 files to your system storage somewhere you'll remember.
now use a file browser on your device to access the Root 'System' folder (i just used Root Explorer) and copy the 2 files from the location and paste them into System/Fonts. (YES, of course you have to be rooted to do this)
change the permission to rw-r--r-- like all the other files.
reboot.
Hebrew is great in the system now.
can't find the fonts
I've tried doing what is written here to no avail.
I have rooted my phone and copied a hebrew.ttf file into the system\font and it is not working.
The file referred to earlier isn't available. Is there a specific font that works?
itzikd1 said:
i have a problem with my lenovo k3 note i just bought , in hebrew it shows text like this:
in picture title is ok but the content is just weired box's, same happens in feedly app...
i assume this is a font issu with mtk 6752 cpu, any idea how to add them?
thanks
https://lh3.googleusercontent.com/-...s1600/Screenshot_2015-05-12-13-19-12-628.jpeg
Click to expand...
Click to collapse
root your phone and then use xposed installer. it has a module for hebrew font.

I messed up/deleted my platform.xml file, Help! i need the file! (G900a)

Preferably the g900a 4.4.2 version of it, just to be safe?
After messing up the file, i deleted it because i thought it would automatically regenerate (i know, i know...) when i restarted, everything crashed, so i couldnt do anything with the phone... after doing a factory reset that did nothing, i tried reflashing with Odin, it did reflash, but the issue was still there (upon restart every background app crashes and crashes), I used Odin to only reflash the "AP" file... so maybe i have to update a different one? anyway...
I finally fixed it with a platform.xml file that was "reinstalled" as a .zip via recovery... I used the one in this link: http://forum.xda-developers.com/showthread.php?t=2607215
Now the only issue that im apparently having is that i cant use the Fingerprint reader (which worked flawlessly before my screw up) So im guessing it was affected by the "fix"...
Im guessing replacing the file would fix this :/ maybe
This one also has the sdcard permissions added. You could probably swap it with the other platform file in the zip and just reflash it. There are several ways to add that file to the system/etc/permissions folder, but will crash your phone again if done incorrectly. Also, the platform file that you used was for the S4, which does not have a fingerprint scanner, which would explain why yours do not work now.
shortydoggg said:
This one also has the sdcard permissions added. You could probably swap it with the other platform file in the zip and just reflash it. There are several ways to add that file to the system/etc/permissions folder, but will crash your phone again if done incorrectly. Also, the platform file that you used was for the S4, which does not have a fingerprint scanner, which would explain why yours do not work now.
Click to expand...
Click to collapse
Thanks thats what i thought about the fingerprint scanner !
I replaced the platform.xml file in the .zip and updated via recovery, but sadly the fingerprint scanner still doesnt work...
I try the *#0*# and says version: null
badillin said:
Thanks thats what i thought about the fingerprint scanner !
I replaced the platform.xml file in the .zip and updated via recovery, but sadly the fingerprint scanner still doesnt work...
I try the *#0*# and says version: null
Click to expand...
Click to collapse
Yea, the only sure way to fix that is to backup your user apps and data, call logs and messages with Titanium, along with your storage to a computer with a file explorer, and flash the downgrade to NCE file (or the AP, CSC, and maybe CP files files for the NCE downgrade). It'll wipe the phone, but it will fix everything. Or, you'll just be without a fingerprint scanner.
I made a similar error with the same platform.xml file. Seems once it's broke, it's not fixable without reflashing.

GameTurbo, VideoToolbox, Context Menu in Launcher and Special Features

Here are modules that enable most important missing features to all Garden devices except Cattail.
All this modules are created by me. My username on 4PDA is redmi9c
Security 6.0.2: (GameTurbo with Voice Changer, VideoToolbox, Sidebar, Power Slider for battery, Night Charge, Battery Health)
MiuiHome 4.26: (Full Context Menu with Split Screen and Floating Windows, Recommend option in Recents enabled for China ROM as well, and Max Grid increased to 6x8)
Settings: (Special Features section, option to set Split Screen on hotkey and Navigation Line)
Delete long name folder inside "\data\system\package_cache\", uninstall Security and MiuiHome updates, than install modules and reboot phone.
Settings module is only for Miui 12.
Needed Magisk to install them.
If you want pictures I can post them but you can also find them on 4PDA forums.
Great work
Now my phone's feels me quite refreshing but why I am seeing this
After flashing settings module settings have been renamed to extend wifi coverage
How I can fix it
Delete long name folder inside "\data\system\package_cache\", than reboot phone. There is only one folder there, it has very long name consisted from numbers and letters and you need to delete it. There is only cache in there. When you delete it, restart will take a bit longer than usual so don't panic and let it boot normally.
Thanks this is perfect and gives my phone features from the flagships
I don't know how to find this folder.. please help me.. can give some screenshots please?
Heshan Dilhara said:
View attachment 5621371
I don't know how to find this folder.. please help me.. can give some screenshots please?
Click to expand...
Click to collapse
you need a root file manager.
Hello, I have MIUI 12.0.18 and modul Settings unlocked blocks me Options for developers (moznosti pre vyvojarov). It is bad. Why does doing it?
silveronux said:
Hello, I have MIUI 12.0.18 and modul Settings unlocked blocks me Options for developers (moznosti pre vyvojarov). It is bad. Why does doing it?
Click to expand...
Click to collapse
That's because Xiaomi started updating Settings.apk. You can enable it yourself. Locate Settings.apk in "system/product/priv-app/Settings/Settings.apk". Copy it to somewhere else. Download MT Manager app, and find where you copied Settings.apk with MT Manager. Click on it, then click View. After that click on Classes.dex then "Dex Editor Plus", then on OK. From there to Search than "Start New Search" and in "Text Field" type from example "angelica" that is Redmi 9C. It will find 2 files. There just change your phone codename to something different like (angelica to xangelica) or something in both files. Than just go back and it will ask you to save it. From there just click on moded apk to see if Signature value is "Verified failed" in red, that means that it is OK. From there just copy moded APK to "/data/adb/modules/Settings/system/product/priv-app/Settings/" and replace Settings.apk. Then reboot phone, and if you see some glitches delete that long name folder inside "/data/system/package_cache" and reboot. If you don't want to mess with this you could just disable Magisk module, delete that folder inside "/data/system/package_cache" and reboot, than change settings in "Developer options", and enable module again and delete that folder inside "/data/system/package_cache" again. If you mess it and get bootloop just in TWRP go to file manager and navigate to "/data/adb/modules/" and delete Settings folder and reboot and module will be removed.

Categories

Resources