[Q] CM7.1 Proximity - screen stays off after call - Nexus One Q&A, Help & Troubleshooting

Hey everyone,
My proximity sensor & light sensor are both broken (repair shop said the cable needed changing), and thats fine with me.
I used to run MIUI and i just disabled the use of proximity sensor and autobacklight and everything worked ok.
I tried CM7.1 yesterday, and I really like it more than MIUI, but the issue im having is that most of the time, when I get or make a call (even if the phone is in my hand) the screen turns off immediately and refuses to wake up again, I have to pull the battery.
Any ideas on how to fix? thanks

you need disable it, try this, i solve problem by this method

THANK YOU
Thank you very very very very much! it worked like a charm!

what exatly did you do from that post that resolved your problem???did you copy the files on from uksusoff in the mentioned folder???

gjergjisel said:
what exatly did you do from that post that resolved your problem???did you copy the files on from uksusoff in the mentioned folder???
Click to expand...
Click to collapse
try put this file (unzip first!) to /data/local/ it must be work in CM7 or maybe lower...
Click to expand...
Click to collapse
read this post

do you adb push the file in data\local ? or is there some other way
Thnx in advance

gjergjisel said:
do you adb push the file in data\local ? or is there some other way
Thnx in advance
Click to expand...
Click to collapse
If you have s-off can use any filemanager with rw to system, if s-on you need load custom recovery and mount system then load adb shell and using cp command copy this files from SD to system

sorry for the noob question but what is s-off,,i have an unlocked neus one with cm7

gjergjisel said:
sorry for the noob question but what is s-off,,i have an unlocked neus one with cm7
Click to expand...
Click to collapse
most likely you have s-on, use adb shell with recovery

sorry to bother again,,can anyone tell me how and where should i put this file,,i mean to data/local but how using what commands in adb,,or what do i neeed to mount if u use clockwork,,,thnx thnx thnx i am really greatfull and sorry for the bother again

look in phone specific thread how to get access to system and search simple linux commands, like copy, remove etc

Thanks man i did the thing using droid explorer as an app and workis fine ,,the only thing i notice up to now is the loss of the ability to put widgets i ownload from market in louncher , ,,
Thnx again

Related

The superb SuperHero Mass (wifi problem)

Hi all,
I installed the SuperHero V3 Mas in my G2 (magic 32b) and it run so good and faster than all of others roms that I have tried. The problem that is the wifi cant turn on (it's normal this rom is made for G1).
Someone can help me to solve this problem and make this rom able to all G2 users.
The trick is to get and push the working wlan.ko (I think its in the sperhero 3 thread already) now why don't you tell me the trick you did to make this the fastest so I can try it
try pulling the wlan.ko file from a magic rom and pushing it through adb to /system/lib/modules, and im guessing its the fastest because he might have the magic that has the 288mb ram instead of 192, so virtually identical to the hero.
thank you for your response, I will try this right now
Thas is not work
failed to copy 'wlan.ko' to '/system/lib/modules/wlan.ko': Read-only file system
I tried to change file access using chmod and I go this message:
failed to copy 'wlan.ko' to '/system/lib/modules/wlan.ko': Read-only file system
please help
Ps: adbd is already running as root
co2gaz said:
Thas is not work
failed to copy 'wlan.ko' to '/system/lib/modules/wlan.ko': Read-only file system
I tried to change file access using chmod and I go this message:
failed to copy 'wlan.ko' to '/system/lib/modules/wlan.ko': Read-only file system
please help
Ps: adbd is already running as root
Click to expand...
Click to collapse
Try "adb remount" to mount /system as writeable.
Thank you for this information.
I tried it. the copy work OK, but the wifi problem steel here
I should have been more clear because pulling the file from any Rom isn't how you go about it. It has to match the kernel you are on and often even be further modified to the build. I think I heard either the wlan from superhero2 or the one from an earlier jachero worked. I just forget what one. Give me some time ill upload it. I had fixed and re-released this build.
Edit: Wlan.ko attatched. Belongs in system/lib/modiules
I thank you so math for your help,
I putted the file in my phone and i restart it, but wifi steel not work
Hi, I tried with JCAHero and it's same, very great rom, run so good on my magic G2, but the wifi not work
co2gaz said:
I thank you so math for your help,
I putted the file in my phone and i restart it, but wifi steel not work
Click to expand...
Click to collapse
Use the one I posted in this thread. I edited the post above ya. It should work then.
Thank you, I putted the new wlan.ko on my phone. now it seems better but it not work, now when I want to start wifi it show wifi is turning on during 4 or 5 sec, after that it show unable to start wifi.
if it was some link to explain how I can modify wlan.ko, maybe I can do some things (I'm java developer and I think it's native kernel file)

[Q] No SIM-card found

Hey all!
So my problem is that my SGS can't find any SIM cards...
First of all i got 2.1 android and then i updated to 2.2 version:I9000NEJP2
After that it seemed that my SGS was really slow, so i decided to use CFW.
I installed Darky's v.8.0
Everything worked fine, was really fast.
The next step was to unlock the simlock. First i tried SGS Unlock freeware.
I watched some vids and read some threads and the most of em said or wrote that this app worked fine. I tried it but the app couldn't find any codes on the phone.
After that i decided to try the PC version. I downloaded "Generate Unlock Windows" but this doesn't work for me too. No keys were shown in the box -.- .
So i tried it sometimes, and the result was, that i couldn't use my SGS any more.
Can't find the sim. I tried several times, nothing worked.
Then i downgraded my fw to I900XXJP2 once more, but useless...
does anybode have an unfreeze code, or does anybody know how i could solve that prob?
maybe unlock-code?
and if yes, where could i get this the best way?
Simlock is [3; Austria]
IMEI (still the original one): 354795/04/228598/8
thanks for any kind of help
maybe i'll sound a little bit nooby, but i'm new in that forum and also a new android user
thx
This may or may not solve your problem but some people have found that their SIM card seems to stop working after they have changed their product code. The fix for this is to run the following commands from ADB (you need to be rooted with SU installed):
- adb shell
- su
- busybox chown 1001:1001 /efs/nv_data.bin
- reboot
Or if you have a Terminal Emulator on your phone you can do the following:
-su
-chown 1001:1001 /efs/nv_data.bin
-reboot
AFAIK it can't do any harm running this file ownership command on nv_data.bin even is it isn't the cause of thr problem so give it a try, I hope it helps!
so first of all i got to tell u, that i've never used ADB before, and i do not know what that is and how i can start that
i started to google it but after reading several pages i'm do not know more...
could you pls tell me how i can start and type that?
and also where i can find it?
thx
didnt work
I tried the one with the terminal emulator..
did everything like u wrote, reboot...
nothing happened
seems that i ruined something -.-
maybe an other idea how i could solve that prob?
additional information: i got a little simcard symbol at the top of the screen and next to it there is a callsign
try nav_data.bin copy to your pc and run sgux from cmd or post it here
can't find the efs folder on my phone, where should i look for the file?...
Alex Varga said:
can't find the efs folder on my phone, where should i look for the file?...
Click to expand...
Click to collapse
in market download super manager also install busybox if you don't have
run super manager>settings>select busybox file
then select /system/xbin/busybox
and select enable ROOT function
after that run file explorer in super manager and go back till first folder isn't acct and 2nd cache folder; now scroll to efs and copy nv_data.bin to sdcard
after that you can unclick enable root function in settings of user manager
00.ante said:
in market download super manager
Click to expand...
Click to collapse
Ok i searched with astro for it and i looked for it manually.
Astro couldn't find it and i also saw that there isn't anything in the efs folder.
So now i got a problem, right?^^
Alex Varga said:
Ok i searched with astro for it and i looked for it manually.
Astro couldn't find it and i also saw that there isn't anything in the efs folder.
So now i got a problem, right?^^
Click to expand...
Click to collapse
I wrote before with astro but then remembered that astro doesn't have root rights so I've edited text if you want copy complete efs folder and post it here.
One more question did you ty another sim card?
00.ante said:
in market download super manager also install busybox if you don't have
run super manager>settings>select busybox file
then select /system/xbin/busybox
and select enable ROOT function
after that run file explorer in super manager and go back till first folder isn't acct and 2nd cache folder; now scroll to efs and copy nv_data.bin to sdcard
after that you can unclick enable root function in settings of user manager
Click to expand...
Click to collapse
ok i copied it to my card, and now i have the file...
i don't know what u mean with that cmd action, but here is my file...
http://www.megaupload.com/?d=TLWMXQ23
when you enter this code *#7465625# is it only first option (I think it's Network lock; nos sure) ON and rest is OFF? also keep your orginal nv_data.bin on pc
00.ante said:
when you enter this code *#7465625# is it on first ON and rest is OFF? also keep your orginal nv_data.bin on pc
Click to expand...
Click to collapse
So the first is ON, the rest is OFF...
What does this mean?
And i think the file isnt the same as it was when the phone got out of the factory...
I dumba** didn't make a backup befor i started workin' on it...
Alex Varga said:
So the first is ON, the rest is OFF...
What does this mean?
And i think the file isnt the same as it was when the phone got out of the factory...
I dumba** didn't make a backup befor i started workin' on it...
Click to expand...
Click to collapse
So for ON is network lock which is good.
Ok you keep your orginal nv_data file on pc and copy these files to your efs folder with super manager. Then reboot phone and post back does sim work now.
00.ante said:
So for ON is network lock which is good.
Ok you keep your orginal nv_data file on pc and copy these files to your efs folder with super manager. Then reboot phone and post back does sim work now.
Click to expand...
Click to collapse
no, it doesn't...
the same problem
so what could i do now?
I found that thread, but i don't know what i have to put in there.
Do you know a side where i could find the codes for other countries?
Or what things i shall do too.
This guy wrote that he tried it at 2.1 and i have 2.2.
Could that be a prob?
thx for ur help
when you enter code from post before what does it say on first option? is it on or off now
00.ante said:
when you enter code from post before what does it say on first option? is it on or off now
Click to expand...
Click to collapse
I tried it, used the code and somehow there didn't appear OFF or ON.
Nothing is standing there.
What does this mean?
Alex Varga said:
I tried it, used the code and somehow there didn't appear OFF or ON.
Nothing is standing there.
What does this mean?
Click to expand...
Click to collapse
Not sure but try this. delete files I send you in elf folder and copy these 2 files from zip and then reboot phone and see with code is network lock on or off and if it doesn't work then delete files from elf folder (ones I send you) and copy orginal nv_data.bin back; then reboot phone and with code see network unlock
and please post back for all situations. Also try booting phone without any sim in it and then with sim
when enter code if no locks are there then it should be everything like in picture
Alex Varga said:
I tried it, used the code and somehow there didn't appear OFF or ON.
Nothing is standing there.
What does this mean?
Click to expand...
Click to collapse
OK this is last shot. If nothing worked before try these 2 files from zip on phone and post back; and before coping them delete old ones and also can you post your nv.log from efs folder?
Tried everyone of your solutions and in every case i could NOT see the [ON] or [OFF].
It seems like it disappeard. Only space left, no symbols, nothing.
And the card can't be found too.
ups sorry forgot to attach 2 files. If this doesn't work I don't know what will. then put back orginal file in efs folder.
Also if you know someone who has also sgs still locked to your network copy his files here (complete efs folder)
all files I posted are modified and worked without problem on my sgs. Also please post nv.log from you efs folder here

[Q] Deleted LG-home, no backup.. now what?

First post! So hello,
I made a big screwup. First i rooted my lg-p990, next i deleted lg-home using Titatium Free. I did not backup my file. Also i never installed a new homescreen.
When finishing this action, the phone didnt respond anymore. Now it wont restart. It is still possible to connect to pc and view sd cards. Also it will restart bringing the installation sequence, but when finishing it, the phone stops responding again.
I realise i havent been very smart. But does anybody have a solution?
Im guessing you will have to push the apk through adb.... but as i have limited knowledge on this i would wait until someone more experienced gives you help!
Moonie17 said:
Im guessing you will have to push the apk through adb.... but as i have limited knowledge on this i would wait until someone more experienced gives you help!
Click to expand...
Click to collapse
thanks for your reply. I heard about this before, but dont have they faintest clue about how to deal with it.. I hope sombody can help me out
goaner33 said:
thanks for your reply. I heard about this before, but dont have they faintest clue about how to deal with it.. I hope sombody can help me out
Click to expand...
Click to collapse
Short answer for you:
1) Download my attachement
2) Rename it from .zip to .apk
3) Put in adb folder
4) Run:
adb remount
adb push LGLauncher.apk /system/app/
adb reboot
doesn't pushing apks to system/app require root? Correct me if I'm wrong
aMpeX said:
doesn't pushing apks to system/app require root? Correct me if I'm wrong
Click to expand...
Click to collapse
Yes it does, as well as removing /system apps
Piter1225 said:
Short answer for you:
1) Download my attachement
2) Rename it from .zip to .apk
3) Put in adb folder
4) Run:
adb remount
adb push LGLauncher.apk /system/app/
adb reboot
Click to expand...
Click to collapse
Thanks again for your reply.
My next problem is that i dont know how to operate adb. I've got android sdk installed, but cant find how to work with adb.. What to do?
-edit-
I did some more research, and i cant use the commandline to acces :\android-sdk-windows\tool. This path doesn excist. Neither am i sure if USB-debugging is activated on the phone. I cannot acces the phones menu, so i cannot check..
what to do....
goaner33 said:
Thanks again for your reply.
My next problem is that i dont know how to operate adb. I've got android sdk installed, but cant find how to work with adb.. What to do?
Click to expand...
Click to collapse
You need to use command line to enter the lines I've written
Piter1225 said:
You need to use command line to enter the lines I've written
Click to expand...
Click to collapse
There are a few problems:
First is that there is no adb map to be found. Second is that when i for example enter the command "adb remount" my system doesnt recognise the command..
Thanks for your efforts though
Well. You rooted the phone. So usb debugging is enabled. It has to be for super one click to work.
Sent from my LG-P990 using XDA Premium App
Try that
Go to C:/Windows/System32
Copy cmd.exe
Paste it in SDK folder, where the ADB.exe is
Than enter my commands
gensplejs said:
Well. You rooted the phone. So usb debugging is enabled. It has to be for super one click to work.
Sent from my LG-P990 using XDA Premium App
Click to expand...
Click to collapse
And what when i... and i dont know this for sure, turned usb debugging off...
goaner33 said:
There are a few problems:
First is that there is no adb map to be found. Second is that when i for example enter the command "adb remount" my system doesnt recognise the command..
Thanks for your efforts though
Click to expand...
Click to collapse
"adb remount" wont work untill we have a modded boot image.
anyway. I can help you remotely if you want. just write me a PM.
gensplejs said:
"adb remount" wont work untill we have a modded boot image.
anyway. I can help you remotely if you want. just write me a PM.
Click to expand...
Click to collapse
Dam... my bomgar server seems to be down... or i locked myself out :-(
But i can help you remotely tomorrow.
gensplejs said:
Dam... my bomgar server seems to be down... or i locked myself out :-(
But i can help you remotely tomorrow.
Click to expand...
Click to collapse
Wow, that would be great! i'll pm you for my contactinfo!
Piter1225 said:
Try that
Go to C:/Windows/System32
Copy cmd.exe
Paste it in SDK folder, where the ADB.exe is
Than enter my commands
Click to expand...
Click to collapse
Okee, i must sound liek a real noob. I cannot find this SDK folder and the only file that i can find that relates to adb is adb_usb.exe..
i know that i am a real pain in the ass
If you manage to get a working adb connection the commands you need to execute are. Please make sure that the phone is unlocked when typing su (you will get a su access prompt on the phone and need to press allow)
adb push LGLauncher.apk /sdcard/
adb shell
su
busybox mount -o,remount -rw /system
stop
cp /sdcard/LGLauncher.apk /system/app/
reboot
problem solve
E-mail download link of the LGhomeLaunger.apk
Download on you phone and install.
It works as new!
Ok i solved the problem, thanks for thinking along with me..
It seemed i could still recieve emails, so i just sent the lghome.apk as a downloadlink true email..
it worked!
i guess sometimes solutions are not always as dificult!
goaner33 said:
Ok i solved the problem, thanks for thinking along with me..
It seemed i could still recieve emails, so i just sent the lghome.apk as a downloadlink true email..
it worked!
i guess sometimes solutions are not always as dificult!
Click to expand...
Click to collapse
well...
that is not a permanent fix.
when you install that way it is only installed in user space... If you ever factory reset the phone you will be stuck without a launcher again... and probably no way to config ur email :-(
you need to put the launcher apk file on your sd card... and then copy it to the /system/app folder using root explorer.
If you do this it will be fixed even after a factory reset...
anyway. Next time just freez apps. Dont uninstall them. If they are only frozen you can allways factory reset to get them back.

[SOLVED] emmc and sdcard problems...

soo, i flashed a new rom, after rebooting i realised that my internad sd card is missing
i could find it in mnt/emmc but the phone wasnt using it at all...
long story short i checked some forums and i found out you can edit the vold.fstab and get it working... Now theres another problem, my vold.fstab is Read only ( few failed atempts to change it)
i found another solution which included terminal emulator- this one worked like a charm BUT i have to retype and unmount-mount that everytime i reboot my phone ... i personally find it silly
sooooo is there any other solutions, or some guide how to change the premission on my vold.fstab so i can edit it? or am i forced to buy a SDcard
Everything on /system is read only by default.
'adb remount' will sort that.
Rusty! said:
Everything on /system is read only by default.
'adb remount' will sort that.
Click to expand...
Click to collapse
So how do you remount? Sorry, im new to this stuff
adb remount is a command sent from your PC to the phone. I figured if you were messing about with system files you'd have an idea what you're up to
To make it all simple, get Root Explorer, that has a nice R/W button that you tap, make your changes and tap it again to go back to R/O
Rusty! said:
adb remount is a command sent from your PC to the phone. I figured if you were messing about with system files you'd have an idea what you're up to
To make it all simple, get Root Explorer, that has a nice R/W button that you tap, make your changes and tap it again to go back to R/O
Click to expand...
Click to collapse
THANKS it worked with the root explorer!
Hey man i've been facing the same problem...I've figured out that i'd have to edit the Vold.FSTAB ....But can you plz tell me wat u edited exactly in it that made it working again ??

[LOGCAT] Can't set any secure screen lock

I was using a ROM with Android 8.1 but after returning to the NovaOS (Nougat) ROM whenever I try to add any secure lock screen method (PIN / Pattern / Pass) the settings application force closure. After trying to set Pattern method the settings app just force close, but after trying to set PIN/Pass method it actually set the pin but also force close and I cannot try again to set others methods because it ask for the pin and keeps closing.
This happens in any TW or Stock based ROM. But in AOSP/LineageOS ROMs works normally.
Things I already have tried:
* Full wipe
* Reinstall at least 5 different ROMs
* Installing ROMs with and without root/gapps
* Format /system and /data
* Encrypt and decrypt phone/Microsd card.
* Changing Kernel
* "Fix contexts" in TWRP
* Smash the phone to a wall
I do not know what I can do to solve this problem, I don't want to use my phone without a secure lock/fingerprint or use Oreo ROMs, can someone help me?
Maybe try flash stock firmware using odin first and then try other roms.
Even after flashing Stock Rom through Odin the problem persists, omg...
Tried flashing Stock and doing full wipe after too but no sucess...
I think some protected/secure partition are messed up, because I noticed now my wifi password are not being saved after a reboot too, and after I flashed Stock Rom via Odin and phone reboots to Stock Recovery to finish the process, at this point I get a error in recovery like "cannot find /misc partition", I dont know if this is normal or not.
Here is more detailed logs from adb logcat, honestly I'm starting to get afraid of this not being possible to solve, please guys, I need help, there so much experts and experienced people here, you are my last hope
AeonGV_ said:
Even after flashing Stock Rom through Odin the problem persists, omg...
Tried flashing Stock and doing full wipe after too but no sucess...
I think some protected/secure partition are messed up, because I noticed now my wifi password are not being saved after a reboot too, and after I flashed Stock Rom via Odin and phone reboots to Stock Recovery to finish the process, at this point I get a error in recovery like "cannot find /misc partition", I dont know if this is normal or not.
Here is more detailed logs from adb logcat, honestly I'm starting to get afraid of this not being possible to solve, please guys, I need help, there so much experts and experienced people here, you are my last hope
Click to expand...
Click to collapse
Did u change permissions of efs folder in root directory?
Give full permissions to efs folder
MarkTejo said:
Did u change permissions of efs folder in root directory?
Give full permissions to efs folder
Click to expand...
Click to collapse
Dude, you saved me, I already had lost my hopes , the directory you mentioned was really missing permissions, I just did what you said and the problem was solved, I really wanted to be able to retribute what you did for me, I'm very grateful to you, thank you bro, you're awesome!!!
AeonGV_ said:
Dude, you saved me, I already had lost my hopes , the directory you mentioned was really missing permissions, I just did what you said and the problem was solved, I really wanted to be able to retribute what you did for me, I'm very grateful to you, thank you bro, you're awesome!!!
Click to expand...
Click to collapse
Your welcome bro
Thanks alot
MarkTejo said:
Did u change permissions of efs folder in root directory?
Give full permissions to efs folder
Click to expand...
Click to collapse
Man u just saved me..... thak you so so so much.... you are the best....
Thanks to mark Good job!
AeonGV_ said:
Dude, you saved me, I already had lost my hopes , the directory you mentioned was really missing permissions, I just did what you said and the problem was solved, I really wanted to be able to retribute what you did for me, I'm very grateful to you, thank you bro, you're awesome!!!
Click to expand...
Click to collapse
Hi guys,
I have the same problem and I have not been able to give the permissions to the efs folder, I'm using root eplorer and giving rw permissions.
The efs folder handles these 0771 permissions and I try to change it to 0775 but when restarting the phone the changes are not applied.
please help:crying:
Same issue here, is it possible to make the change persistent through reboots? I can't set screen locks :/
MarkTejo said:
Did u change permissions of efs folder in root directory?
Give full permissions to efs folder
Click to expand...
Click to collapse
galaxy note 9(n960n) problem solved, thanks!

Categories

Resources