• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[Rom] Ubuntu touch [halium 9] with waydroid [10] support

Search This thread

mathew..denniss

Senior Member
Apr 26, 2017
61
31
Xiaomi Redmi Note 3
hy plz try this in terminal

ssh [email protected]

Bash:
#fix updated for waydroid 1.2
sudo -s
mount -o rw,remount /
mount -o rw,remount /var/lib/waydroid/rootfs/vendor

cp /system/lib64/libui.so /var/lib/waydroid/rootfs/vendor/lib64/libui.so
cp /system/lib64/libbinder.so /var/lib/waydroid/rootfs/vendor/lib64/libbinder.so
cp /system/lib64/[email protected] /var/lib/waydroid/rootfs/vendor/lib64/[email protected]
cp /system/lib64/[email protected] /var/lib/waydroid/rootfs/vendor/lib64/[email protected]
cp /system/lib64/android.hardware.configstore-utils.so /var/lib/waydroid/rootfs/vendor/lib64/android.hardware.configstore-utils.so
cp /system/lib64/[email protected] /var/lib/waydroid/rootfs/vendor/lib64/[email protected]
clear
echo "done , if it still dont boot check waydroid logcat"
 
Last edited:

schmanto

Senior Member
May 28, 2015
56
21
Just installed v4 directly on my kenzo (first boot.img through fastboot) - works pretty great, given it's so fresh!
A few more issues I have encountered so far:

- Audio doesn't work (even after hard-reset, as suggested)

- Can't play Audio/Video, I get the message "Fail to connect with playback backend."
--EDIT: after turning phone completely OFF and back ON, Audio and media now DOES WORK!

- in 'Accounts' the Keyboard does not appear (tried to add Nextcloud or CalDav)

- I'm also curious about Waydroid - the commands you suggested don't work for me, probably I'm missing something, as I'm not exactly sure how to apply them thb..,)

- probably more, still testing ...


Thank you so much for your amazing work!

--
 
Last edited:

mathew..denniss

Senior Member
Apr 26, 2017
61
31
Xiaomi Redmi Note 3
for waydroid
- connect kenzo to linux laptop then in PC terminal

Code:

- then execute the patch script one by one (see if any line fails ,else run waydroid logcat )

For audio
- try , normal reboot followed by a hard reboot (don't let go of the power button) ( if it works once then it should works even after the next reboot)
- back end issue will go away once audio comes online
- don't know the audio driver used by kenzo otherwise we could add a script to load it everytime

keyboard things are not device-specific (may get fixed in the coming ota s)
 
  • Love
Reactions: Crayvolt

schmanto

Senior Member
May 28, 2015
56
21
Thank you.. it worked now! I had to remove and re-install Waydroid, then the additional commands, and this time it started up pretty quick into LineageOS - amazing!

How can I access the internal storage within Waydroid? Any terminal commands? I know there is a file manager in LineageOS, but how do I transfer files into there?


Some additional feedback on the ROM in general..
- Incoming calls do come in, but only show up quickly and vibrate once, then disappear
- Outgoing calls do connect, but sound and mic don't seem to work, once connected
- SMS seems to work
 

schmanto

Senior Member
May 28, 2015
56
21
From the Terminal in Ubuntu Touch, you should be able to use adb push to copy files into the LOS environment.
Thank you, but adb doesn't seem to be working, at least for me.. neither on Ubuntu connected to a PC / Linux. The 'Developer Mode' switch doesn't seem to do anything (with Passcode)
 

Kitsunenene

Member
Dec 14, 2019
13
2
Thanks for your work. This project look interesting. I'm new with ubuntu so my question is can I turn this ubuntu phone into a vps server?
 

mathew..denniss

Senior Member
Apr 26, 2017
61
31
Xiaomi Redmi Note 3
Thank you.. it worked now! I had to remove and re-install Waydroid, then the additional commands, and this time it started up pretty quick into LineageOS - amazing!

How can I access the internal storage within Waydroid? Any terminal commands? I know there is a file manager in LineageOS, but how do I transfer files into there?


Some additional feedback on the ROM in general..
- Incoming calls do come in, but only show up quickly and vibrate once, then disappear
- Outgoing calls do connect, but sound and mic don't seem to work, once connected
- SMS seems to work
I guss that's why kenzo use pre build ril stuff
.. It might some time to fix
 

Kitsunenene

Member
Dec 14, 2019
13
2
An answer step by step below this thread describe what I want


But now we have ubuntu in ur phone, some how make it act like a server ubuntu we buy from Digital Ocean, Azure,...

I'm searched and try some way but look like it's not functional enough, some way just ubuntu emulator
 

mathew..denniss

Senior Member
Apr 26, 2017
61
31
Xiaomi Redmi Note 3
An answer step by step below this thread describe what I want


But now we have ubuntu in ur phone, some how make it act like a server ubuntu we buy from Digital Ocean, Azure,...

I'm searched and try some way but look like it's not functional enough, some way just ubuntu emulator
In ut ssh is enabled by default and if u want vnc there may be apps that u can install...
 
  • Like
Reactions: Kitsunenene

mathew..denniss

Senior Member
Apr 26, 2017
61
31
Xiaomi Redmi Note 3
Thank you.. it worked now! I had to remove and re-install Waydroid, then the additional commands, and this time it started up pretty quick into LineageOS - amazing!

How can I access the internal storage within Waydroid? Any terminal commands? I know there is a file manager in LineageOS, but how do I transfer files into there?


Some additional feedback on the ROM in general..
- Incoming calls do come in, but only show up quickly and vibrate once, then disappear
- Outgoing calls do connect, but sound and mic don't seem to work, once connected
- SMS seems to work
Which network did u test on.... Calls seem to work good on Vodafone for me on v4
 

nogemok

Member
Oct 23, 2021
7
1
@mathew..denniss
Thanks for doing this. I hope it eventually gets full functionality on kenzo.
Also, fingers crossed Ubuntu Touch takes off. We really need another player on the market, in this sad Apple-Google duopoly.
 
  • Like
Reactions: mathew..denniss

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Offline charging and bluetooth is now working on kenzo. Please find the patch below.

    Nb: this is a patch, u need to have ut v5 flashed for this patch to work.

    How to install?
    Connect kenzo to pc reboot to recovery, Unzip and run the script..
    If on windows copy paste the script to cmd hit enter..
    1
    Tried to cast to my laptop via Wireless Display (Miracast). Got up to this:

    View attachment 5498713


    ...but the connection would not proceed. Tried Miracast on my TV next. Connection succeeded but there was a black screen on the TV.
    thank you for testing it :)
  • 3
    This is an update to the post that I did a while back which can be found here. That was a port using halium 7. To be fair it was prity old and buggy. This one uses halium 9 (bugs are still plenty though ;-P ), and is a marginal improvement over the previous one.Yet this port was no means easy, in reality, this port was even more buggy at first ,but most of them were much easier to fix, as I got lots of help from the porting community.I was able to get it to a booting state in about 3 months time as compared to more than a year with halium 7 , to be fair the delay was also due to the fact that I was not exactly an android developer or a developer for that matter, and had to read a lot at first .

    anyways I share it here as I have reached a point where further bug fixing is beyond my capability . or in other words, Googling error codes and testing all possible methods /solutions don't seem to yield any meaningful full result, I do really wish someone better than me would look into it and make it even better ;- )

    In the meantime let me add more Verbose ;-P

    What is ubuntu touch

    ubuntu touch is different from other oses as it is fork of Linux as compared to all our favorite mobile oses being forks of android. in other words, it is a fully functional Linux os optimized to run on arm64 device in a touch environment.The original idea was conceived by canonical and later they stoped their work and open-sourced the project and transferred the assets to the ubports community, the community is actively improving it, and trying to bring it to feature parity with Android .

    whats working on this port

    • calls,data ,wifi
    • sound, vibration
    • auto rotation
    • manual brightness
    • Offline charging
    • GPS
    and other misc things

    whats partially working
    • camera (preview works ...can't click picture and take video)
    • fingerprint (fingerprint wakes the device but cant enroll fingerprints)
    • Bluetooth (everything works except file transfer)
    what does not work
    • auto-brightness
    one of the feature improvements amongst other things is waydroid

    Waydroid

    waydroid is a containerized approach to get an android environment running in a Linux system with the added advantage of full hardware access.so we can android apps and games natively. more details can be found
    here. to install way droid open terminal and paste the following
    sudo -s mount -o rw,remount / && apt update && apt install waydroid && waydroid init
    It also need a fix as waydroid is intended for treble devices which can be found in this post. Thank you @erfanoabdi for enabling support for non treble devices.

    Installation
    - flash the halium-boot and the following zip file
    - clean flash recommended
    - reboot after the initial setup is done

    Halium-boot .img
    ubuntu_touch_installer_Kenzo_halium9_v5.zip

    Please Donate
    I have spent a ton of my time on this port so please do consider donating. if you are in India please use this upi id -- > [email protected]
    else do pm me.

    default user password is a




    For the History book
    ubuntu_touch_installer_Kenzo_halium9_v4.zip

    ubuntu_touch_installer_Kenzo_halium9_v2.zip


    The sources
    [https://github.com/mathew-dennis
    [https://github.com/LineageOS
    [https://github.com/Halium
    [https://github.com/ubports


    Thankyou
    ubports community ,TheKit ,FlowHack, kn8rider divin, ari and everyone else

    changelog

    "Why not make something new from old code!"


    V5. 1 (this is a patch for v5)
    - bluetooth (everything else except file transfer )
    - offline charging
    - gps ( for real this time ;) ) ( as ut dont have A-GPS support 1st fix might take 5+ min ,then it should work as normal)

    v5
    - gps is working now ( it's broken again)
    -changed audio hal to a late start service
    -enabled wireless display option (should work on miracast devices ) (not tested )
    -fixes from ubports --> magnetometer and notification led is working and other fixes from ota 18 to ota 20
    v4
    - fixed issue with initial setup --thankyou Kn8Ryder
    -audio should come up more often during boot than before

    Telegram
    If you are interested in bug fixing and contributing to this project , report a bug , click here to reach Telegram group
    2
    Offline charging and bluetooth is now working on kenzo. Please find the patch below.

    Nb: this is a patch, u need to have ut v5 flashed for this patch to work.

    How to install?
    Connect kenzo to pc reboot to recovery, Unzip and run the script..
    If on windows copy paste the script to cmd hit enter..
    2
    hy plz try this in terminal

    ssh [email protected]

    Bash:
    #fix updated for waydroid 1.2
    sudo -s
    mount -o rw,remount /
    mount -o rw,remount /var/lib/waydroid/rootfs/vendor
    
    cp /system/lib64/libui.so /var/lib/waydroid/rootfs/vendor/lib64/libui.so
    cp /system/lib64/libbinder.so /var/lib/waydroid/rootfs/vendor/lib64/libbinder.so
    cp /system/lib64/[email protected] /var/lib/waydroid/rootfs/vendor/lib64/[email protected]
    cp /system/lib64/[email protected] /var/lib/waydroid/rootfs/vendor/lib64/[email protected]
    cp /system/lib64/android.hardware.configstore-utils.so /var/lib/waydroid/rootfs/vendor/lib64/android.hardware.configstore-utils.so
    cp /system/lib64/[email protected] /var/lib/waydroid/rootfs/vendor/lib64/[email protected]
    clear
    echo "done , if it still dont boot check waydroid logcat"