General Ubuntu Touch running on my Fold 3 | WIP/Development

Search This thread

Azkali

Member
Dec 12, 2019
19
28
azka.li
Hi everyone,

I am currently porting ubuntu touch my Fold 3 and got some of the main features to work (booting the device to desktop/lomiri) figured that some of you might be interested.
I am looking for developers who would like to help on the port, who may have more experience than I do :)

WorkingPartially working / need improvmentNot working
- WiFi
- BT
- GSM (no audio during calls)
- Lomiri
- Orientation
- Most sensors (ambiant light, light, accelerometer etc...)
- WayDroid
- Battery indicator
- DP over USB C
- Cameras (orientation is 90 degrees off)
- LTE/Hotspot
- Audio (speakers and mic)
- Flashlight
- Brightness

Telegram Group (as XDA guideline ask me to mention, the telegram group is not intended to divert support provided on XDA)




2023/02/04 Update: HI folks, since multiple of you asked, no, the project is not dead I decided to update the build to Focal and have a working image, the issues listed reflects the current state of the build. I also updated my TWRP build (mostly uncluttered it and using a kernel Image from my fork instead of the stock recovery kernel Image).

2023/05/11 Update: Just fixed battery indicator, had some issues with Android 13, so I updated the kernel (used in ubuntu touch boot image) to the latest from Samsung.
Will soon update my TWRP build as well (even though the android 11 kernel still boots fine here). I am also currently looking in proper support of the the two displays.

As of now the dual display is a major issue and can cause screen burns on outer display (because my patch doesn't turn off the screen properly like it should but I'll fix that soon)
 

Attachments

  • WIN_20221012_00_50_10_Pro.jpg
    WIN_20221012_00_50_10_Pro.jpg
    703.4 KB · Views: 773
Last edited:

Azkali

Member
Dec 12, 2019
19
28
azka.li
So here is my TWRP build :
And it's sources:

And here is the ubtouch overlay source (the currently built CI artifacts don't work because I need to fix the boot image creation, please don't use them if you're not a developer)

And finally the kernel I used (based on CVCA - EUX revision) :
 

boba19xx

New member
Oct 21, 2022
1
0
Samsung Galaxy Z Fold3
Hi everyone,

I am currently porting ubuntu touch my Fold 3 and got some of the main features to work (booting the device to desktop/lomiri) figured that some of you might be interested.
I am looking for developers who would like to help on the port, who may have more experience than I do :)

WorkingPartially working / need improvmentNot working
WiFi, GSM (call and texts), UI, more that are not listed in the two other columns- Orientation defaults to landscape
- Sound and mic during calls
- device defaults to desktop mode
- battery indicator doesn't report the main battery properly
- Bluetooth (after pulling qcacld-3.0 for wifi.. was working before that)
- cellular data
- Waydroid
How can I be of service
 

Azkali

Member
Dec 12, 2019
19
28
azka.li
If you have any development experience I'd love to get help on any of the issues listed above, some are kernel related (bluetooth), some might be workable with configurations file (audio HAL, Orientation), and others I haven't figured out yet.

If you don't have any development experience, I also have a patreon, I work in a few open source software communities and put a lot of my time doing ports of OS and/or improving the experience on some devices.

Here is the link to said patreon: https://www.patreon.com/azkali

And just to be clear you're free to do whatever, I will be working on the projects regardless :)
 

lightskreen

Member
Oct 3, 2014
8
0
Milwaukee
So here is my TWRP build :
And it's sources:

And here is the ubtouch overlay source (the currently built CI artifacts don't work because I need to fix the boot image creation, please don't use them if you're not a developer)

And finally the kernel I used (based on CVCA - EUX revision) :
I'm surprised you haven't made a post in development about a working twrp image for this phone. Does this only work with your ubuntu touch port?
 

Azkali

Member
Dec 12, 2019
19
28
azka.li
Another one exist and I initially wanted to fix more issues before making another post. Btw I am still working on ubuntu touch port and have it updated to focal which should improve a lot of things and open up new doors. But Ithe dual display of the fold causes issues which I have to fix
 
Another one exist and I initially wanted to fix more issues before making another post. Btw I am still working on ubuntu touch port and have it updated to focal which should improve a lot of things and open up new doors. But Ithe dual display of the fold causes issues which I have to fix
I still interesed and imagine, that we can use UT and GSI A13 dualboot in A/B slot
 

Zeioth

Member
Feb 5, 2012
14
2
I would kill for this. I currently use Termux inside Android as a pocket laptop, but it has one big limitation: You can't run docker on it. The kernel must be compiled to support it.
 

harrypotnik3

New member
Feb 25, 2019
2
1
Hi @Azkali ,

Question: What does your fold Z 3's pen currently do? Digitizer and pressure sensitivity working or just as static input?

I previously worked on some of the documentation for the stalled/discontinued Samsung Note 4 (trelte) UBPorts port: (https://devices.ubuntu-touch.io/device/trlte) that "Tigerpro" was slaying - until the VoLTE transition killed his efforts.

Can you post the discord link? Us Signal folks can't access through Telegram...

I'd suggest getting your device pushed into the favored UBPorts device tree format; a lot more eyeballs will get in on this as a port-in-the-works. I'm pretty sure Alfred Neumayer wants to know about this effort - or perhaps has seen your device already at FODEM2023? There's an image of a fold in their newsletter(?).

@Zeioth Me too! This would be my unicorn device I've been waiting for literally half a decade. I'm not afraid of patreon support once VoLTE issues are solved upstream. T-mo dependent here in USA.

Looking for status updates.
 
  • Like
Reactions: Azkali

Azkali

Member
Dec 12, 2019
19
28
azka.li
Hi @harrypotnik3

First of all thanks for the interest you showed in that project.
As of know, pen support is not in the top priority of the issues I want to fix, I'd like to get the most critical parts fixed before investigating if there is a need for it.

Here is a link to the discord server
My tag on Discord: azkali#1570

I hope that the XDA team will understand that I am not trying to divert support.

I've already discussed with @notkit on telegram about the merge, but it can't get merged until the device has full support, NotKit also recently received a Fold 3 which they should be helping me with.

Also thanks for sending the newsletter link, since I am pretty disconnected from newsletters and medias (I should work on improving that though) I wasn't even aware about that fact.

A few additional notes for everyone, I also recently added support in Renegade edk2 and also been working with another developer, with whom I ported his fork of MU project, both are using simple init and are aimed at making multi boot easier.

Following that news, some might be interested to know that I simultaneously and progressively work on porting windows to the device, it's still a work in progress but I got Windows PE to launch with no userspace driver support.

Don't hesitate to join the Discord I am active daily on Discord (it's the best way to reach me currently)

Regarding the Fold, I am working in an other FOSS project and got side tracked by critical issues I needed to fix (currently wrapping that up, might take me one or two supplementary days hopefully) but rest assure that I intend to bring full support for UB on the device.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    Hi everyone,

    I am currently porting ubuntu touch my Fold 3 and got some of the main features to work (booting the device to desktop/lomiri) figured that some of you might be interested.
    I am looking for developers who would like to help on the port, who may have more experience than I do :)

    WorkingPartially working / need improvmentNot working
    - WiFi
    - BT
    - GSM (no audio during calls)
    - Lomiri
    - Orientation
    - Most sensors (ambiant light, light, accelerometer etc...)
    - WayDroid
    - Battery indicator
    - DP over USB C
    - Cameras (orientation is 90 degrees off)
    - LTE/Hotspot
    - Audio (speakers and mic)
    - Flashlight
    - Brightness

    Telegram Group (as XDA guideline ask me to mention, the telegram group is not intended to divert support provided on XDA)




    2023/02/04 Update: HI folks, since multiple of you asked, no, the project is not dead I decided to update the build to Focal and have a working image, the issues listed reflects the current state of the build. I also updated my TWRP build (mostly uncluttered it and using a kernel Image from my fork instead of the stock recovery kernel Image).

    2023/05/11 Update: Just fixed battery indicator, had some issues with Android 13, so I updated the kernel (used in ubuntu touch boot image) to the latest from Samsung.
    Will soon update my TWRP build as well (even though the android 11 kernel still boots fine here). I am also currently looking in proper support of the the two displays.

    As of now the dual display is a major issue and can cause screen burns on outer display (because my patch doesn't turn off the screen properly like it should but I'll fix that soon)
    3
    I fixed the CI issues I had, and a developer is giving me some help, we'll see where it goes :)
    3
    So here is my TWRP build :
    And it's sources:

    And here is the ubtouch overlay source (the currently built CI artifacts don't work because I need to fix the boot image creation, please don't use them if you're not a developer)

    And finally the kernel I used (based on CVCA - EUX revision) :
    2
    Please keep working on this, the Fold is pretty neglected here. Hope this comes out
    2
    Would be great if it works. I have tried it on the Redmi Miatoll.
    Is there any Telegram channel in which you post advances?
    Hi, I am not super active on Telegram but I opened a discord channel I can send you a link if you want but it's pretty empty currently