UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. RaphAstronome
    R
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 8
    • Groups 0

    RaphAstronome

    @RaphAstronome

    0
    Reputation
    15
    Profile views
    8
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    RaphAstronome Unfollow Follow

    Latest posts made by RaphAstronome

    • RE: Messages in syslog when inactive

      @lakotaubp The problem occurs even after a reboot so the RAM is almost free.

      Concerning the storage memory the phone was recently reset to defaults so "/userdata" is almost free too. The partitions "/android/system" and "/" are most used but it is the readonly partitions.

      Returns of "free" and "df" commands here : https://bin.infini.fr/?b9534cc1de260140#B3TQy97u2GQB8hsC5YnHAbACfN7EvUbMzHD5NN3RaJpd

      posted in Support
      R
      RaphAstronome
    • RE: Messages in syslog when inactive

      I make other tests and the problem seems happens only if WiFi or mobile data are enabled.

      Results of the tests :

      • Disabling both solve (or considerably reduce) the problem.
      • With WiFi but no mobile data the problem occurs always.
      • With mobile data but no WiFi the problem generally occurs (one of my tests show the problem solved but others don't).

      So it should be linked with Internet connection. By disabling it I can use the phone but it is annoying. Do you have any clue or idea to investigate more ?

      Also is it possible to modify the title for this topic "Phone is unable to suspect when WiFi or mobile data is active" ?

      posted in Support
      R
      RaphAstronome
    • RE: Messages in syslog when inactive

      Ok, I will use pastebin.

      I investigated more and the bug occurs when two conditions are met together :

      • the phone is inactive (screen off)
      • the phone is not connected to charger

      I tried with bluetooth or GPS activated but it doesn't make change. I have reset the phone to factory defaults but is don't change anything meaning it is probably not a problem with any special configuration.

      Also I have collected the messages just at the beginning of the trouble :
      https://bin.infini.fr/?pasteid=f372d0ad39f322d5&deletetoken=b4c39d749cc28aa37e6eb48aedadae127a981dc978cd7c679b2e0ff73941a27c

      I particularly noted "PM: Some devices failed to suspend". I search for this but I got only infos for PC computers where generally associated with a problem with a USB peripheral (but nothing is connected except internally) or ACPI but it seems to be on computer only (no /proc/acpi).

      Thanks,

      posted in Support
      R
      RaphAstronome
    • RE: Messages in syslog when inactive

      For messages :
      https://bin.infini.fr/?043f3094cfb370a0#2CSF1nPFzJK65TWKerSyvNrAYE35z9kQVhKBzhpRp6fb
      (you antispam wrongly detects spam in the log)

      The mobile data and Wi-Fi are enabled. Bluetooth and positioning are disabled. Presence or absence of a MicroSD don't change anything.

      posted in Support
      R
      RaphAstronome
    • Messages in syslog when inactive

      Hello all,

      I have some trouble since OTA-19 update on a bq Aquarius E4.5. When the phone is inactive and not charging the syslog is constantly (or nearly constantly) logging messages.

      Block bad card => is the memory having problem ? The phone is old but it is unlikely this appeared just after an update and it is strange this happens only on inactive time.

      Logging continuously drain the battery.

      I try on the "Candidate" version (I was on "stable") but I get the same problem.

      Thanks,

      posted in Support
      R
      RaphAstronome
    • Huge syslog flood on wifi tethering deactivation

      Hello,

      Thanks for your work on ubPorts. I detected a problem with the WiFi tethering. The /var/log/syslog is flooded with huge amount of this lines :

      Feb 20 11:17:02 ubuntu-phablet kernel: [164989.724292]*********wlanP2P_early_suspend************
      Feb 20 11:17:02 ubuntu-phablet kernel: [164989.724300]*********p2pEarlySuspend************
      Feb 20 11:17:02 ubuntu-phablet kernel: [164989.724307]ip is not avaliable.
      

      The time of first line seems to corresponds to the time of deactivation of tethering. The amount of messages is absolutely crazy (about 50000 ~ 60000 lines a second !) and the storage memory saturate in minutes. I noticed some lines are incomplete.

      Then saturated the phone become nearly unusable. Particularly it is impossible to open the "console" app to correct this problem however SSH daemon works and "sudo" too and I was able to delete this huge file (after making backup on my PC to read it). Note : after deleting the syslog don't forget to reboot to close the file's inode and free the storage.

      My phone is a bq Aquarius E4.5 Ubuntu Edition. The network then using tethering was not very good but works. The duration and amount of data exchanged with tethering on this session was very low (~10 minutes and <1 MBytes).

      Thanks for ubPorts.

      posted in Support
      R
      RaphAstronome
    • RE: PNG vulnerability

      @dobey said in PNG vulnerability:

      Unless Google releases an update for older Android (4.4, 5.1)

      Ok, this will never happens 😞 .

      I tried to rename it but not possible because readonly FS :

      phablet@ubuntu-phablet:/$ sudo -s
      [sudo] password for phablet: 
      root@ubuntu-phablet:/# cd
      root@ubuntu-phablet:~# mv /android/system/lib/libskia.so /android/system/lib/libskia.so.avoid
      mv: cannot move '/android/system/lib/libskia.so' to '/android/system/lib/libskia.so.avoid': Read-only file system
      root@ubuntu-phablet:~# mv /var/lib/lxc/android/rootfs/system/lib/libskia.so /var/lib/lxc/android/rootfs/system/lib/libskia.so.avoid
      mv: cannot move '/var/lib/lxc/android/rootfs/system/lib/libskia.so' to '/var/lib/lxc/android/rootfs/system/lib/libskia.so.avoid': Read-only file system
      

      A way to remove it ?

      Thanks,

      posted in Support
      R
      RaphAstronome
    • PNG vulnerability

      Hi,

      On Android a important security hole was be found making PNG dangerous to read (https://thehackernews.com/2019/02/hack-android-with-image.html).
      The vulnerable lib seems to be skia (function SkPngCodec).

      This lib is present on ubPorts according presence of this files are present :
      /var/lib/lxc/android/rootfs/system/lib/libskia.so
      /android/system/lib/libskia.so

      Is it possible to secure it ?
      Is disabling "Enable MMS message" option in Message app avoid risk of beeing hacked with MMS ?

      Thanks for promoting (really) free OS.

      posted in Support
      R
      RaphAstronome