Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Luksus
    L
    • Profile
    • Following 0
    • Followers 7
    • Topics 10
    • Posts 433
    • Best 80
    • Groups 0

    Luksus

    @Luksus

    118
    Reputation
    552
    Profile views
    433
    Posts
    7
    Followers
    0
    Following
    Joined Last Online
    Location Germany

    Luksus Unfollow Follow

    Best posts made by Luksus

    • Fairphone 3 (FP3)

      This is a port for the Fairphone 3.
      There are two ways:

      1. the GSI (Generic System Image)-way
      2. the "native FP3"-way, I call it the Gitlab-CI way. The boot and system images are (currently) getting built by the Gitlab CI.
        In the future, this will be the way, to install it by the ubports-installer and also get ota-updates working.

      Sources

      • Kernel: https://github.com/luksus42/android_kernel_fairphone_sdm632
      • Device: https://github.com/luksus42/android_device_fairphone_FP3
      • Vendor: https://github.com/luksus42/proprietary_vendor_fairphone
      • Manifest: https://github.com/luksus42/halium-devices/blob/halium-9.0/manifests/fairphone_FP3.xml
      • Erfan's GSI: https://build.lolinet.com/file/halium/GSI/
      • Gitlab CI Builds: https://gitlab.com/ubports/community-ports/android9/fairphone-3/fairphone-fp3/-/pipelines

      Status

      GSI GITLAB CI
      Actors: Manual brightness Working Working
      Actors: Vibration Working Not working
      Actors: Notification LED Not working Working
      Actors: Torchlight Working with additional steps: use uTorch App Working with additional steps: use uTorch App
      Camera: Photo Working Working
      Camera: Video** Working Working
      Camera: Switch between back and front camera Working Working
      Camera: Flashlight Working Working
      Cellular: Data connection Working Working
      Cellular: Carrier info, signal strength Working Working
      Cellular: Incoming, outgoing calls Working Working with additional steps: a data connection must be active (mobile or wifi)
      Cellular: PIN unlock Working Working
      Cellular: Voice in calls Working Working
      Cellular: MMS in, out Not tested Not tested
      Cellular: SMS in, out Working Working
      Cellular: Change audio routings Working Working
      Endurance: Battery lifetime > 24h from 100% Working Working
      Endurance: No reboot needed for 1 week Not tested Not tested
      GPU: Boot into UI** Working Working
      GPU: Hardware video decoding Working Working
      Misc: AppArmor patches applied to kernel (Kernel 4.9) Working Working
      Misc: Battery percentage Working Working
      Misc: Offline charging Not tested Not tested
      Misc: Online charging Working Working
      Misc: Shutdown / Reboot Working Working
      Misc: SD card detection and access Working with additional steps: It is there but gets not displayed in Filebrowser. But one can access it over /media/phablet/<sdcard-name> Working
      Misc: Anbox patches applied to kernel Not tested Not tested
      Misc: Recovery image Not working Not working
      Misc: Reset to factory defaults Not tested Not tested
      Misc: RTC time is used after reboot Not working internet is needed for correct time Not working internet is needed for correct time
      Network: Bluetooth Working Working
      Network: WiFi Working Working
      Network: Flight mode Working Working
      Network: Hotspot Working Working
      Sensors: Fingerprint reader Working Working
      Sensors: Proximity Working Working
      Sensors: Rotation Working Working
      Sensors: Touchscreen Working Working
      Sensors: GPS partly working: the initial location is found but cannot be followed (Activity App) Not tested
      Sensors: Automatic brightness Not working Not working
      Sound: Loudspeaker Working Working
      Sound: Microphone Working Working
      Sound: Volume control Working Working
      Sound: Earphones Working Working
      USB: ADB access Not working Not working
      USB: External monitor - only for devices that support it Not working Not working
      USB: MTP access partly working: the ISODrive App works, but switching back to SSH dows not work partly working: the ISODrive App works, but switching back to SSH dows not work

      How to build halium-boot

      • create halium folder and cd into it
      • initialize the halium 9.0 repo: repo init -u https://github.com/Halium/android -b halium-9.0 --depth=1 (creates a hidden .repo folder, in case if you are wondering)
      • do: repo sync -c -j [number of parallel jobs]
        ** make sure that the bionic folder is synced (this somehow missing repo caused builderrors and a headache for me)
      • add manifest file fairphone_FP3.xml to halium/devices/manifests
      • missing exfat modules: cd into kernel/fairphone/sdm632 and do: git submodule update --init --recursive
      • do: ./halium/devices/setup FP3
      • modify kernel config: halium/halium-boot/check-kernel-config kernel/fairphone/sdm632/arch/arm64/configs/lineageos_FP3_defconfig -w
        • most of these changes should already be in the kernel source, but there my be changes in the meantime
      • check again without -w parameter
      • add fixup mountpoints for FP3, I am not sure if this is really needed:
          "FP3")
              sed -i \
                  -e 's block/mmcblk0p30 mmcblk0p30 ' \
                  -e 's block/mmcblk0p31 mmcblk0p31 ' \
                  -e 's block/bootdevice/by-name/vendor_a mmcblk0p32 ' \
                  -e 's block/bootdevice/by-name/product_a mmcblk0p60 ' \
                  -e 's block/bootdevice/by-name/vendor_b mmcblk0p33 ' \
                  -e 's block/bootdevice/by-name/product_b mmcblk0p61' \
                  -e 's block/mmcblk0p62 mmcblk0p62 ' \
                  -e 's block/mmcblk0p34 mmcblk0p34 ' \
                  "$@"
              ;;
      
      • apply hybris patches: hybris-patches/apply-patches.sh --mb
      • build:
        I used a little bash script, you can also execute each command individually in the terminal
        #!/bin/sh
        
        # prepare 
        # using python 3 caused builderrors, perhaps there is an environment variable for this??
        sudo ln -sf python2 /usr/bin/python
        
        # when using zsh shell you will likely need this two commands
        setopt shwordsplit
        export LC_ALL=C 
        
        # build
        export USE_HOST_LEX=yes
        source build/envsetup.sh
        breakfast FP3
        mka halium-boot
        #mka systemimage
        
        # revert python 
        sudo ln -sf python3 /usr/bin/python
        
        Of course, you could also build the systemimage, but I could not get it to work/boot yet.
        It takes ~1h on an Intel i7 9750H (@45W) ;-).

      How to flash

      GSI

      Prepare

      Build or download the halium-boot image.
      Get TWRP for Fairphone 3.
      Get a ubports GSI.
      Unlock your phone, see: https://www.fairphone.com/en/bootloader-unlocking-code-for-fairphone-3/
      You will need the android tools "fastboot" and "adb".

      Flash

      • Boot the phone into bootloader/fastboot by pressing power + volume-down buttons until it reboots. Or just reboot and click a volume button within 5 seconds and select the bootloader.
      • Flash halium-boot image: $ fastboot flash boot halium-boot.img
        • if fastboot throws the error: Couldn't parse partition size '0x' try the following command: $ fastboot flash:raw boot halium-boot.img
      • Boot your downloaded TWRP image temporarly: $ fastboot boot [twrp-image.img]
      • In TWRP go to ADVANCED and Select "ADB Sideload". Activate sideload.
      • in Terminal: adb sideload [ubports_gsi.zip]
      • Wait until it finished, then reboot system.

      Gitlab CI

      Prepare

      Download the latest flashable artifacts zip, which contains boot.img and system.img.
      Unlock your phone, see: https://www.fairphone.com/en/bootloader-unlocking-code-for-fairphone-3/
      Get TWRP for Fairphone 3.
      You will need the android tools "fastboot" and "adb".

      Flash

      • Boot the phone into bootloader/fastboot by pressing power + volume-down buttons until it reboots. Or just reboot and click a volume button within 5 seconds and select the bootloader.
      • Flash boot image: `$ fastboot flash boot boot.img
        • if fastboot throws the error: Couldn't parse partition size '0x' try the following command: $ fastboot flash:raw boot boot.img
      • Flash system image: $ fastboot flash system system.img
        • if flashing of system image does break before finished (file data too large), try: fastboot -S 300M flash system system.img
      • Boot your downloaded TWRP image temporarly: $ fastboot boot [twrp-image.img]
      • In TWRP format your data-partition (perhaps that could be done with fastboot too...)
      • reboot the system.
        Default password is phablet.

      Troubleshooting

      In case something wents wrong, you should be prepared to be able to flash a working android image. I used the /e/ OS images for this case.
      Look here: https://community.e.foundation/t/how-to-flash-e-os-on-fairphone-3-using-debian-based-gnu-linux/15498

      Known Issues

      • There are some graphics-glitches (black bars flashing up here and there).
        • Much less with latest GSI v10
      • Inititally the scaling is very small, this leads to some unwanted effects. Morph Browser, websites are always in Desktop Mode
        • Fix: Make the system writable sudo mount -o rw,remount / and change/add following properties in /etc/ubuntu-touch-session.d/android.conf:
          GRID_UNIT_PX=21
          QTWEBKIT_DPR=2.0
          FORM_FACTOR=handset
      • In the app overview (swipe from the left) it is hard to grab the app, to close it by swiping it up or down. fixed with GSI v10
      • The settings app crashs, when opening the memory-overview in the Info-area.
      • With Erfan's GSI (v9) webapps crash on start fixed with GSI v10
      posted in Fairphone 3
      L
      Luksus
    • Fairphone 3 (FP3) Port

      For Fairphone 3+ please use the installer or follow this thread!

      This is a port for the Fairphone 3.

      It is required that the device is using Android 9, otherwise it must be downgraded first: see Troubleshooting section.
      Downgrading seems not to be necessary. Only the vendor partition should be replaced with the stock Android 9 vendor image.

      Sources

      Kernel: https://github.com/luksus42/android_kernel_fairphone_sdm632
      Build Toolchain: https://gitlab.com/ubports/community-ports/android9/fairphone-3/fairphone-fp3

      Latest Builds (Download):

      • stable (OTA-18)
      • release candidate
      • devel

      Status

      Working:

      Actors: Manual brightness
      Actors: Notification LED
      Actors: Torchlight (with uTorch app)
      Actors: Vibration (partly, not working on chat-messengers for example)
      Camera: Photo
      Camera: Video
      Camera: Switch between back and front camera
      Camera: Flashlight
      Cellular: Incoming, outgoing calls
      Cellular: Data connection
      Cellular: Carrier info, signal strength
      Cellular: PIN unlock
      Cellular: Voice in calls
      Cellular: SMS in, out
      Cellular: MMS in, out
      Cellular: Change audio routings
      Endurance: Battery lifetime > 24h from 100%
      GPU: Boot into UI
      GPU: Hardware video decoding
      Misc: AppArmor patches applied to kernel (Kernel 4.9)
      Misc: Battery percentage
      Misc: Online charging
      Misc: Shutdown / Reboot
      Misc: SD card detection and access
      Misc: RTC time is used after reboot
      Misc: Recovery image + OTA Updates
      Misc: Anbox patches applied to kernel
      Network: Bluetooth
      Network: WiFi
      Network: Flight mode
      Network: Hotspot
      Sensors: Fingerprint reader
      Sensors: Proximity
      Sensors: Rotation
      Sensors: Touchscreen
      Sensors: GPS
      Sensors: Automatic brightness
      Sound: Loudspeaker
      Sound: Microphone
      Sound: Volume control
      Sound: Earphones

      Working with additional steps:

      USB: MTP access (partly working: the ISODrive App works, but switching back to SSH dows not work)

      Not working:

      USB: ADB access
      USB: External monitor - only for devices that support it
      Misc: Offline charging

      Not tested:

      Endurance: No reboot needed for 1 week
      Misc: Reset to factory defaults

      How to flash

      Prepare

      • Unlock your phone, see: https://www.fairphone.com/en/bootloader-unlocking-code-for-fairphone-3/
      • You will need the android tools "fastboot" and "adb".
      • Download one of the the latest "flashable" artifacts zip, which contains boot.img and system.img (stable is recommended):
        • stable
        • release candidate
        • devel

      Flash

      1. Boot the phone into bootloader/fastboot by pressing power + volume-down buttons until it reboots. Or just reboot and click a volume button within 5 seconds and select the bootloader.
      2. If your phone is running with android 10, flash the android 9 vendor image with: $ fastboot flash vendor vendor.img
      3. Flash boot image: $ fastboot flash boot boot.img
        • if fastboot throws the error: Couldn't parse partition size '0x' try the following command: $ fastboot flash:raw boot boot.img
      4. Flash system image: $ fastboot flash system system.img
        • if flashing of system image does break before finished (file data too large), try: $ fastboot -S 300M flash system system.img
      5. Wipe your data partition with command: $ fastboot -w
      6. reboot the system.

      Troubleshooting

      In case something wents wrong, you should be prepared to flash back a working android image.

      • Stockimage (prepared to not wipe your data while flashing): https://www.androidfilehost.com/?fid=7161016148664802137
      posted in Fairphone 3
      L
      Luksus
    • RE: Fairphone 3+ vs Volla Phone vs ?????

      @adlinux Hi, I am the "porter" of the FP3/+ and I (sadly) have to say that the FP3+ (on Android 10 base) is definitely not ready for daily usage.
      The FP3 with older camera modules maybe. But there are some quirks with mobile-data/cellular network for some users still.
      So the older FP3 would be an option, if it has to be a "fair" phone.
      If the "fair" is not your first priority, you currently will have a better experience with Volla or Experia.

      posted in General
      L
      Luksus
    • RE: How to set Desktop Mode off and make it stick?

      Hey @all,
      it seems that I have solved the issue with always starting in desktop mode... 🙂
      Turns out that it were some kernel configs, which leads to unity8 thinking, that there is some kind of input device connected... how @kugiigi suggested.
      So there is no need anymore for creating an upstart script in this regard.

      I am not sure if the boot-image is being updated by the OTA update, so maybe I need to adjust the installer configuration first and you have to reinstall the bootimage with the installer afterwards. I will inform you here, how to proceed.

      I additionally got usb-mtp mode working. Which should be available with tomorrows devel-update.

      posted in Lenovo Tab M10 X605F/L
      L
      Luksus
    • RE: Gotta release fast

      Yes, do a fast release.
      Currently (before last OTA) there are so much fixes, that the stable users have to wait for one or two months.
      I think it's better to get fixes to stable channel quick.

      posted in OS
      L
      Luksus
    • RE: Add Lenovo X605 to the UBports installer

      The X605 is now available in the ubports-installer.

      posted in Devices
      L
      Luksus
    • RE: Fairphone 2 (FP2)

      FP2, findings and differences to legacy version:

      • camera does work with gstreamer-droid patch and is superfast
      • after turning flightmode off, it is not needed to enter SIM-pin again
      • waking up from sleep is delayed by some (5?) seconds, what makes it hard sometimes to answer a call, because you have to wait until the swipe is working
      • I can't get a MTP USB connection, when I unplug the device, my pc informs me about using another network connection, lsusb identifies the device as:
      Bus 003 Device 007: ID 0fce:7169 Sony Ericsson Mobile Communications AB FP2
      
      posted in Fairphone 2
      L
      Luksus
    • Fairphone 3/3+ (FP3/FP3+) Port - Halium 10

      This port works for FP3 and FP3+ with Android 10 base.

      Status

      Working:

      Actors: Manual brightness
      Actors: Notification LED
      Actors: Torchlight
      Actors: Vibration (partly, not working on chat-messengers for example)
      Camera: Photo
      Camera: Video
      Camera: Switch between back and front camera
      Camera: Flashlight
      Cellular: Incoming, outgoing calls
      Cellular: Data connection
      Cellular: Carrier info, signal strength
      Cellular: PIN unlock
      Cellular: Voice in calls
      Cellular: SMS in, out
      Cellular: MMS in, out
      Cellular: Change audio routings
      Endurance: Battery lifetime > 24h from 100%
      GPU: Boot into UI
      GPU: Hardware video decoding
      Misc: AppArmor patches applied to kernel (Kernel 4.9)
      Misc: Battery percentage
      Misc: Online charging
      Misc: Shutdown / Reboot
      Misc: SD card detection and access
      Misc: RTC time is used after reboot
      Misc: Recovery image + OTA Updates
      Misc: Anbox/WayDroid patches applied to kernel
      Network: Bluetooth
      Network: WiFi
      Network: Flight mode
      Network: Hotspot
      Sensors: Proximity
      Sensors: Rotation
      Sensors: Touchscreen
      Sensors: GPS
      Sensors: Automatic brightness
      Sound: Loudspeaker
      Sound: Microphone
      Sound: Volume control
      Sound: Earphones

      Working with additional steps:

      USB: MTP access (partly working: the ISODrive App works, but switching back to SSH dows not work)

      Not working:

      Sensors: Fingerprint reader
      USB: ADB access
      USB: External monitor - only for devices that support it
      Misc: Offline charging

      Not tested:

      Endurance: No reboot needed for 1 week
      Misc: Reset to factory defaults

      Sources

      https://gitlab.com/ubports/community-ports/android10/fairphone

      Install

      You need to have an Android 10 base flashed on your phone first. I assume the latest update should work.

      If you need to upgrade to Android 10 first (for example, if you already have installed the Halium 9 Ubuntu Touch build) and don't want loose your user-data, I prepared the 3.A.0129 stock rom, which does not touch your userdata, when flashing:
      https://www.androidfilehost.com/?fid=7161016148664802137

      If your device is upgraded or already running Android 10 just use the ubports installer, which you can download on this site:
      https://devices.ubuntu-touch.io/device/fp3/

      WayDroid (anbox-halium)

      Since everything changed again in the waydroid source, I removed the instructions.
      We should just wait until it is ready...

      Troubleshooting

      • It is likely to be needed, to format the data partition if you flash ubports the first time, which will delete all your personal files on the phone.
        I am not sure if a fastboot -w will be enough, or if it is needed to format the data partition using TWRP.

      • Some users report, that an initial boot to recovery is needed to boot system successfully. Otherwise the device hangs on boot-logo.
        However, if that happens, for me it was enough to "cold" boot the device (very long press on the power button until it reboots) after the first start, when it hangs on boot-logo.

      posted in Fairphone 3
      L
      Luksus
    • RE: Fairphone 3 (FP3)

      I updated the start-post.
      With the latest GSI v10 from Erfan, the phone gets very usable. I don't know of a real issue so far.

      posted in Fairphone 3
      L
      Luksus
    • RE: Ubuntu Touch Q&A 71 Saturday 7th Of March At 19:00 UTC

      Is that gstreamer-droid based camera only a Halium-thing or will it also come to current ports?

      posted in News
      L
      Luksus

    Latest posts made by Luksus

    • RE: Fp3 Dev Channel Video recording - No audio

      @stanwood thanks.

      posted in Fairphone 3
      L
      Luksus
    • RE: Fp3 Dev Channel Video recording - No audio

      @homer It seems to happen, if some system fu ction claims the microphone device and does not release it again.
      It happens for example, after connecting a bluetooth headset and trying to make a call (whicj does not work using the headset btw.).

      And there seems to be also some other causes (maybe waydroid) which lead to this bug.

      A reboot always helps.

      posted in Fairphone 3
      L
      Luksus
    • RE: Update of 4th August (devel)

      @dtarrant so if it is stuck on flashing firmware, you are either nit in fastboot mode or you maybe just need to click some ok/proceed button in the installer.

      posted in Lenovo Tab M10 X605F/L
      L
      Luksus
    • RE: No mobile data on BT service

      @lakotaubp @mikeand

      Both of you could share the content of the file /etc/ofono/ril_subscription.conf.
      Maybe there is some difference, which is needed for the provider?

      @Lakotaubp which device do you have?

      posted in Fairphone 3
      L
      Luksus
    • RE: No mobile data on BT service

      @mikeand maybe you could watch the APN settings in Android, to see if there is something different?

      posted in Fairphone 3
      L
      Luksus
    • RE: Tablet crash?

      @mrt10001 I am not sure what may have caused your device to reboot (or crash) initially... I have mine in the docking station and charging it for weeks sometimes, without a reboot.

      fastboot reboot recovery does not work on that device, I believe it did just a normal fastboot reboot instead.

      And yes, once the device gets stuck at the Lenovo boot-screen, it can be hard to get it to boot into UT again.

      posted in Lenovo Tab M10 X605F/L
      L
      Luksus
    • RE: No mobile data on BT service

      @mikeand Could you please share some screenshots, how your settings look like and what options are available?
      Like this ones:
      remmina_FP3_192.168.42.106_20220714-093740.png remmina_FP3_192.168.42.106_20220714-093712.png
      .
      .
      .

      Did you try to just uncheck the "Internet" access point? It worked for me on the Lenovo X605 Tablet in combination with a less common provider.

      posted in Fairphone 3
      L
      Luksus
    • RE: FluffyChat QML and Pantalaimon development

      @thrrgilag Thanks for stepping up on this.

      Since Cinny is relying on web-technologies , FluffyChat is much more performant, at least on my device (FP3).

      If some small things would be solved on FluffyChat, I would prefer using it over Cinny.
      That things are:

      • do not display edited messages mutliple times
      • make it possible to edit messages
      • properly display markdown formatted text
      • a proper E2EE solution, since using Pantalaimon tented to drain my battery fast

      Also FluffyChat does a better handling of the notifications.

      So, yes please, I would like to see some further improvements on FluffyChat. 🙂

      posted in App Development
      L
      Luksus
    • RE: unknown battery level

      @freeinside currently waydroid does not work. Theoretically it should work and I already had it running in an early development state, but since then it never worked again.

      So I hope it will work again in the future somewhere, but I don't know when this will be.

      posted in Lenovo Tab M10 X605F/L
      L
      Luksus
    • RE: unknown battery level

      @freeinside Maybe take a look here:
      https://forum.xda-developers.com/t/project-treble-gsi-images-on-smart-tab-m10-tb-x605f-l-and-p10-tb-x705f-l.4147201/

      posted in Lenovo Tab M10 X605F/L
      L
      Luksus