UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. doniks
    D
    Offline
    • Profile
    • Following 7
    • Followers 3
    • Topics 22
    • Posts 725
    • Groups 0

    doniks

    @doniks

    241
    Reputation
    1.5k
    Profile views
    725
    Posts
    3
    Followers
    7
    Following
    Joined
    Last Online
    Website gitlab.com/doniks

    doniks Unfollow Follow

    Best posts made by doniks

    • Dekko2 Developer Community Thread

      This is a place to coordinate developers working on dekko2. (It is not the place to discuss individual bugs)

      In the good old days we had dekko and it mostly worked ok. At some point a rewrite as dekko2 was deemed necessary. The rewrite was started but not completely finished. In addition the platform has moved on beneath dekko (xenial). Time has gone by and development rate of dekko has dropped.

      As of today, there is no working dekko for xenial UT.

      Over the last couple weeks I see here and there on various UT telegram channels messages pop up about various people trying to work on dekko. Some wrestling with the build system. Somewhere a test build showed up. Some critical bugs were mentioned (settings, system load). Workarounds and some fixes too. I think it's time to coordinate efforts. So we don't independently solve the same problems multiple times, but instead move forward faster.

      So all you dekko2 hackers, speak up below with whatever you do / did on dekko2. What you need help with.

      Let's make it happen!

      PS: This is not an attempt to hijack the project from the current maintainer @DanChapman . Personally, I think the best future for email on UT would be a Dan maintained dekko2 with a small community of developers cooperating. Dan seems to be on a hiatus right now. Let's see what the future brings.

      PPS: If you are not actively developing on dekko, then help us stay focussed by not going off topic here! Maybe you really want to encourage people to work on dekko. Or maybe you are very frustrated because you really need an email client. Well, yes, we know. We all are. Feel free to up (or down) vote posts. Or maybe you want to report an issue or suggest a feature. Then use the bug tracker. Or you just have a question. Then start a new thread or go here https://forums.ubports.com/topic/1750/dekko-0-1-6-beta2-released/1

      posted in App Development
      D
      doniks
    • Dekko 0.1.6-beta2 released

      It is our pleasure to announce the release of Dekko2 for Xenial

      You find it in the open-store on your device and at https://open-store.io/dekko2.dekkan

      Yes there are still bugs. We know, but it should definitely be good enough to allow you to read and write your emails from UT.

      Try it out and feel free to praise or curse us below. Let us know what you think.

      Bugtracker is over here: https://gitlab.com/dekkan/dekko/issues
      Source code: https://gitlab.com/dekkan/dekko
      Dev thread: https://forums.ubports.com/topic/1477/dekko2-developer-community-thread

      PS: Yes, patches are welcome 🙂

      posted in General
      D
      doniks
    • RE: OTA 3 suggestions: your wanted features

      Pick one (any) convergent user story and make it a perfect experience out of the box.

      For example: I receive an email from a coworker asking me to work on some spreadsheet. Dock phone and work desktop style, listening to music on my headphones. Realise I miss some info. Text another person with a question. Receive a phone call interupting me. Take the phone out of the dock and talk while I walk to the coffee shop. End the call and finish the spreadsheet on the phone/tablet interface in the coffee shop. Email the file back.

      All those features are kinda there, but there are a bunch of usability features that kill this (and similar) workflows. I would suggest you draft a story like this, then test it and prioritise any bugs you run into. Docking ain't reliable - fix this. Email app closes and interrupts my drafting when switching to browser /spreadsheet - fix that. Out of the box UI scaling for localc doesn't allow me to work efficiently on a tablet display - fix it.

      No need to make everything perfect, but pick one story and maybe one device and make that one really shine. If it ain't the "mobile office work" above it could be the visual artist - now you need to make sure that krita works perfectly on the tablet - does taht require better touch input in xmir well then this is your top prio feature. Or maybe its wayland on mir. The user is not gonna care as long as the workflow is awesome.

      Pick a story that is achievable, but sets ubports apart from ios/android. Getting krita to run is too hard - what about preparing, adjusting and giving a presentation from the phone including live pdf annotation xournal style.

      Make sure to produce a release video that shows off! Focus on the added value for the user instead of the technical feature of how you adjusted the dpi for Xmir or whatever.

      posted in OS
      D
      doniks
    • RE: The future of the UbuntuTouch Q&A

      Good question. I would hope that some form of regular live news/Q&A show could be maintained.

      Just my two cents: I think biweekly is too much. It becomes a big workload for the ppl doing it.

      Secondly, whoever might be taking it over - just take it easy. Don't put the bar too high. Dalton is leaving very big boots to fill. It's not necessary to push yourself to try to maintain the same professionalism /quality/frequency/setup... Maybe now is a good moment to go back and re-watch the early episodes as an inspiration what it looks like to start walking, before you get into the jumping up the stairs mode 😉

      posted in General
      D
      doniks
    • Porting Halium to Nexus 7 deb

      I'm trying to get Halium running on the Nexus 7 2013 gsm variant "deb".

      I've made a few steps already. Most notably: Plasma Mobile starts!

      I'm keeping (and updating while I progress) the summary below, so that:

      • I don't forget what steps I took
      • Others can help to improve this
      • Others can use this as inspiration for their ports

      Setup sources

      • Follow the Porting Guide for halium-7.1 here https://docs.halium.org
      • lineageos kernel sources: https://github.com/LineageOS/android_kernel_google_msm
      • my local_manifest: https://gist.github.com/doniks/7ee302c7792450761332d8f8712f29f6
      • binaries : https://developers.google.com/android/nexus/drivers MOB30X
      • my repo with all kernel changes: https://github.com/doniks/android_kernel_google_msm

      Kernel image

      config

      source build/envsetup.sh 
      add_lunch_combo lineage_deb-userdebug
      lunch lineage_deb-userdebug
      
      • kernel config: kernel/google/msm/arch/arm/configs/lineageos_flo_defconfig
      • Primary source to check for wrong configs: https://github.com/lbt/mer-kernel-check
      • my kernel config: https://gist.github.com/doniks/7406a87e5f15e1eab5a64aa90ad8f633
      • other config checkers for reference:
        • CONFIG=out/target/product/deb/obj/KERNEL_OBJ/.config lxc-checkconfig
        • https://github.com/janimo/phablet-porting-scripts/blob/master/kernel/check-config

      patches

      • https://gist.github.com/doniks/75d16dda43d241feb79b721bab6c4940

      • https://gist.github.com/doniks/44faf86a23f7467b80744f033fb08100

      • add cgroup_disable=memory to the HYBRIS_BOOTIMG_COMMANDLINE in halium/hybris-boot/Android.mk (this fixes some problem with systemd/cgroups, can't remember what exactly 😛 )

      common porting errors

      • Halium Porting Error Knowledge Base
        https://gist.github.com/doniks/2ac14a1bb6750165bf782f62139c8aab#file-gistfile1-txt-L61
      • Reference of older kernel versions http://elixir.free-electrons.com/linux/v2.6.39.4/source
      • [https://public.etherpad-mozilla.org/p/r.0aae797a3bd13b4cd923b82fe29a2f47](Sailfish HADK FAQ)

      test and debug

      • Follow steps here http://docs.halium.org/en/latest/porting/debug-build/
      • if you want to force init into telnet, add kernel parameter bootmode=debug:
      fastboot -c "$(abootimg -i hybris-boot.img | sed -ne '/cmdline/s/. cmdline . //p' ) bootmode=debug" boot hybris-boot.img
      

      Android image

      cd halium
      mka systemimage
      ls -l out/target/product/deb/system.img
      

      Rootfs

      Halium rootfs

      get it

      • https://docs.halium.org/en/latest/porting/install-build/reference-rootfs.html

      install it

      • to install the rootfs you need working adb. I use this twrp recovery: https://eu.dl.twrp.me/deb/twrp-3.0.2-0-deb.img.html (had some problems with 3.1.1-0)
      • boot into twrp recovery
      git clone https://github.com/Halium/halium-scripts
      ./halium-scripts/halium-install halium-rootfs-20170630-151006.tar.gz halium/out/target/product/deb/system.img 
      
      • The device should reboot and get to the point where it announces usb networking:
      lsusb -vd 0fce: | grep -i serial
        iSerial                 3 GNU/Linux Device on usb0 10.15.19.82
      
      • reboot into twrp recovery to set the root password
      adb shell
      cd /data
      mkdir mnt
      mount rootfs.img mnt/
      chroot mnt /bin/bash 
      export PATH=/sbin:/bin:/usr/sbin:/usr/bin:$PATH
      passwd
      

      connect to it

      • reboot the device and wait for usb networking to come up as above
      • configure usb network on your desktop in a similar way as above for telnet, but now for ssh
      sudo ip address add 10.15.19.1 dev enp0s20f0u7 
      sudo ip route add 10.15.19.82 dev enp0s20f0u7
      
      • login via ssh
      ssh root@10.15.19.82 
      
      • fix path variable
      echo $PATH
      /usr/bin:/bin
      export PATH=/usr/sbin:/sbin:$PATH
      echo 'export PATH=/usr/sbin:/sbin:$PATH' >> /root/.bashrc
      

      what works

      • test_lights makes the led breathe
      • EGL_PLATFORM=hwcomposer test_hwcomposer shows rotating spiral! I need echo 200 > /sys/class/leds/lcd-backlight/brightness to turn up the display brightness, so I can actually see the spiral 🙂
      • wifi: http://docs.halium.org/en/latest/porting/debug-build/wifi.html
      nmcli d # no wlan0
      echo 1 > /dev/wcnss_wlan 
      echo sta > /sys/module/wlan/parameters/fwpath 
      nmcli d # shows wlan0
      nmcli dev wifi # list wifis 
      nmcli dev wifi connect <SOMEOPENWIFI>
      # or
      # sudo nmcli device wifi connect <SOMEENCRYPTEDWIFI> password <PASSWORD>
      ping -c 2 8.8.8.8
      ping -c 2 debian.org
      # install some missing packages
      apt update
      apt install openssh-client bash-completion command-not-found binutils nano
      
      • buttons: evtest /dev/input/event5
      • touchscreen: evtest /dev/input/event0
      • adb:
        • TWRP
        • chroot into rootfs
        • systemctl enable adb
      • test_egl_config : https://gist.github.com/doniks/4e9ea8a8f5aaf1968c2e42846b5a9158

      what doesn't work

      • test_audio nothing to hear
      ACDB init open file failed
      [ACDB Init]->File is not found on the system
      [ACDB Init]->ACDB init success!
      
      • test_camera
      library "libcamera_compat_layer.so" not found
      Segmentation fault
      
      • test_egl segfaults
      • test_glesv2 segfault
      • test_gps, honestly I don't know whether that output below constitutes success of failure ... since I can't recognise any coordinates, I think it failed. I've waited 5 minutes or so. There are more *** tracking lines but no coordinates
      *** setup signal handler
      *** get gps interface
      *** device info
       id = gps
       name = loc_api GPS Module
       author = Qualcomm USA, Inc.
      *** init gps interface
      *** set capabilities
      capability is 00000007
       ** Creating thread: 'Loc_hal_worker' (start=0xb69f23b5, arg=0x1d02080)
       ** After thread_create: 'Loc_hal_worker', error=0 (start=0xb69f23b5, arg=0x1d02080)
       **** Thread wrapper start (start=0xb69f23b5, arg=0x1d02080) ****
      *** setting positioning mode
      *** start gps track
      *** gps tracking started
      *** tracking.... 
      
      • test_input
      library "libis_compat_layer.so" not found
      Segmentation fault
      
      • test_media, get a video from http://bbb3d.renderfarming.net/download.html
      wget http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_surround-fix.avi
      wget http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_60fps_normal.mp4
      scp bbb_sunflower_1080p_60fps_normal.mp4 root@10.15.19.82:
      ssh root@10.15.19.82
      test_media bbb_sunflower_1080p_60fps_normal.mp4
      library "libmedia_compat_layer.so" not found
      Segmentation fault
      
      • test_nfc
      Starting test_nfc.
      Finding NFC hardware module.
      test_nfc: test_nfc.c:156: testNfc: Assertion `hwModule != NULL' failed.
      Aborted
      
      • test_recorder
      Test application for video recording using the camera
      Recording start with volume up button. And stops with volume down.
      The result is stored to /root/test_video.avi
      
      library "libcamera_compat_layer.so" not found
      Segmentation fault
      
      • test_sensors
      library "/system/lib/hw/sensors.oem.so" not found
      libsensor_add_waiting_client adding cb 0
      Hardware module ID: sensors
      Hardware module Name: Qualcomm Sensors Module
      Hardware module Author: Qualcomm Inc.
      Hardware module API version: 0x1
      Hardware HAL API version: 0x100
      Poll device version: 0x1000001
      API VERSION 0.1 (legacy): 0x1
      API VERSION 0.1: 0x65537
      API VERSION 1.0: 0x16777217
      API VERSION 1.1: 0x16842753
      API VERSION 1.2: 0x16908289
      API VERSION 1.3: 0x16973825
      API VERSION 1.4: 0x17039361
      libsensor_add_waiting_client adding cb 1
      Got 0 sensors
      
      • test_wifi 1 says :
      Cannot load driver (err -1)
      

      not supported

      • test_vibrator , segfaults, but anyway the N7 doesn't have a haptic motor to vibrate
      Segmentation fault
      

      UBports rootfs

      Tried the rootfs from here: http://cdimage.ubports.com/rootfs/ but it doesn't do too much for me:

      • screen stays on the Google logo
      • no usb iSerial messages
      • no usb network interface seems to come up
      • last_kmsg shows that systemd does take over http://paste.ubuntu.com/25419054/ however,
      • it complains that "systemd[1]: Failed to start LXC Android Config and Container Initialization."
      • no adb interface comes up, even though in TWRP/chroot I see that android-tools-adbd.service is enabled

      Plasma mobile rootfs

      git clone https://github.com/bhush9/rootfs-builder bhush9-rootfs-builder
      cd bhush9-rootfs-builder
      # follow the instructions in README to patch lb_chroot_live-packages
      sudo ./build.sh
      # waaaaait
      # install it
      

      The reboot takes about a minute. Then you'll hear an audible greeting and afterwards you are greeted by the plasma mobile login screen. You can login and play around a bit. Not much to do though. No network connection and it's not possible to ssh in.

      Reboot back into TWRP and chroot.

      1. To be able to use the ssh server, you need to generate ssh server keys: dpkg-reconfigure openssh-server
      2. Preferably enable password less login :
      adb shell mkdir /home/phablet/.ssh
      adb push ~/.ssh/id.pub /home/phablet/.ssh/authorized_keys
      // todo : some chmod/chown needed?
      
      1. reboot, setup usbnet and then reboot and login as ssh phablet@10.15.19.82
      2. Alternatively, you can set the passwords, but I don't do this because it seems to actually break the graphical login:
      passwd 
      passwd: Authentication token manipulation error
      passwd: password unchanged
      # fix passwd
      apt remove libnss-extrausers
      pam-auth-update 
      # select everything but extrausers
      passwd # set root password 
      passwd phablet # set user password
      

      Debian

      Haven't tried yet.
      https://archive.org/download/halium-debian-rootfs/
      https://github.com/JBBgameich/rootfs-builder/tree/debian

      Arch

      https://github.com/Halium/rootfs-builder/tree/archlinux
      https://github.com/mickybart/rootfs-builder/tree/archlinux
      Haven't tried yet. I'm not very familiar with arch.

      What's next?

      • Get ubports to run
      • Get PM to run on halium-boot
      • Check out LuneOS
      • Check out SailfishOS
      • Build a .zip file, only makes sense if some OS is remotely usable, PM is close but still not there
      • get lxc-attach to work
      • patch out the noise dmesg logging of the battery

      Any tips or feedback appreciated!

      posted in Porting
      D
      doniks
    • RE: Ubuntu Touch Q&A 74 This Saturday at 19:00 UTC

      I almost don't dare to ask, but .... Qt update? :see-no-evil_monkey:

      posted in News
      D
      doniks
    • RE: Talk to the Non-Geek People

      @geekbone said in Talk to the Non-Geek People:

      Your user docs... I am not sure who the audience is there

      I hear you. I'm laughing and crying a little bit at the same time. Yeah, that "daily use" header is so undeserved it's not funny anymore. And the prominently placed 'container' jargonfest wins an extra prize there.

      Well, I could go on to rant about a community project with lots of volunteer work and how that doesn't gel so well with "If you want thisorthat, you should somethingoranother",but let me rather beat that other dead horse:

      Contributions welcome!

      And I'm not saying this to you @GeekBone . Of course your contributions would be welcome! But I don't think it's fair to bark this to a newcomer first thing. I'm saying this to ... "us" ... those of us who've hung around here for a while.

      Maybe there is someone who wants to put together an actual daily use / getting started page. Maybe there is someone who was looking for a low-geek way to contribute. Well, this one we would need! Couple screenshots, swipe here, swipe there, ... settings ... app store ... nothing too geeky. I kinda anticipate that the majority of the volume of the docs will stay geeky, but there should be a 'safe' and welcoming place at the start. A place before we venture down the rabbit hole ....

      posted in Marketing Incubator
      D
      doniks
    • RE: Q&A 30 This Saturday 16/06/18 @ UTC 19:00

      Oh and of course, the elephant in the room: How's 16.04 coming along?

      posted in News
      D
      doniks
    • Looking for a volunteer to make app icons

      Dear lovely UBports people,

      are there any graphic designers or similar enthusiasts around to help out a graphically handicapped app
      developer?

      I'm working on a sun compass app and I'd need an icon and a compass rose to show
      on the map. The sun itself could also be prettier I guess.

      I also have this other app libertine tweak tool which uses a really ugly copy of the
      libertine logo and could also do with some graphical finesse.

      posted in App Development icons graphic design design
      D
      doniks
    • RE: OTA 3 suggestions: your wanted features

      @MK73 said in OTA 3 suggestions: your wanted features:

      Magnifying glass for the edit cursor

      Oh yes! That would be great!

      Sailfish has that done in the best way I have seen on any smartphone/touchscreen

      https://www.youtube.com/watch?v=H0xikj4-8XY&feature=youtu.be&t=40

      posted in OS
      D
      doniks

    Latest posts made by doniks

    • RE: what's a good minimum translation completion percentage

      Ok. So, we've changed it to only English and Tamil are promoted from the start page and a few more are available in the navigation menu at the bottom

      8572f036-cafa-4c21-91ba-ea7b9c4de362-image.png

      posted in Translations
      D
      doniks
    • RE: what's a good minimum translation completion percentage

      @alagirialagiri I understand you're asking me to enable Tamil translation "everywhere" in Ubuntu Touch.

      Let me first remind you that Ubuntu Touch consists of many individual pieces. Many apps, websites and system components. And there is no single person that can flip a switch somewhere to enable it everywhere. Certainly, I personally don't have access to all places. Let alone that even finding all the places is probably a non-trivial task in itself.

      I suggest you create a new thread here in the forum about Tamil language support and then give specific examples where you are missing the translation. I have no doubt that the community will then help to find the places where this needs to be enabled and find the right people to contact to do this.

      posted in Translations
      D
      doniks
    • RE: what's a good minimum translation completion percentage

      @alagirialagiri as I said: No good justification. Other than, you know, same old ... volunteer project ... things get done when someone rolls up their sleeves and does it, not necessarily when they should be done

      posted in Translations
      D
      doniks
    • RE: what's a good minimum translation completion percentage

      @alagirialagiri said in what's a good minimum translation completion percentage:

      what is the reason for this status of trnslation of Tamil?

      just the fact that languages need to be enabled manually and nobody has done it so far. In fact, I just turned it on a few minutes ago.

      posted in Translations
      D
      doniks
    • RE: what's a good minimum translation completion percentage

      To give a bit more background.

      docs are written in gitlab: https://gitlab.com/ubports/docs/docs.ubports.com in English and translated in weblate: https://hosted.weblate.org/projects/ubports/doc-ubports-com . Currently weblate has 29 languages (next to English) enabled. As far as I understand every weblate user can add a language.

      The docs are set up to translate into 9 languages. A user can select the language in the bottom right corner anywhere on the docs website
      b1e128fe-9dc1-4efb-b1e1-07c862bc6f0c-image.png .

      We also prominently show the languages on the docs start page
      43a744f7-3078-4c71-93b1-0baf10b44ae8-image.png

      On the one hand, thinking abstractly about this, maybe one could come up with two numbers. A low number, maybe even 0, or maybe 5, or 10 or whatever and every language that's at least as translated as that will be enabled and shown in the (hard to find) bottom right corner. Mostly as a means to promote the idea of translations and assist translators in their work. The second number would be more for, what's actually a useful level for a non english speaker to attempt to make use of their native language version. Purely gut feeling, I'd like to say ... 90% ... 80?!

      But now on the other hand, in reality, out of those 29 translations in weblate, the percentages are overall quite low. In decreasing order:

      • 100% Tamil
      • 50% Russian
      • 39% Italian
      • 36% French
      • 33% Galician
      • 28% German
      • 27% Chinese traditional

      the rest are below 20%. So, considering this, I wonder whether it's justified to prominently advertise non-english versions at all - except for Tamil

      posted in Translations
      D
      doniks
    • what's a good minimum translation completion percentage

      Currently docs.ubports.com promotes 9 languages next to the default English version.

      This selection is overdue for a reconsideration. Today it contains Romanian which is 0% translated, and it does not contain Tamil which is 100% translated.

      While looking at this, I'm wondering, from which percentage on would you think it is reasonable to promote a translation. I think there should be a threshold, where if the translation is less complete than that, it's not really a service to our users to pretend that we have that language in the docs.

      posted in Translations
      D
      doniks
    • RE: Documentation temporarily offline

      Indeed! Issue resolved. Docs up and running again

      posted in General
      D
      doniks
    • RE: Documentation temporarily offline

      @Fuseteam said in Documentation temporarily offline:

      hmmm according to the error this is the issue: The host is configured as a CNAME across accounts on Cloudflare, which is not allowed by Cloudflare's security policy. are the two separate accounts?

      yes. both Cloudflare, but that was also true with the old setup. not clear what's different now

      it also says: If this is an R2 custom domain, it may still be initializing. If you have attempted to manually point a CNAME DNS record to your R2 bucket, you must do it using a custom domain. Could it be just dns intialization? do we have other logs in the dashboard?

      I don't have access to any other logs. not sure what R2 is or whether that applies to us. Not sure what this initialization is about, but the problem hasn't resolved itself since yesterday, so, I'm guessing ... whatever initialization might have been going on should have completed but that doesn't seem to have made a difference ...

      also http://docsubportscom.readthedocs.io/ still works, so perhaps that could be a stopgap until we figure this out

      yeah. if it works it works and can of course be used. At some point yesterday it didn't work either, but yeah, the links are there

      posted in General
      D
      doniks
    • RE: Documentation temporarily offline

      Let me add some background (maybe someone has previous experience with this)

      The source code for the docs used to be at https://github.com/ubports/docs.ubports.com/ and hosted by Read The Docs at http://docsubportscom.readthedocs.io with the custom domain docs.ubports.com configured in this RTD project. The cloudflare DNS points docs.ubports.com to readthedocs.io and that setup worked alright in the past.

      In order to move over to the new repo at https://gitlab.com/ubports/docs/docs.ubports.com we've created a new RTD project at http://docsubportscom-gitlab.readthedocs.io and moved the custom domain over to this new project. But now we're faced with a "CNAME Cross-User Banned" Error 1014 instead of our docs 😞

      Contacted RTD support to see if they can help.

      posted in General
      D
      doniks
    • Documentation temporarily offline

      While updating our documentation website https://docs.ubports.com we've run into trouble with the configuration. Unfortunately that means that the docs site is not reachable at the moment. We're working on a solution.

      Apologies and hopefully we can fix this soon.

      For now the best stop gap is probably the last wayback version https://web.archive.org/web/20250114230013/https://docs.ubports.com/en/latest/

      posted in General
      D
      doniks