UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. uri
    U
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 19
    • Groups 0

    uri

    @uri

    7
    Reputation
    296
    Profile views
    19
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    uri Unfollow Follow

    Best posts made by uri

    • bandwidth counter for mobile data connection

      Hello,
      I have a small bandwidth mobile phone contract so I need to control my usage of bandwith.
      I use vnstat (https://humdi.net/vnstat/)
      It is not sophisticated but it works.

      Example of result:

      phablet@ubuntu-phablet:~/Scripts$ ./consum.sh

                        rx      /      tx      /     total    /   estimated    
      

      ccmni0:
      jul '18 2,08 MiB / 289 KiB / 2,36 MiB / 0 KiB
      yesterday 0 KiB / 0 KiB / 0 KiB
      today 0 KiB / 0 KiB / 0 KiB / --

      I haven't found no ubuntu repo with vnstat compiled for our platform so I get it from debian.

      Here I get the version of debian depending on my version of ubuntu:

      https://askubuntu.com/questions/445487/what-debian-version-are-the-different-ubuntu-versions-based-on

      So I'll download for version 15:
      https://packages.debian.org/jessie/vnstat

      And for version 16 (Sorry Haven't tried it, still on 15!!!) should be
      https://packages.debian.org/stretch/vnstat

      Next I need to check my arquitecture so I open a console on my phone and

      dpkg --print-architecture
      In my case the answer is
      armf ( vegeta)
      So I download the correct version

      http://ftp.de.debian.org/debian/pool/main/v/vnstat/vnstat_1.12-2_armhf.deb for ubuntu 15.

      In order to dpkg a file the filesystem needs to be on read write mode.

      mount /dev/loop0 / -o remount,rw

      sudo dpkg <filename>

      My root filesystem is on readOnly mode most of the time. Vnstat needs to keep info and It can't be on base filesystem.

      I Edit the /etc/vnstat.conf and put the database dir inside the home.

      DatabaseDir "/home/phablet/.vnstat"
      and reboot the phone (I don't know if this is mandatory ).

      create dir /home/phablet/.vnstat

      First I need to tell vnstat to control the ccmni0 connection.

      vnstat —create -i ccmni0

      finally I have a script with this instructions:
      sudo vnstat -u
      sudo vnstat -i ccmni0 -d -s

      The first one updates vnstat internal counters and the next one gives the already shown result.

      PS: Feel free to move this post where it should be if it's not in the rigth place.
      Feel free to correct, change or update anything.
      Thanks to all active people that are making UBPORTS REAL.
      Salut!

      posted in OS
      U
      uri
    • Hammerhead vs VegetaHd

      Hello,
      I've recently changed from a vegetaHd to a refurbished Aliexpress Hammerhead.
      I've noticed some differences between them and I would like to now your opinion.

      Battery consumption:
      After 3 years using the vegetaHd battery still lasts 1 day. Hammerhead lasts less than 1 day. Is there any way to get the health info of the battery? May I change the HammerHead's 2013 battery? How muchs does you Hammerhead batt last?

      I've noticed more bandwidth usage on Hammerhead than Vegeta. Same list of apps on both phones. Any clue?

      Bluetooth: Both phones don't work on parrot ck3100 or mki9000 with phonecalls. I haven't tried music streaming on mki9000.
      Phonecalls doesn't work connected to a bluetooth speaker (Muzilli), but music streaming works well. Any luck making hammerhead work with bluetooth?

      And last. Video playback of my own videos taken with hammerhead, are not played. "The video format is not compatible".

      Any hints?
      Opinions?
      Thanks

      posted in Support
      U
      uri
    • RE: Garmin smart watch sync wit Ubuntu Touch

      Have you tried gols on desktop ? Garmin on linux sucks...
      https://medium.com/@euri10/gols-garmin-on-linux-sucks-f1f065f7529a
      It can upload activities and daily monitor, no download.

      Possibles issues:
      You have to mount your watch on the phone (I don't know how to)/send fit files over bluetooth (I'm stil trying to pair the phone with my car )...
      I'm pretty sure ubports can run python scripts ( as gols is)...
      Once you solve the issues you are done qith tracking info.
      But, I don't know nothing about notifications.

      Salut!

      posted in General
      U
      uri
    • RE: High CPU usage by kworker

      @bolly Same thing here.
      I noticed also high time+ usage of Unity8.

      posted in OS
      U
      uri
    • Port to bq aquaris e5 hd ub ed.

      Hello,
      I have a bq aquaris e5, and I wonder if I'll be able to upgrade to the new versions of touch once you release them.
      If not, what is needed in order to change it?

      I have no idea of mobile platforms so if anybody can point me to some tutorial/ info... Thanks.

      posted in General bq e5 hd
      U
      uri

    Latest posts made by uri

    • RE: pixel 3a OTA 23 video recording. file not viewable

      SOLVED!!!!.
      Just rebooted the phone.
      Easy....

      @fredldotme

      posted in Google Pixel 3a/3a XL
      U
      uri
    • pixel 3a OTA 23 video recording. file not viewable

      Hello,
      I've updated the 3a to OTA 23 recently.
      I have problems recording video. The result is not viewable on multimedia reproducer, nor even on an ubuntu 20 desktop. Tried to watch it on vlc, totem... No way.
      The properties show
      Codec: H264 (constrained baseline profile.)
      Frames per second N/A.
      Lenght: 24 hours ( the video is about 2 minuts long).
      No audio channels.
      I just wonder if it just my phone or if it is a general bug.
      Thanks in advance.
      Uri

      posted in Google Pixel 3a/3a XL
      U
      uri
    • RE: High CPU usage by kworker

      I have uninstalled some apps. DEKKO included... We'll see.

      posted in OS
      U
      uri
    • RE: High CPU usage by kworker

      @bolly Same thing here.
      I noticed also high time+ usage of Unity8.

      posted in OS
      U
      uri
    • RE: Garmin smart watch sync wit Ubuntu Touch

      Have you tried gols on desktop ? Garmin on linux sucks...
      https://medium.com/@euri10/gols-garmin-on-linux-sucks-f1f065f7529a
      It can upload activities and daily monitor, no download.

      Possibles issues:
      You have to mount your watch on the phone (I don't know how to)/send fit files over bluetooth (I'm stil trying to pair the phone with my car )...
      I'm pretty sure ubports can run python scripts ( as gols is)...
      Once you solve the issues you are done qith tracking info.
      But, I don't know nothing about notifications.

      Salut!

      posted in General
      U
      uri
    • Hammerhead vs VegetaHd

      Hello,
      I've recently changed from a vegetaHd to a refurbished Aliexpress Hammerhead.
      I've noticed some differences between them and I would like to now your opinion.

      Battery consumption:
      After 3 years using the vegetaHd battery still lasts 1 day. Hammerhead lasts less than 1 day. Is there any way to get the health info of the battery? May I change the HammerHead's 2013 battery? How muchs does you Hammerhead batt last?

      I've noticed more bandwidth usage on Hammerhead than Vegeta. Same list of apps on both phones. Any clue?

      Bluetooth: Both phones don't work on parrot ck3100 or mki9000 with phonecalls. I haven't tried music streaming on mki9000.
      Phonecalls doesn't work connected to a bluetooth speaker (Muzilli), but music streaming works well. Any luck making hammerhead work with bluetooth?

      And last. Video playback of my own videos taken with hammerhead, are not played. "The video format is not compatible".

      Any hints?
      Opinions?
      Thanks

      posted in Support
      U
      uri
    • RE: Nextcloud accounts and Invalid url host

      Thanks@lebanal .
      I'll take a look.

      posted in Support
      U
      uri
    • RE: bandwidth counter for mobile data connection

      An update on vnstat on Nexus 5:
      instead of ccmni0 the network interface is rmnet0.
      The easiest way to get it is getting the list of ifconfig network interfaces and start guessing.
      Salut!

      posted in OS
      U
      uri
    • RE: Nextcloud accounts and Invalid url host

      Thanks I had a problem on my httpd config. The fullchain was not correct at all.
      BTW, the only thing that syncs is the calendar?
      I've been able to sync also contacts by using syncevolution( on my old bq), but I was not planning to use it anymore...
      Any hint?
      Thanks.

      posted in Support
      U
      uri
    • RE: Nextcloud accounts and Invalid url host

      This is it. now I have to guess whats wrong.
      Thanks.

      posted in Support
      U
      uri