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
  remove lock screen unrealb2 0 35 Yesterday, 12:42 AM
Last Post: unrealb2
  No notifications on lock screen DrPlamsa 16 166 08-21-2021, 05:35 AM
Last Post: bcnaz
  Keyboard stopped working on disk encryption screen on Mobian after update cowsay 2 327 08-16-2021, 08:31 AM
Last Post: Zebulon Walton
  receive a blank screen after expanding SD on first boot ~Daniel~ 1 306 07-02-2021, 08:24 PM
Last Post: ~Daniel~
  sms app is outside of screen cant send sms right now.. quick fix? temp0rary 2 489 06-02-2021, 02:12 PM
Last Post: temp0rary
  vivaldi only uses half the screen for website display motox6 0 380 05-22-2021, 03:49 PM
Last Post: motox6
  Default SMS app send button off screen in vertical orientation motox6 0 316 05-22-2021, 02:55 PM
Last Post: motox6
  Mobian screen won't wake reliably. StridAst 5 1,244 05-05-2021, 12:07 PM
Last Post: motox6
  Anbox apps listed in the launch screen mark1250 1 776 03-17-2021, 02:23 PM
Last Post: tvall
  OpenTTD game - Error: no usable screen resolutions found. eugenr 2 779 03-15-2021, 11:16 AM
Last Post: eugenr

Forum Jump:


Users browsing this thread: 1 Guest(s)