So basicly at first, it was TOTALLY broken. It was stuck on landscape mode if i enabled autorotation. And in settings>display>calibration it just wouldnt move.
So then i deleted the file “ms3c_yamaha.cfg“ in data/system (with SU file manager in the market) and then rerun yamaha with QtADB ( entered the code below in shell)
Code:
su
/system/bin/sensorcalibutil_yamaha
I thought this fixed it, but playing asphalt5 for example doesnt work.
And when i go to settings>display>calibration; i can only use the top half, it just doesnt go passed the middle half below!
Any ideas anyone? I also tried clearing dalvik cache after it but it doesnt help.
Wow nvm, after doing this about 5 times, it finally works. Dunno what went wrong.
soulzero said:
Wow nvm, after doing this about 5 times, it finally works. Dunno what went wrong.
Click to expand...
Click to collapse
Is it possible to do this with 2.3.3 FW? could you post the '/system/bin/sensorcalibutil_yamaha'?
Related
hi guys my auto rotate function got disabled when I was flashing cyan new recovery image and I don't know how to fix it I tried the directions on his thread and I guess I just don't understand them. I am on cyan 3.6.8.1. can someone explain in layman's terms how to fix it? thanks and have a great day!
Check your settings. In settings-->sound+display, on the bottom see if orientation is checked
it is checked. no rotation.
gtrplr71 said:
it is checked. no rotation.
Click to expand...
Click to collapse
Accelerometer might be broken. Try playing papijump.
what is papijump?
gtrplr71 said:
what is papijump?
Click to expand...
Click to collapse
A game lol. Search it on the market. It tests if your accelerometer is working. If the little red guy won't move no matter how much you turn the phone the you know the accelerometer is broken or that there is a software problem.
Its not broken. Go to crayogens Rom the stable ones thread and in the faq on the 1st paste there is a command u enter in the terminal to fix the auto rotate I ran into this problem a few times myself and it was easily fixed be the script
pistol4413 said:
Its not broken. Go to crayogens Rom the stable ones thread and in the faq on the 1st paste there is a command u enter in the terminal to fix the auto rotate I ran into this problem a few times myself and it was easily fixed be the script
Click to expand...
Click to collapse
Could be heres the script
20. My auto-rotate/accelerometer isn't working!
Not really the fault of the ROM, but here's how to fix it: Go into recovery, drop to console, "mount /data", then "rm /data/misc/akmd* /data/misc/rild*" and reboot.
solved thanks guys
how did you guys fix this because the commands did not work for me and i have tried numerous times
If the commands don't work u might wanna wipe and reflash. I say just make sure the feature is on, then try the script again and if all fails the wipe and reflash. I hate to wipe myself so try to avoid it. Try the script in the terminal in recovery then reboot and try in terminal in rom itself and reboot.
Ever since I switched from JF 1.51 to rooted TMO 1.6, my SU app has been broken. It just hangs while staying black and eventually force closes. As you can imagine, this is a big hassle because I can't give any apps permission.
Does anyone have a solution? Thanks.
hettbeans said:
Ever since I switched from JF 1.51 to rooted TMO 1.6, my SU app has been broken. It just hangs while staying black and eventually force closes. As you can imagine, this is a big hassle because I can't give any apps permission.
Does anyone have a solution? Thanks.
Click to expand...
Click to collapse
Are you sure you didn't load the wrong rom and you lost root?
supremeteam256 said:
Are you sure you didn't load the wrong rom and you lost root?
Click to expand...
Click to collapse
Uhh, yeah. I have root, all the apps id already given permission to still work. Its new ones that do not.
Have you tried to push su back or run enable superuser to see if that will help?
supremeteam256 said:
Have you tried to push su back or run enable superuser to see if that will help?
Click to expand...
Click to collapse
I don't know what either of those means. If you could provide some instructions (terminal commands, etc) that would be great.
Thanks in advance.
Try this first.
Code:
turn on your phone by holding the home+end(power) key
press alt+x to enter the recovery console and then press enter when it asks you
next type:
mount data
rm /data/data/com.koushikdutta.superuser/databases/superuser.sqlite
if you have the problem where it says this file does not exist, type:
rm /data/data/koushikdutta.superuser/databases/superuser.sqlite
Alright, I will try that in a little while when I am at a computer. Thanks
hettbeans said:
Alright, I will try that in a little while when I am at a computer. Thanks
Click to expand...
Click to collapse
Also in the mean time you can try the superuser whitelist in the market to see if that will work.
Hey, formatting my SD card seems to have fixed it, but thanks for the help.
no problem
I have the latest cyanogen rom. The apps were working fine before when I had first installed the rom the first time. I tried to install the flash player mod and it just froze the launcher so I had to wipe and reinstall a fresh cyanogen rom and now I am getting most of my apps telling me to force close them.
This didn't work for me but I had a different issue completely, but I read elsewhere that it may fix the chain force-closes. So download this file, then in a terminal emulator run:
su
sh /sdcard/fix_permissions.sh
See if this helps.
is there a location I am to put the file to all I am getting is sh: can't open /sdcard/fix_permissions.sh sorry I am kinda new to all this so please bare with me and ty for the fast reply/ help.
ok wierd it's fixed now all I did was reboot the phone and everything is working now
slvr69tiger said:
ok wierd it's fixed now all I did was reboot the phone and everything is working now
Click to expand...
Click to collapse
I'm guessing this is your first Android phone, so let that be a lesson to you... when you have any issues, the first thing to do is reboot. If they still persist, it's time to do a full wipe and reflash.
I always thought that digital compass of our galaxy s wasn't very accurate. Yesterday I've tried to compose *#0*#, go to "Sensor" and... WHAT!?!?! "Need for calibration 2". I thought it was a problem of my phone, so I tried with another GS, and got the same result. I've also tried to calibrate it with many compass apps, but nothing... Anyone knows the solution?
Wave your phone for some time in 8-figur moves.
Xacky said:
Wave your phone for some time in 8-figur moves.
Click to expand...
Click to collapse
I've tried with no results... On two different Galaxy S
rotate your phone..
factory
what about factory reset?
EDIT 1:
Update: quick method
delete ms3c_yamaha.cfg located in /data/system/
and if there is a backup file delete it too
then plug your phone to pc or just use terminal emulator (Device must be rooted)
write following:
adb shell
su
/system/bin/sensorcalibutil_yamaha
hit Enter
wait for finish then rebooot phone and all works like a charm!
Can anyone post video of proper compas calibration?
statistic said:
what about factory reset?
EDIT 1:
Update: quick method
delete ms3c_yamaha.cfg located in /data/system/
and if there is a backup file delete it too
then plug your phone to pc or just use terminal emulator (Device must be rooted)
write following:
adb shell
su
/system/bin/sensorcalibutil_yamaha
hit Enter
wait for finish then rebooot phone and all works like a charm!
Click to expand...
Click to collapse
I've found that simply deleting ms3c_yamaha.cfg located in /data/system/
does the trick. Then *#0*# shows that everything is working OK...
Facing the same problem but..
facing the same problem but I don't see ms3c_yamaha.cfg in my /data/system. I'm using Galnet MIUI. Does it have a different file system?
waving my phone in a large "8" does calibrate my phone for a while...but after sometime it starts showing wacky directions again...
Runing GingerReal and averything works just fine....
mahatasin said:
waving my phone in a large "8" does calibrate my phone for a while...but after sometime it starts showing wacky directions again...
Click to expand...
Click to collapse
I have i9003 & face the same problem on my phone, I have to calibrate every time before using the GPS or compass.
I9000 with CM9 (ice cream sandwich)
statistic said:
what about factory reset?
EDIT 1:
Update: quick method
delete ms3c_yamaha.cfg located in /data/system/
and if there is a backup file delete it too
then plug your phone to pc or just use terminal emulator (Device must be rooted)
write following:
adb shell
su
/system/bin/sensorcalibutil_yamaha
hit Enter
wait for finish then rebooot phone and all works like a charm!
Click to expand...
Click to collapse
Seems like Icecream sandwich does not have this files at that location... does anyone know what should be done for cayonogemod 9 or icecream sandwich?
Hello,
I have been using XZ for two years now with no problems and started flashing about a year ago.
Now, my first problem came when I wanted to connect my phone with a bluetooth headset. It works fine until I turned off the screen and placed it into my pocket. After investigating the possible issues, it seems to come from the proximity sensor.
First tried to install another ROM, as maybe the error came from there but it was to no use.
Then I tried dialing *#*#757....... the sensor will be off, if I block it, it will say on, but when I unblock it it stilll says "on".
So I went to try to turn off the proximity sensor completely, as every apk i tried didn't fix the error.
The other fix I found was an Xposed framework.
I followed the instructions of installing ExistenZ_Y but when I tried to flash the ROM it said "can't mount /system" and had to go through recovery to flash a stock ROM. The problem is that even now, when I enter TWRP and try to flash the xposed-v78-sdk22-arm it still says it can't mount the system. I tried going to the terminal and typing "mount -o rw,remount /system" but to no avail, it won't mount the system as rw.
So here I come, after searching every thread I could find, to know if someone could help me in any way.
Many thanks in advance
Ash.VIII said:
Hello,
I have been using XZ for two years now with no problems and started flashing about a year ago.
Now, my first problem came when I wanted to connect my phone with a bluetooth headset. It works fine until I turned off the screen and placed it into my pocket. After investigating the possible issues, it seems to come from the proximity sensor.
First tried to install another ROM, as maybe the error came from there but it was to no use.
Then I tried dialing *#*#757....... the sensor will be off, if I block it, it will say on, but when I unblock it it stilll says "on".
So I went to try to turn off the proximity sensor completely, as every apk i tried didn't fix the error.
The other fix I found was an Xposed framework.
I followed the instructions of installing ExistenZ_Y but when I tried to flash the ROM it said "can't mount /system" and had to go through recovery to flash a stock ROM. The problem is that even now, when I enter TWRP and try to flash the xposed-v78-sdk22-arm it still says it can't mount the system. I tried going to the terminal and typing "mount -o rw,remount /system" but to no avail, it won't mount the system as rw.
So here I come, after searching every thread I could find, to know if someone could help me in any way.
Many thanks in advance
Click to expand...
Click to collapse
add the line:
gsm.proximity.enable=false
to the end of the file build.prop located in /system, reboot, and the sensor will be disabled.
Pyramid Head said:
add the line:
gsm.proximity.enable=false
to the end of the file build.prop located in /system, reboot, and the sensor will be disabled.
Click to expand...
Click to collapse
I am trying to disable the proximity sensor by editing the build.prop file as suggested but with no luck. Is there any other solution? I am using RRemix Rom v5.8.2
akisg said:
I am trying to disable the proximity sensor by editing the build.prop file as suggested but with no luck. Is there any other solution? I am using RRemix Rom v5.8.2
Click to expand...
Click to collapse
As far as my knowledge goes no there isnt... Maybe with an app but i dont know
PS: Damnnnn thats an old post
Pyramid Head said:
As far as my knowledge goes no there isnt... Maybe with an app but i dont know
PS: Damnnnn thats an old post
Click to expand...
Click to collapse
Tried some that use light sensor (which is working) instead of proximity sensor but still no luck...
How hard can it be to disable one sensor?
PS: I know, found it during a forum search so no need to open a new one
akisg said:
Tried some that use light sensor (which is working) instead of proximity sensor but still no luck...
How hard can it be to disable one sensor?
PS: I know, found it during a forum search so no need to open a new one
Click to expand...
Click to collapse
Dont know man, are you sure you entered the command exactly as i wrote?
If yes try to find the command inside the build prop on your own and edit the true part to false
eg: gsm.proximity.enable=true --> gsm.proximity.enable=false
Pyramid Head said:
Dont know man, are you sure you entered the command exactly as i wrote?
Click to expand...
Click to collapse
Yes, i added this "gsm.proximity.enable=false"
without quotes at the end of build.prop file. Is that a universal command or xperia z specific ?
akisg said:
Yes, i added this "gsm.proximity.enable=false"
without quotes at the end of build.prop file. Is that a universal command or xperia z specific ?
Click to expand...
Click to collapse
i havent tried it on another phone but it must be universal
Pyramid Head said:
i havent tried it on another phone but it must be universal
Click to expand...
Click to collapse
maybe it's not applicable in nougat? thanks for the help btw, i'll keep searching for a solution
akisg said:
I am trying to disable the proximity sensor by editing the build.prop file as suggested but with no luck. Is there any other solution? I am using RRemix Rom v5.8.2
Click to expand...
Click to collapse
That is also the only way I found. The easiest way is to go through adb. You go 'adb pull /system/build.prop' modify it on your computer then go 'adb push build.prop /system/'. It worked for me. It didn't solve every problem but sure did help a lot!
If that does not work, maybe it isn't your proximity sensor? I know there are apps that can "write" the info that your proximity sensor info is either 0 or 1 (or in between), but that didn't work for me, maybe with you it will
What rom are you using? I edited build.prop file from phone and saved successfully. I tried some apps but no luck. I wonder if that command maybe is different in nougat roms