UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. BigB
    3. Posts
    B
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 17
    • Posts 48
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Help Needed - Halium 9 building - Xperia XZ1c (lilac)

      @guf

      Thank you 🙂 I'll try, when I have some time!

      Tbh, I started working on postmarketOS build as documentation is more clear for me (new to porting), but I'll watch both guides and maybe I'll finally manage to do at least one of linux for lilac.

      (I prepared device APKBUILD, sucessfully compiled kernel and flashed it to device but I don't know what actually happened. Only thing that tells device is on is slightly glowing sony logo like on calculator. I have to try connecting to device by ssh or telnet. However maybe someone could help me proceed by preparing kernel path that adds blobs to kernel. Something like this was done for older kernel, diffrent commit, which breaks on newer build, so maybe it can be corrected?)

      I asked on pmOS buliding group for help. I got extra information about this device. Something like "It has really broken UFS that want's to delete itself so be carefull while minelining it"

      posted in Porting
      B
      BigB
    • RE: Help Needed - Halium 9 building - Xperia XZ1c (lilac)

      @saveurlinux

      Thanks for interesting 🙂 I really wish I coud do that asap. I decided to read some books about linux in general because I feel that I need to understand much more to proceed... However I really want to do it especially because postmarketOS has problems with booting on this device. I'll write here about progress.

      posted in Porting
      B
      BigB
    • RE: Shop, deiffrent enviroments, slogans, famous people etc.

      @arubislander

      You are right. You pointed out the true. So let me remove those statements and leave just idea

      posted in Marketing Incubator
      B
      BigB
    • RE: Help Needed - Halium 9 building - Xperia XZ1c (lilac)

      @Luksus

      Thanks for reply and spending your time helping me understand 🙂

      Unfortunately there's still no success.

      I think I just missed something important before. I'll start from beginning. I'll Read everything once again. And than try, not to consume more time. I'll try then to make step list. Eventually I'll wait for Halium 9 full documentation.

      posted in Porting
      B
      BigB
    • Shop, deiffrent enviroments, slogans, famous people etc.

      Hi,

      I was thinking about how to make Ubuntu Touch more popular and how to get porters.

      1 - Way of thinking

      Ok so, Ubuntu Touch is connected with slogans like "Real linux distributions for mobile devices" from we can be proud of.

      But it's not connected whatsoever with ordinary devices. I won't find it if I don't search for what exactly Ubuntu Touch is. However to become a strong alternative to android UT needs to be popular. So we need to appear in many environments somehow connected with mobile devices

      2 - devs, our brothers

      Nowadays there are mass of custom roms avaliable for almost any phone. Devices are continuously maintained, trees are updated.
      But where does it happen? Mostly on XDA.

      What do you think about joining officialy XDA. Writing an articles that will be on the first site on XDA feed. Maybe this will help experienced developers to know something about UBports and join this forum and they could help with porting UT to new devices?

      *Note that started as I have just read about new xda phone! My goal is to keep beeing visible there ans post UT ports as threads like custom roms for those who doesn't follow feed.

      3 - foolproof

      Why iOS is so popular? Things become popular because they are easy to use, easy to install, easy to manage, easy to be turned on/off. Unfortunately GUI is important for those who are annoyed of something and want to make a change.

      Other thing here is porting to new devices. Noob porters like me needs to have step by step documentation to help grow UT.

      4 - Privacy

      We know what is massive surveillance preinstalled in our phones bought from ordinary market. I see now pissed off people that just want to have simple mobile which is not watching or hearing him/her 24/7. So popularizing UT in some privacy oriented communities may help.

      5 - Easy to get - marketing

      Ubuntu Touch needs to be first operating system that will be preinstalled on device. It's happening: PinePhone , VollaPhone and f(x)tec Pro1 but To achieve success we need something bigger - UBports shop, where you can buy any Ubuntu Touch supported phone, new or used and million stuff connected, logos, shirts but it needs to be together. This can make feel the someone belongs to group.

      How to organise this shop... It's harder. I suppose that it might be something like association of people on the whole world, that can buy or transfer some devices flash and sell locally.

      Example:
      I go to the official ubports site and then I see big button called buy.
      Inside there will be map of the world which tells you where it's available to buy now or order. Then you will have filters: ram internal storage brand etc. Like in normal shop. And offers, contact.

      (if billing will be organized without any mess I can be a volunteer, my government does search for people who are the "sly-ones" but I'd really love to help!)

      6 - Promotion

      Famous people, unfortunately It might be irritating but when someone popular will have such a device... Who knows

      On the other hand, we have our families, friends. Why not to try introduce them Ubuntu Touch device? This way I convinced e.g. my dad to switch!

      9 - try before you buy

      You know, I like to test things before I buy something. Probably most people. So if we don't want to search youtube for old reviews we could start virtual machine on the ubports site with every channel. Like in android studio. You know. You are using virtual phone.

      10 - documentation organized

      It'd be great if we could share our knowledge in ordered way in one place. Some tricky things are known by specialists but not everyone. We could have split documentation starting from really basic things, ending on porting etc. It could also be written by community guys.

      Feel free to comment, correct me 🙂

      First post changelog

      I may remember something later, that's why

      • 2020.10.27 - removed statements, because there were not exactly the true and we should be ethical. So just left idea. mistakes corrected,
      • 2020.10.26 - topic creation
      posted in Marketing Incubator marketing promotion ideas shop
      B
      BigB
    • RE: Help Needed - Halium 9 building - Xperia XZ1c (lilac)

      @Luksus

      Thank you for replying! I almost understood 🙂

      I'm still, not sure only where I should search mentioned .mk files - what is exactly device root directory you mentioned? Is it~/device/sony in my case?

      However I tired to make halium-boot hoped that hybris-patches did all job and build complied successfully.

      Then I got my device with stock firmware and TWRP, then wiped data, flashed halium-boot as boot and GSI zip.

      Device didn't booted in UT and didn't returned to recovery so I went to TWRP by pressing buttons, wiped all partitions and re-flashed both files and nothing happened.

      I tired same thing with lineage as system befor UT, with no change.

      posted in Porting
      B
      BigB
    • Help Needed - Halium 9 building - Xperia XZ1c (lilac)

      Hi,

      I try to build halium 9 for Sony xperia xz1 compact codname "lilac".
      It was shipped with android 8 then updated to 9. It has quiet good support on XDA I mean repositories, device tree, vendor.

      I'm just passionate not experienced dev, but I'm determined and I like learning :).

      My building machine is (fortunately, only for some time) xubuntu 18.04 12GB ram, 12GB SWAP HDD 1tb, intel i5-5200u 4 threads. then something 2 times better when I'll finish my PC.

      I visited XDA for custom roms building guides, Lineage site and the halium, ubports porting guide but then redirected here and here

      Here are needed device configuration, branch lineage-16 (Note that the manifest is slightly different, but it's explained in only one issue in this repository)

      My steps:

      1. Previously - Built AOSP 11 using sony guide - learned how basic tools and repo work
      2. Previously - Building crDroid based on android 10 - learned what are manifest, device tree, kernel, vendor etc.
      3. Now - Building Halium 9 - learned what is project treble, GSI
      • Step 1 - repo init -u https://github.com/Halium/android -b halium-9.0 note that --depth=1 didn't work for me
      • Step 2 - repo sync
      • Step 3 - added local manifest in ~/.repo/local_manifests/roomservice.xml and repo sync
      <manifest>
      <!-- SONY -->
      <project name="whatawurst/android_kernel_sony_msm8998" path="kernel/sony/msm8998" remote="github"/>
      <project name="whatawurst/android_device_sony_common-treble" path="device/sony/common-treble" remote="github"/>
      <project name="whatawurst/android_device_sony_yoshino" path="device/sony/yoshino" remote="github"/>
      <project name="whatawurst/android_device_sony_lilac" path="device/sony/lilac" remote="github"/>
      <!-- Pinned blobs for lilac -->
      <project name="whatawurst/android_vendor_sony_lilac" path="vendor/sony/lilac" remote="github"/>
      </manifest>
      
      • Step 4 - Applied patches by running cd ~/hybris-patches then . apply-patches.sh output here with one warning
      • Step 5 - Here I stopped...
        Make your device tree inherit from halium.mk (...):
        Ok , I understood that I need to change my ~/device/sony/lilac/lineage_lilac.mk
      $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
      $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
      $(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
      
      # Inherit device configuration
      $(call inherit-product, device/sony/lilac/device.mk)
      
      ### LINEAGE
      $(call inherit-product, vendor/lineage/config/common_full_phone.mk)
      

      to

      $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
      # $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
      $(call inherit-product, $(SRC_TARGET_DIR)/product/halium.mk)
      $(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
      
      # Inherit device configuration
      $(call inherit-product, device/sony/lilac/device.mk)
      
      ### LINEAGE
      # $(call inherit-product, vendor/lineage/config/common_full_phone.mk)
      

      Changes: commented full_base_telephony.mk and lineageOS stuff added halium.mk instead

      Unfortunately I have no idea what to do with: "remove Java-dependent parts" what is that file, where is it located?

      I know I need to learn muuuch more, could you help my find some guides, documentation related to this. What statement should I search for?

      Thanks in advance! 🙂

      posted in Porting
      B
      BigB
    • RE: Installing Ubuntu Touch on the Sony Xperia XZ1

      Hi,

      I'm so happy, that someone remembered about old xperias. They are great! 🙂

      However honami is xperia z1 (xperia xz1 is called poplar).

      Which halium version did you build? If there are so many problems maybe you could consider halium 9 porting with Generic System Image (GSI)? As there are Lineage 16 avaliable for honami (and other based on android 8 and later) so all after project treble where device specific code is moved to vendor partition. Read about the differences between previous halium version and 9 in GSI llink

      I'm not a developer but I hope it may be helpful 🙂

      Do you have any experience which you could find helpful and share about porrting UT to sony phones? I have couple devices which I'd like to be running UT,

      1. Xperia XZ1 compact (lilac) - now I'm working on it...
      2. Xperia XZ1 dual (poplar_dsds)
      3. Xperia Z2 (sirius) - same "z" family as honami
      4. Xperia Z3 compact (z3c) - same "z" family as honami
      posted in Porting
      B
      BigB
    • [REQUEST] OpenStreetMap edit tool

      Introduction

      Hi, I use my UT device as my daily driver.
      One day I thought: Maybe I'll start updating OpenStreetMaps as my area is quiet outdated and I'd like to do some for others 🙂

      Question

      Is there any tested OSM editor (could be web-based) that works well on Ubuntu touch?

      App Idea

      Ubuntu Touch OpenStreetMap Editor:

      • Multi-touch touch-screen compatibility
      • Edit maps (quickly correct mistake e.g. store name)
      • Upload he pictures
      • Take picture with geotag and upload it later (when you don't have internet connection)
      • Track me to update road data (useful for e.g. bicycle roads)

      This is just quick syllabus, I'll surely correct and precise it lately after registartion and sample work with vespucci. If you know what should be included in app, because you are participant of OSM community feel free to correct me and comment 🙂

      Other Information

      List of available OSM editors, some of them are open-source

      First post changelog

      • 08.10.2020 - topic creation
      posted in App Development
      B
      BigB
    • RE: FluffyChat Encryption via Pantalaimon

      @thrrgilag Thanks! Works great on my nexus 7 stable and nexus 5 RC

      The strange thing happens when I test it on another nexus 5 RC and nexus 7 RC (in general I have 4 devices), apps crashes I mean - flfuffy frezzes and logs out from account
      I was searching for the reason and... maybe it happens when device powers off, casued by critically low battery. This is what happened on both mentioned decices and after this situation fluffy stopped working
      (reinstalling both apps and clearing data didn't work, so only OS reflash may work...)

      For everyone interseted in matrix on UT device, with new qt web engine avaliable on RC, you can create simple webapp, there is no notifications and it lookls like desktop version but for now it may be alternative for devices where fluffy/pantalaimon crashes. Video and Pictures work, I'll test calls later.

      posted in App Development
      B
      BigB
    • RE: Privileged ICE contacts and medical information available on lockscreen [WORK IN PROGRESS]

      @3T_Ed

      Thank You! I'm still here 🙂 I just have less time than during holiday, but I try to follow thread.

      posted in OS
      B
      BigB
    • RE: App to quick control commands and scripts [WORK IN PROGRESS]

      Thank You @jonius 🙂

      I started testing click package from https://launchpad.net/scriptor/+download mentioned on your github.

      I was able to run my VPN script.
      However, there are some bugs:

      • There is no way to stop scrip in app, I don't see anything like CTRL+C button (I need to close app)

      • No text wrapping

      • clear doesn't clear, I see whole output

      • sudo su: output: sudo: no tty present and no askpass program specified then: Process command error 1: Operation not permitted

      • readdoesn't work - script stops on read but user cannot input anything.

      • Probably colors and something else generates strange prefixes and suffixes:
        ea7702a6-33ee-4dac-8bd3-d7ac6ad2383f-image.png

      • BusyBox*

      *About BusyBox:
      I followed the download path and there's no https://busybox.net/downloads/binaries/latest anymore.
      However in https://busybox.net/downloads/binaries/1.31.0-defconfig-multiarch-musl/ exists file called "busybox-armv7l".
      Eventually there is: https://github.com/hypriot/armhf-busybox.

      posted in App Development
      B
      BigB
    • [Question] All traffic through TOR / TorGhost support?

      Introduction

      Hi, I try to care about my privacy, what is not easy nowadays.
      Can I route all my traffic through TOR like TorGhost does?
      Or should I do it manually?

      Question

      Can I route all my traffic through TOR like TorGhost does?
      Can I run TorGhost on Ubuntu Touch, build it from source?

      Important

      here will be important things
      

      First post changelog

      • 2020.08.23 - topic crreation
      posted in Support
      B
      BigB
    • RE: [Question] How to enable cellular connection using terminal?

      @Capsia Thank You! 🙂

      I'll continue searching but now with proper tools.
      For more advanced users maybe this or this will help - Especially this part of article: "Here is an example script of modem initialization:(...)"

      posted in Support
      B
      BigB
    • [Question] How to enable cellular connection using terminal?

      Introduction

      Hi, I wrote few scripts that reconnect user to configured VPN in specific situations e.g. when wifi is off it enables it.
      I would like to do same thing with cellular data. Unfortunately I can't find out what is the command for it. I tired some nmcli commands with no success.

      Question

      Is there possibility to enable cellular data using terminal without sudo?

      My Tries

      1

      nmcli device connect ril_0
      
      Error: Filed to add/activate new connection: Message recipient disconnected from message bus without replying
      

      2

      nmcli connection up ifname ril_0
      
      Error: Connection activation filed: The device 'ril_0' has no connection available for activation
      

      3
      When you type nmcli c show the gsm is assigned to device field and it looks like something that shouldn't be shared in Internet 😉

      nmcli c up /xxxxxxxxxxxx/xxxxx
      
      Error: connection activation filed: No suitable device found for this connection.
      

      4

      nmcli monitor
      

      Then I clicked switch to enable cellular data, output:

      ril_0: disconnected
      Networkmanager is now in the 'connecting state'
      ril_0: connecting (prepare)
      ril_0: using connection '/xxxxxxxxxx/xxxxx'
      rmnet0: device removed
      Connectivity is now 'full'
      '/xxxxxxxxxxxxxx/xxxxxx' is now primary connection
      Networkmanager is now in the 'connected' state 
      ril_0: connected
      

      So how we can do all above steps manually?

      Solution

      here will be the solution
      

      First post changelog

      • 2020.08.21 - issue creation.
      posted in Support terminal cellular nmcli question
      B
      BigB
    • RE: App to quick control commands and scripts [WORK IN PROGRESS]

      @bhdouglass

      Great Idea!
      Now appears question: who could do that?

      posted in App Development
      B
      BigB
    • RE: Run script on boot

      What does exacly exec do?

      I ask, because sh doesn't work for my script like . does.

      I'm also interested as I want to run VPN on boot and keep it always on.

      Here are my scrips and other information.

      Also, what are the nmcli commands that enable cellular data? I tried to find it and I'm run out of ideas.

      posted in Support
      B
      BigB
    • App to quick control commands and scripts [WORK IN PROGRESS]

      Introduction

      Hi,
      I found out, that Ubuntu Touch has big opportunities. Especially terminal is so cool.
      However, there are some lacks in GUI and opening termianl, retyping password then repeating same commands for simple things can be hard sometimes.

      Started Projects

      alt text
      Scriptor

      Unfortunately official latest it's for 15.04 version.
      @jonius added a clickable.json and changed the framework to 16.04 so now app can run on 16.04 remember to click thanks to @jonius below 😉

      Download compatible version:
      find "releases" in @jonius repo

      Idea

      App to run and control specified previously long commands and scripts

      With this app you don't need to retype password repeat commands, find scripts location.

      Example: Let's say I want to control my vpn and wrote loop script to force it reconnect all the time. Later I want to stop it because e.g. now I need TOR. With this app I just click the switch.

      It would be great If in the half screen appeared preview with tabs.

      Important

      ([] are my annotations.)

      In Scriptor there are some bugs described below.

      @jonius: It [scriptor] still works well on Ubuntu Touch. I added a clickable.json and changed the framework to 16.04: https://gitlab.com/jonnius/scriptor
      If someone is interested in maintaining the app, please just fork the repo and release it to the OpenStore. The README needs to be cleaned up and the busybox download in app does not seem to work. But I don't think it is even necessary, so maybe it could just be removed.

      First post changelog

      • 2020.08.09 - added header started project, changed title to [WIP]
      • 2020.18.08 - idea appeared 🙂
      posted in App Development request app scripts command-line
      B
      BigB
    • Nexus 7 2013 (flo) bugs, information, statics, discussion

      Introduction

      Hi, I bought nexus 7 2013 flo and installed Ubuntu Touch. I loved it! It's the best mobile OS in my opinion. 🙂
      However, there are some bugs... I created this thread to find bugs, share logs and discuss the solutions.

      I'm on RC channel, and you?

      If you think I started thread in wrong place, please down-vote post and propose better solution

      Bugs

      • camera - not working known
      • bluetooth - not working known
      • landscape on lockscreen - when screen is locked, even with forced horizontal orientation, tablet stays in landscspe mode.
      • apps suspension - even with ut tweak tool apps are suspended when screen is off, when you click power button and screen is on (but locked) app (e.g. youtube) restarts playing audio. Again - It ends when you turn off screen.

      Solutions

      here will be the solutions
      

      Important

      other interesting things connected with topic.
      

      First Post changelog

      • 2020.08.17 - thread creation
      posted in Support nexus 7 2013 bugs flo
      B
      BigB