Ubuntu touch

TioCareca

Senior Member
Sep 8, 2010
2,451
1,159
193
Barreiro
Well the place project is stopped is here:

This the instructions:

The Device Repository

Next, we’ll fill the manifest with information. Start with your device repository. Create the following line between the <manifest> and </manifest> tags, replacing the information inside the square brackets with your own:

<project path="device/[manufacturer]/[device]" name="[repository name]" remote="[remote]" revision="[revision]" />

Note

The revision attribute may be omitted if the default revision for this remote is the one that you wish to use.

If you’re not sure of your remote, jump down to Remotes.
Dependencies

Now create more lines like the previous, using the cm.dependencies or lineage.dependencies file you found earlier in your device repository. This file lists all of the other repositories that you need to build for your selected device. It’s listed in a fairly straightforward way, so create a line for each of the entries in there using the following template:

<project path="[target_path]" name="[repository]" remote="[remote]" revision="[revision]" />

The target path is found in the repository’s name. The preceding “android” or “proprietary” is omitted and underscores are replaced with slashes. For example, android_device_lge_bullhead goes in device/lge/bullhead.

This is the file builded:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/xiaomi/beryllium" name="android_device_xiaomi_beryllium" remote="los" />

<project path="kernel/xiaomi/sdm845" name="los/android_kernel_xiaomi_sdm845" remote="los" revision="pgz-14.1-eb8" />

<project path="vendor/xiaomi" name="proprietary_vendor_xiaomi" remote="them" />

<project path="device/xiaomi/sdm845-common" name="android_device_xiaomi_sdm845-common" remote="los"/>
</manifest>

And this is the error:

[email protected]:/media/x/x/hal$ ./b.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/bash_completion/git.bash
including vendor/cm/bash_completion/repo.bash
build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/xiaomi/beryllium/lineage.mk]]: "build/target/product/product_launched_with_o_mr1.mk" does not exist. Stop.
Device beryllium not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Found repository: android_device_xiaomi_beryllium
Traceback (most recent call last):
File "vendor/cm/build/tools/roomservice.py", line 263, in <module>
default_revision = get_default_revision()
File "vendor/cm/build/tools/roomservice.py", line 117, in get_default_revision
return r.replace('refs/heads/', '').replace('refs/tags/', '')
AttributeError: 'NoneType' object has no attribute 'replace'
build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/xiaomi/beryllium/lineage.mk]]: "build/target/product/product_launched_with_o_mr1.mk" does not exist. Stop.
build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/xiaomi/beryllium/lineage.mk]]: "build/target/product/product_launched_with_o_mr1.mk" does not exist. Stop.

Don't have a product spec for: 'lineage_beryllium'
Do you have the right repo manifest?

including vendor/cm/vendorsetup.sh
build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/xiaomi/beryllium/lineage.mk]]: "build/target/product/product_launched_with_o_mr1.mk" does not exist. Stop.
Device beryllium not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Found repository: android_device_xiaomi_beryllium
Traceback (most recent call last):
File "vendor/cm/build/tools/roomservice.py", line 263, in <module>
default_revision = get_default_revision()
File "vendor/cm/build/tools/roomservice.py", line 117, in get_default_revision
return r.replace('refs/heads/', '').replace('refs/tags/', '')
AttributeError: 'NoneType' object has no attribute 'replace'
build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/xiaomi/beryllium/lineage.mk]]: "build/target/product/product_launched_with_o_mr1.mk" does not exist. Stop.
build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/xiaomi/beryllium/lineage.mk]]: "build/target/product/product_launched_with_o_mr1.mk" does not exist. Stop.

Don't have a product spec for: 'lineage_beryllium'
Do you have the right repo manifest?

No such item in brunch menu. Try 'breakfast'
 

tejjoshii

Senior Member
Mar 1, 2015
216
37
48
Gandhinagar
following for any update....
I hope you guys succeed... I heard it is quite difficult to port ubuntu touch for not supported device and people face many errors so they give it up. BTW i don't know anything about rom development. I am a total noob.
But best wishes to you guys
 
Last edited:

Linux Klaus

Senior Member
Jul 21, 2017
56
23
0
This sounds like a great idea. I am following the ubports community since a long time and just love the project. I cross my fingers that you succeed. I can't offer any help as I am lacking the brain capicity to code :D but my thoughts are with you. As @ tejjoshii already said, I also believe the porting processs is super complicated.
Have you heard of Maru OS. It's based on lineage os and debian or ubuntu. The building process seems pretty straight forward. You just need to patch the lineage os files with the maru os files. As our device sadyl doesn't have hdmi out we could usegoogle chromecast to mirror it to a screen (that#s how they do it with the nexus 5x)- Maybe that would be for the meantime a good alternative. It combines the good two worlds of android and linux. When you connect it to a screen it boots up a full linux system. It's fully open source :) At the moment the htc 10, samsung galaxy s9, nexus 5 and nexus 5x and some other devices are supported.

https://groups.google.com/forum/#!forum/maru-os-dev

https://maruos.com/#/
 
  • Like
Reactions: TioCareca

dsvilko

Member
May 23, 2012
47
22
0
I know it's not exactly ubuntu touch but I am running a recent Ubuntu installed alongside the Android through UserLAnd app. My phone is not even unlocked/rooted (the app uses proot). Thanks to the fast built-in storage on our phone, it's actually running quite decently. The xfce4 desktop is quite usable and so are the more demanding programs like gimp, inkscape, libreoffice, rawtherapee. The speed is comparable to my older iMac with the i5 processor. As you don't get a direct display access, you start X through vncserver and connect to it through an android vnc client. It's cool that it basically acts just like another android app so you get to enjoy the best of both worlds. It's too bad we can't easily connect our phone to and external monitor like I could with my old galaxy S5.
I've been running a linux distro on my phones for more than 7 years and for me it's one of the coolest things about android - that you can reuse existing linux kernel to run a full linux distribution.
 
  • Like
Reactions: pierro78

Linux Klaus

Senior Member
Jul 21, 2017
56
23
0
Can someone explain what would maru OS offer that is not already available through UserLAnd?
Please correct me if I'am mistaken I don't have much experience with userland. When you run linux through userland can you mirror it to a big screen? But I believe the difference is that when you start Linux through userland you can't use the android part of the phone at the same time. Is that correct?

With Maru OS I believe it's different. Once you connect your phone with a cable or wirelesse solution to a screen it automatically boot up full linux distro (people are running ubuntu and debian at the moment and some seem keen to experiment with kde). Yo can use still the android part of your phone as regular, do phone calls etc.?


Here is an older video to give you a rough idea:

https://www.youtube.com/watch?v=iF7yK7HAyVM





Here is also a great interview with one of the main devs at latenight linux.





https://latenightlinux.com/late-night-linux-episode-59


You might also want to read though the posts in their dev group:

https://groups.google.com/forum/#!forum/maru-os-dev
 
  • Like
Reactions: Hero_Render
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone