UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Luksus
    Offline
    • Profile
    • Following 0
    • Followers 11
    • Topics 15
    • Posts 635
    • Groups 0

    Luksus

    @Luksus

    Apps

    https://open-store.io/?sort=relevance&search=author%3Aluksus42

    Ports

    • https://forums.ubports.com/category/65/fairphone-3
    • https://forums.ubports.com/category/111/lenovo-tab-m10-x605f-l
    • https://gitlab.com/ubports/porting/community-ports/android9/motorola-sdm660/motorola-nash
    • https://gitlab.com/ubports/porting/community-ports/android9/oneplus-5/oneplus-cheeseburger-dumpling
    176
    Reputation
    642
    Profile views
    635
    Posts
    11
    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
      LuksusL
      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
      LuksusL
      Luksus
    • RE: OP5T removed from device list 20.04...

      To make it short: the OP5T will still be supported in the future, since I am involved in the port.
      Just need to figure out, why it was removed in the list of supported devices, maybe because of inactivity/no progress in the last year...

      posted in 20.04 Focal Fossa
      LuksusL
      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
      LuksusL
      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
      LuksusL
      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
      LuksusL
      Luksus
    • RE: Add Lenovo X605 to the UBports installer

      The X605 is now available in the ubports-installer.

      posted in Devices
      LuksusL
      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
      LuksusL
      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
      LuksusL
      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
      LuksusL
      Luksus

    Latest posts made by Luksus

    • RE: OP5T removed from device list 20.04...

      @Moem The thing is... we currently have one port (official one), based on the "full-system-image" build, and a second one based one the "standalone-kernel" method.
      The second one, is the one we want to support further. But we somehow need to do a migration, from the first to the second port...

      Currently, the plan is to make it available with UT 24.04.
      But I am still not sure, how that will work.

      @messayisto both ports are targeting both device version, so the OPO5 is still part of the show.

      posted in 20.04 Focal Fossa
      LuksusL
      Luksus
    • RE: 2Gb/16Gb version of TB-X605L

      @MrT10001 I remember that it worked by flashing it via fastboot.
      Installer was never working because it was not possible to create a working ut recovery for it.

      posted in Lenovo Tab M10 X605F/L
      LuksusL
      Luksus
    • RE: Latest update means a no boot device.

      Tomorrow, the installer should work again for focal.

      posted in Lenovo Tab M10 X605F/L
      LuksusL
      Luksus
    • RE: Latest update means a no boot device.

      @MrT10001 Yes, I was testing a rootfs.img on data partition, instead of systempartition and found that it boots more stable. But it seems that, when installing it using ubports installer, something doesn't work yet.

      I will rollback the change, for now.

      posted in Lenovo Tab M10 X605F/L
      LuksusL
      Luksus
    • RE: Errors after re-install

      @Scofus you can use the UT Tweak Tool from openstore.
      There you need to select "apps" in the menu and then search for the gallery app.
      There you can clear cache and other data of that app.

      posted in Support
      LuksusL
      Luksus
    • RE: Errors after re-install

      @Scofus did you already try, to clear your gallery app cache folder?

      posted in Support
      LuksusL
      Luksus
    • RE: Add Lenovo X605 to the UBports installer

      @castpixel no, the M11 is a totally different tablet.

      posted in Devices
      LuksusL
      Luksus
    • RE: No rule to make target 'halium.config'.

      @arcaege sure, can you please post a link here to that point in the guide?

      posted in Porting
      LuksusL
      Luksus
    • RE: No rule to make target 'halium.config'.

      @arcaege it is uncommon to name a defconfig file with an extension *.config.
      Maybe try to rename it to "halium_defconfig" or whatever.

      posted in Porting
      LuksusL
      Luksus
    • RE: OP5T removed from device list 20.04...

      To make it short: the OP5T will still be supported in the future, since I am involved in the port.
      Just need to figure out, why it was removed in the list of supported devices, maybe because of inactivity/no progress in the last year...

      posted in 20.04 Focal Fossa
      LuksusL
      Luksus