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

    metty

    @metty

    4
    Reputation
    7
    Profile views
    22
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    metty Unfollow Follow

    Best posts made by metty

    • RE: Creating Apps, ADB: No devices attached

      @applee Works fine with ssh, except that I have to put my passphrase maybe 20 times.. 👽
      So if someone has an idea how to do it with cable, would simpler. I know I could skip the passphrase forever, but this is not what I want 😲
      What I am asking myself: adb is android debug bridge, so on a phone without android, can there be a adb?

      posted in App Development
      M
      metty
    • RE: Delete a calenendar

      @gy0im Thanks that did the trick.. I did not know what I was deleting actually, and by mistake I also deleted my phone book. But nothing I can restore, so everything great!

      posted in Support
      M
      metty
    • How to add new programs to apt

      Hello all!
      I am not the super programmer but would like to try. I tried

      sudo apt install pass
      

      and got:

      E: Unable to locate package pass
      

      Since the program is pass opensource, it should not be very complicated to compile it for ubuntu-touch and add it to the repo. However, I have never done this before. How can I proceed?

      Or do I just need to add a repo? Maybe someone has already done this?

      posted in Support
      M
      metty
    • RE: How to add new programs to apt

      @stanwood Thanks... It's a pity that this is exactly the kind of thing I find so cool about Linux. That you have a packet manager, and the programs can use each other.
      Is a program via the Openstore also accessible in the console?
      So is there an other way to install for example pass on my device?

      posted in Support
      M
      metty

    Latest posts made by metty

    • Caldav and Carddav sync background process

      I was able to set up my carddav and caldav accounts like this:
      https://docs.ubports.com/en/latest/userguide/advanceduse/dav.html

      And I was able to delete wrong configurations like this:
      https://forums.ubports.com/topic/7092/delete-a-calenendar/5?_=1643577988544

      Unfortunately, I noticed that changes were not uploaded. If I understand correctly, this is what cron would be for.

      Shouldn't these lines in the script dav.sh be the ones responsible for this? Is there something wrong with it?

      How does that work properly?

      #Add Sync Cronjob
      sudo mount / -o remount,rw
      COMMAND_LINE="export DISPLAY=:0.0 && export DBUS_SESSION_BUS_ADDRESS=$(ps -u phablet e | grep -Eo 'dbus-daemon.*address=unix:abstract=/tmp/dbus-[A-Za-z0-9]{10}' | tail -c35) && /usr/bin/syncevolution $CALENDAR_CONFIG_NAME && /usr/bin/syncevolution $CONTACTS_CONFIG_NAME"
      sudo echo "$COMMAND_LINE" > /sbin/sogosync
      sudo chmod +x /sbin/sogosync
      
      CRON_LINE="@$CRON_FREQUENCY /sbin/sogosync"
      (crontab -u phablet -r;) # only if no other cronjob already exist in the crontab
      (crontab -u phablet -l; echo "$CRON_LINE" ) | crontab -u phablet -
      sudo mount / -o remount,ro
      sudo service cron restart
      
      posted in Support
      M
      metty
    • RE: How to add new programs to apt

      @metty
      I haven't gotten that far, and I'm not yet able to use my passwords with Unix Pass on my Ubuntu Touch device, which currently forces me to always have two phones with me.

      Is there something I am doing wrong? I was able to initialize the program with pass, but I can't generate and save passwords. Its generating one but the list remains empty. Among many 'libtls-padding.so' errors.

      @stanwood You write: It is strongly not recommended to use apt to install software. (as it won't work and may brick your device)
      But back to the main topic. How do I do it? Even if it may brick my device. Better than no device. That would be the case if a such a simple thing like pass do not work on a ubuntu-phone.

      posted in Support
      M
      metty
    • RE: Creating Apps, ADB: No devices attached

      @nero355 @arubislander
      Thank you! Developer mode was on. (Might be a bit hidden in my original post). So in "normal case" the phone should become visible for adb as soon as developermode is active.

      posted in App Development
      M
      metty
    • RE: Creating Apps, ADB: No devices attached

      @applee Works fine with ssh, except that I have to put my passphrase maybe 20 times.. 👽
      So if someone has an idea how to do it with cable, would simpler. I know I could skip the passphrase forever, but this is not what I want 😲
      What I am asking myself: adb is android debug bridge, so on a phone without android, can there be a adb?

      posted in App Development
      M
      metty
    • RE: Creating Apps, ADB: No devices attached

      @applee The cable should be correct.. I could also mount the files on ubuntu. Ok, I will try with ssh, which is configured. But I thought the cable should be faster. If there is a way with cable, I would prefer it.

      posted in App Development
      M
      metty
    • RE: Creating Apps, ADB: No devices attached

      @moem Its a volla phone x

      posted in App Development
      M
      metty
    • Creating Apps, ADB: No devices attached

      I was following the instructions here.

      After creating my first app (called testytest) i run:

      cd testytest/
      clickable
      

      and got the message at the end:

      Cannot access device.
      ADB: No devices attached
      SSH: no IP address specified (--ssh)
      

      Developer mode was on.

      adb devices
      

      Gave me no result. I have just an Ubuntu-Touch an no Android system on my phone. So is there adb available? Do I have to install it somehow? Or activate?

      posted in App Development
      M
      metty
    • RE: How to add new programs to apt

      @stanwood What I did is now:

      #!/bin/bash
      # create the container:
      libertine-container-manager create -i pcapps -n pcapps
      # install pass
      libertine-container-manager install-package -p pass
      

      I copyed also all my encrypted passwords to /home/phablet/.password-store
      Then executed:

      libertine-launch -i pcapps pass
      

      Now I got the following:

      ERROR: ld.so: object 'libtls-padding.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
      ERROR: ld.so: object 'libtls-padding.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
      : DISPLAY environment variable not set!
      ERROR: ld.so: object 'libtls-padding.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
      Error: password store is empty. Try "pass init".
      

      Also I tried to copy the passwords to:

      ~/.cache/libertine-container/pcapps/rootfs/home/
      

      No success.. Where do I have to copy them? 👽 Or in other words: Where is the home which sees the program in the container?

      posted in Support
      M
      metty
    • RE: How to add new programs to apt

      @totalsonic Thanks steve! I will try that.

      posted in Support
      M
      metty
    • RE: How to add new programs to apt

      @stanwood Thanks... It's a pity that this is exactly the kind of thing I find so cool about Linux. That you have a packet manager, and the programs can use each other.
      Is a program via the Openstore also accessible in the console?
      So is there an other way to install for example pass on my device?

      posted in Support
      M
      metty