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

Posts

Recent Best Controversial
  • 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
    30 Jan 2022, 21:29
  • 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
    23 Dec 2021, 22:50
  • 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
    17 Dec 2021, 17:55
  • 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
    14 Dec 2021, 16:41
  • 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
    14 Dec 2021, 10:37
  • RE: Creating Apps, ADB: No devices attached

    @moem Its a volla phone x

    posted in App Development
    M
    metty
    13 Dec 2021, 19:45
  • 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
    13 Dec 2021, 19:42
  • 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
    13 Dec 2021, 18:13
  • RE: How to add new programs to apt

    @totalsonic Thanks steve! I will try that.

    posted in Support
    M
    metty
    11 Dec 2021, 14:23
  • 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
    10 Dec 2021, 17:18
  • 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
    10 Dec 2021, 17:07
  • 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
    10 Dec 2021, 17:01
  • Delete a calenendar

    So far I tried to install caldav and carddav on ubuntu touch without success.
    I tried like this:
    https://docs.ubports.com/en/latest/userguide/advanceduse/dav.html

    But now the question:

    I have now 2 calendars in my list (duomimocal), which I cannot use. How can I delete them?

    screenshot20211207_225750691.png

    posted in Support
    M
    metty
    7 Dec 2021, 22:08
  • RE: How to install Ubuntu Touch on LG G6

    @guf Hmm... I tried to write everything above what I did. Doesn't the Halium script copy the data to the partition? Do I need another command in between?
    Something like

    fastboot flash datapart system.img
    fastboot flash datapart rootfs.img
    

    You can probably see my lack of knowledge in context. That's why it's difficult for me to successfully install UT from the forum. I can learn a lot from manuals.

    posted in LG G6
    M
    metty
    13 Jul 2021, 10:59
  • RE: How to install Ubuntu Touch on LG G6

    @metty Without knowing exactly what I did: I did the same as here , from @franky32: Uncomment the Line with

    [ -f "$IMAGE_DIR/system.img" ] && sudo resize2fs -p -M "$IMAGE_DIR/system.img"
    

    from core.sh in the "function-folder".

    The halium-install-script finishes sucessfully, also the fastboot-flash with halium-boot-bluetooth. But the phone fails to boot.
    If there are some ideas what to do here, would be happy :beaming_face_with_smiling_eyes:

    posted in LG G6
    M
    metty
    6 Jul 2021, 17:59
  • RE: Stuck at "Long swipe from the left edge to open the Application Drawer"

    @keneda Oh, words are always so ambiguous :beaming_face_with_smiling_eyes: Without Cover: 2021-07-01 21.38.36.jpg

    With Cover:
    2021-07-01 21.39.06.jpg

    The scratch is also visible...

    posted in Support
    M
    metty
    1 Jul 2021, 19:48
  • RE: Stuck at "Long swipe from the left edge to open the Application Drawer"

    @keneda Back again: I replaced the display with another fair-phone which had a broken electronic, but a display who was still fine. Still without cover I was able to swipe. Now I do not know, if it really was the display or the fact, that the cover border may influence the display sensor a little bit. So my problem with the "long swipe" seems to be solved. Thanks to everyone who helps improving ubuntu touch!

    posted in Support
    M
    metty
    1 Jul 2021, 17:24
  • RE: Stuck at "Long swipe from the left edge to open the Application Drawer"

    @keneda hmm.. so not the scratch. I thougt the Fairphone2 is for sure a phone were many peoble would have had and solved the same problem. But actually this ist the only forum I found with information about this problem.
    Is there a way tho access the rootfs through usb?

    posted in Support
    M
    metty
    30 Jun 2021, 19:58
  • RE: Stuck at "Long swipe from the left edge to open the Application Drawer"

    Hello everybody

    This is still an old post, but I got the same problem here with a fairphone 2. The display has a small scratch, so in my case it could be a hardware issue. But still the display is working fine with android. Is there a way to avoid this introduction or message? It seems, that i have no access to the file system (or I don't know howto). Also Locking, wait a few minutes an unlocking again did not help. Also reboot has no effect. Would be nice to have some "skip-Button" for future releases. A pity that this function blocks my phone now.

    posted in Support
    M
    metty
    30 Jun 2021, 14:12
  • RE: How to install Ubuntu Touch on LG G6

    @guf Thanks for resuming, that helps me a lot! And also thanks for your contribution on ubuntu-touch! Sorry for the late reaction: did not saw, that someone was answering. I have to check my Notification-Settings here.

    So my starting point was, a LG-G6 without any system but twrp still runnig.

    1. So I started the phone into bootloader, and connected the computer
    2. Downloaded the halium install script from: https://gitlab.com/JBBgameich/halium-install/
    3. Downloaded the OS from here: https://drive.google.com/file/d/1BtVYvabN0nK1bR-7Hv8kBC-CIcN-B8Rc/view?usp=sharing
    4. Downloaded the Halium reference rootfs from here: https://ci.ubports.com/job/xenial-hybris-edge-rootfs-arm64/lastSuccessfulBuild/artifact/out/ubuntu-touch-hybris-xenial-edge-arm64-rootfs.tar.gz
    5. Executed: ./halium-install -v -p ut ~/Downloads/ubuntu-touch-hybris-xenial-edge-arm64-rootfs.tar.gz ../system-20200326.img

    I got:

    simg2img not found in $PATH
    make sure you have all dependencies installed.
    dependencies: qemu-utils binfmt-support qemu-user-static e2fsprogs sudo simg2img binutils
    

    So i did:

    sudo apt install qemu-utils binfmt-support qemu-user-static e2fsprogs sudo simg2img binutils
    

    After this I got:

    Scanning inode table          resize2fs: No space left on device while trying to resize .halium-install-imgs.OKVWa/system.img
    Please run 'e2fsck -fy .halium-install-imgs.OKVWa/system.img' to fix the filesystem
    after the aborted resize operation.
    I: Cleaning up
    * daemon not running; starting now at tcp:5037
    * daemon started successfully
    error: no devices/emulators found
    

    fastboot devices gives me:

    LGH870ed0cffee  fastboot
    

    What can I do to avoid this error?

    posted in LG G6
    M
    metty
    24 Jun 2021, 18:03