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
  Disable on screen keyboard permanently. grump_fiddle_reinstall 9 1,370 03-02-2022, 07:47 AM
Last Post: johns
  lost settings icon from screen kubussz 3 560 02-17-2022, 09:26 AM
Last Post: beretta
  Screen/display gets switched on by itself / Phone wakes up from suspend Anna 5 1,017 01-04-2022, 01:24 PM
Last Post: pothos
  Screen now turning off (and on) after a few seconds 3x5co 3 956 10-24-2021, 09:27 AM
Last Post: 3x5co
  Sizing apps to fit to screen county93 4 1,335 10-23-2021, 11:36 PM
Last Post: bcnaz
  GDM3 Receiving call on login screen d-.-b 4 1,281 10-07-2021, 06:59 PM
Last Post: d-.-b
  remove lock screen unrealb2 0 523 09-18-2021, 12:42 AM
Last Post: unrealb2
  No notifications on lock screen DrPlamsa 16 1,421 08-21-2021, 05:35 AM
Last Post: bcnaz
  Keyboard stopped working on disk encryption screen on Mobian after update cowsay 2 1,162 08-16-2021, 08:31 AM
Last Post: Zebulon Walton
  receive a blank screen after expanding SD on first boot ~Daniel~ 1 908 07-02-2021, 08:24 PM
Last Post: ~Daniel~

Forum Jump:


Users browsing this thread: 1 Guest(s)