Proximity sensor dims screen
#1
Hello Forum,

I had to change my screen and apparently lost the approximity sensor. Simultaneously I fired up Mobian on the internal storage.
When booting into it, the screen dims down after a couple seconds.

I would like to keep Mobian and found out that I have to disable the proximity sensor in the config files. Problem: I don't know how I can gain root access to the mounted phones storage (under Ubuntu).

Alternatively, I could also reinstall mobian having the proximity sensor disabled before. Unfortunately I also don't know how to do that.

If this is not mobian-specific enough, please let me know and I will delete the thread. Anyway, I would be very glad for any hint to solve this problem.
Thank you in advance
  Reply
#2
(07-24-2021, 10:51 AM)doidolinux Wrote: Hello Forum,

I had to change my screen and apparently lost the approximity sensor. Simultaneously I fired up Mobian on the internal storage.
When booting into it, the screen dims down after a couple seconds.

I would like to keep Mobian and found out that I have to disable the proximity sensor in the config files. Problem: I don't know how I can gain root access to the mounted phones storage (under Ubuntu).

Alternatively, I could also reinstall mobian having the proximity sensor disabled before. Unfortunately I also don't know how to do that.

If this is not mobian-specific enough, please let me know and I will delete the thread. Anyway, I would be very glad for any hint to solve this problem.
Thank you in advance

The best way to gain root access to the filesystem is to use ssh. This would allow you to use your desktop to access the phone's filesystem. You can also access the filesystem from a terminal app on your phone, using sudo to get root privileges.

If your not familiar with running ssh the Pine Wiki can help:

https://wiki.pine64.org/wiki/Guide:Conne...e_with_SSH
  Reply
#3
Replacement screens don't come with the rubber shroud that covers the sensor. If it is automatically dimming all the time, it is because the sensor is seeing it's reflection from the glass. Look for the little black rubber boot on your old screen and transfer it to your new screen.
  Reply
#4
Henry, Unfortunately, I cannot connect via ssh - it has been a fresh install and wireless could not be set up yet.

8bit, I must have lost it when I disassembled it (some time ago).
  Reply
#5
You can take it apart and cover the sensor with a tiny piece of black electrical tape. It is an infrared emitter/receiver pair. Just need to block the reflection from the glass bouncing back.
  Reply
#6
(07-24-2021, 12:37 PM)doidolinux Wrote: Henry, Unfortunately, I cannot connect via ssh - it has been a fresh install and wireless could not be set up yet.

8bit, I must have lost it when I disassembled it (some time ago).

PM me your shipping address, I will send one rubber gasket to you using normal mail.
  Reply
#7
@tllim 

Thanks! I just sent a pm.

This is then solved, although changing the config settings (disabling the prox. sensor) without any access (no wifi nor eth = no ssh, basically just usb mount) would have interested me as a beginner.
However, I am impressed by the pragmatic effort taken by Pine.

Thanks
  Reply
#8
(08-08-2021, 03:14 AM)doidolinux Wrote: @tllim 

Thanks! I just sent a pm.

This is then solved, although changing the config settings (disabling the prox. sensor) without any access (no wifi nor eth = no ssh, basically just usb mount) would have interested me as a beginner.
However, I am impressed by the pragmatic effort taken by Pine.

Thanks

If you installed the OS in the internal storage, you could use Jumpdrive to mount your phone's storage on your computer. If the OS is on an SD card, it's as easy as sticking your SD card in your card reader. Then you will have access to your phone's root partition (and everything else) and you can edit whatever you want. Files owned by root on your phone can be edited just like files owned by root on your computer (i. e. use sudo).
  Reply
#9
(08-08-2021, 03:14 AM)doidolinux Wrote: @tllim 

Thanks! I just sent a pm.

This is then solved, although changing the config settings (disabling the prox. sensor) without any access (no wifi nor eth = no ssh, basically just usb mount) would have interested me as a beginner.
However, I am impressed by the pragmatic effort taken by Pine.

Thanks

Just send out today using regular mail from California.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Proximity sensor is oversensitive (was "Screen blanks when making call") treebeard 6 4,476 08-05-2024, 06:12 AM
Last Post: baptx
  Screen auto-rotation sensitivity mdk 0 918 12-26-2023, 06:08 AM
Last Post: mdk
  Screen stay black unless power key pressed short freelectro 0 940 06-24-2023, 01:55 PM
Last Post: freelectro
  Unsuspend → Black screen mdk 15 8,113 06-22-2023, 11:20 AM
Last Post: Melechtna
  Lock screen question: always squeekboard tuxcall 1 1,616 02-02-2023, 08:51 PM
Last Post: Haibara23
  [solved] Black screen at boot time mdk 0 1,291 01-13-2023, 03:33 AM
Last Post: mdk
  how to split screen? andrew907 2 2,187 08-08-2022, 09:38 AM
Last Post: andrew907
  on screen keyboard woes vusra 1 1,646 07-18-2022, 03:29 AM
Last Post: vusra
  Giving certain audio apps priority on the lock screen and pulldown 3x5co 0 1,132 07-17-2022, 10:34 AM
Last Post: 3x5co
  Won't boot, black screen mdk 4 3,727 07-03-2022, 06:38 PM
Last Post: Chief

Forum Jump:


Users browsing this thread: 1 Guest(s)