The newest device is the meizu 5 pro. It was 'released' with ubuntu touch last week.
Sadly, you have to order it from a chinese shop.
I ordered it and am still waiting for it to arrive.
Posts
-
RE: Which device (phone) is best atm for some testing?
-
RE: Flashing Ubuntu Touch to ZUK Z1
Hi Frano212,
I stopped working on the port. It does boot up into adb but graphics and so on are not working. It is very hard to get help, so i will just buy the new meizu pro 5 .... -
RE: Flashing Ubuntu Touch to ZUK Z1
@frantisheq That looks like a nice phone to me, never heard about it before. You might have more luck than me with this one as it is running KitKat
I got the Z1 booting into adb but that is all i achieved. Everything that relies on the vendor-blobs (like graphics, network ...) is not working. The reason for this is most likely the fact, that I only have vendor blobs for android 5.1.1 which don't match the Kitkat Android that is used in Ubuntu Touch.I will not upload my sources as i don't know how to do that in a clean way but i would love to help you in getting your port booting to adb.
Since your phone is not supported by Cyanogenmod (that's where I got the kernel and device sources for mine) your best bet might be to use the device/kernel from the oneplus one. The SOC is the same, so booting (without graphics and so on) might work with those sources.
One problem you will have is, that you can't get the device tree sources for your device. One way to get around this is to dump your Android boot.img and extract the dt.img from there with the unpackbootimg tool.
Note: There is a difference between the 'device' folder in your build directory and the device-tree i am talking about right now. That is something that confused me in the beginning.
You can get an introduction to device trees here.I am also a beginner at all of this but I would love to help, so let me know if you need help
-
RE: Redmi Note Dior bootloop. Device keeps restarting.
Did you try to boot with the debug option removed from the cmdline?
I had the same symptom as you (systemd-udevd prints hundreds of messages per second until the phone reboots).
For some reason this only happens with the debug option set.please compare this (with 'debug' and bootloop):
http://paste.ubuntu.com/14667442/
with this (no 'debug' and no bootloop):
http://paste.ubuntu.com/14667455/ -
Is boot.img sufficient to boot into adb?
Is it sufficient to flash only the boot.img to boot into adb?
I am asking this because i can compile the boot.img but there are still errors with the system.img and recovery.img. Now my goal is to test the boot.img alone just to see whether it boots or not.
-
RE: Flashing Ubuntu Touch on Nexus 6p
One problem you will run into is, that the vendor blobs that you have to extract from your phone are designed for android 6.0.0 or 6.0.1 while the source you downloaded with phablet-dev-bootstrap is based on android 4.something
I heard chances are high that this will not work together
-
RE: Flashing Ubuntu Touch on Nexus 6p
Please take a look at the Ubuntu porting guide: https://developer.ubuntu.com/en/start/ubuntu-for-devices/porting-new-device/#anchor3
Your device/huawei/angler/BoardConfig.mk will have a variable TARGET_KERNEL_SOURCE which has to point to your kernel sources.
The guide is a bit unspecific about the vendor blobs so i suggest to read the following: http://wiki.cyanogenmod.org/w/Build_for_angler#Extract_proprietary_blobsGood luck
-
RE: Redmi Note Dior bootloop. Device keeps restarting.
Since there is few feedback to your question I will write all things that i noticed in your log:
-
You have 'androidboot.hardware=dior' on your cmdline. I saw 'androidboot.hardware=qcom' very often for qualcom devices.
-
Your logs say your device is loading udev rules from /lib/udev/rules.d/ but ubuntu-touch-install is copying the udev file to /usr/lib/lxc-android-config inside the system.img.
-
The log has this line: 'Machine: Qualcomm MSM 8226 (Flattened Device Tree), model: Qualcomm MSM 8926 H3-LTE' but your Xiami Redmi 4G seems to have an MSM8928 SoC. (three different numbers here)
-
-
RE: Flashing Ubuntu Touch on Nexus 6p
Yes it is downloading 15GB and also some "useless stuff for other devices".
But this useless stuff is very small, maybe 50MB.Your next step will be to find the device and kernel sources for your device and place them in the appropriate folders.
You also have to either download the vendor blobs or extract them from your phone.It also helps to have the cyanogenmod sources for your device as reference. (another 30GB)
After these steps you can try to build Ubuntu touch for your device. There will be a lot of errors and you will have to solve them one by one
-
RE: Redmi Note Dior bootloop. Device keeps restarting.
First guess:
Did you name your udev file '70-dior.rules' ?
(you also have to change the rootstock-touch-install file to get it copied to the device) -
RE: Flashing Ubuntu Touch to ZUK Z1
I have no bootloop. The phone just gets stuck, showing me the vendor-logo (no lsusb entry and no adb).
I can user power+volup+voldown to get into recovery but i never had the /proc/last_kmsg file.What i did so far:
I unpacked my boot.img and double checked that all parameters (pagesize, base, ramdisk-offset, tags-offset) are exactly the same as in the boot.img from a recent cyanogenmod nightly.
I also made sure that the dt.img is exactly the same by repacking my boot.img with the dt.img from cyanogenmod. -
RE: Flashing Ubuntu Touch to ZUK Z1
Part of my problem was, that the BoardConfig.mk form cyanogenmod declares the variables
BOARD_KERNEL_TAGS_OFFSET := 0x01E00000
BOARD_RAMDISK_OFFSET := 0x02000000Those variables are not used by the ubuntu makefiles, so i changed those two lines to:
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x02000000 --tags_offset 0x01E00000
Sadly, it still doesn't boot.
-
RE: Flashing Ubuntu Touch to ZUK Z1
Thanks for the hint.
I assume i have to modify the content of the config files to match my productID and vendorID?
But where can i get the udev file for my device? I read the UT porting guide and it says:You can create the udev rules file by invoking the following command while Ubuntu is booted:
adb shell cat /var/lib/lxc/android/rootfs/ueventd*.rc|grep ^/dev|sed -e 's/^/dev///'|awk '{printf "ACTION=="add", KERNEL=="%s", OWNER="%s", GROUP="%s", MODE="%s"\n",$1,$3,$4,$2}' | sed -e 's/\r//'BUT i cant boot ubuntu yet... So where to get the udev rules? do i have to create them manually?
I tried to use mariogrip's udev rules for his oneplus one (same system on chip) but it still doesn't boot -
RE: Flashing Ubuntu Touch to ZUK Z1
The problem seems to be, that recovery isn't mounting
/dev/block/platform/msm_sdcc.1/by-name/userdata as /data
I mounted it manually now, then flashed the system.img but it still doesn't boot.
Maybe that is also because it doesnt mout userdata correctyl.Can someone please help me? Where can i adjust those mountpoints?
-
Flashing Ubuntu Touch to ZUK Z1
Hi, I am now back at the state where I can successfully compile UT. All .img files are generated.
Now i am using fastboot to flash boot and recovery and everything seems to be fine.
Recovery boots without errors (The keys are weird, i have no button to 'select' an entry, only up/down are working, but thats another topic)Ok, then i am trying to flash the system with:
./rootstock-touch-install Downloads/debug/vivid-preinstalled-touch-armhf.tar.gz phablet/out/target/product/ham/system.imgAfter that, i can't boot it because i am stuck at the vendor-logo.
Back in recovery i have no last_kmsg file.I took a look at the directory structure using adb shell while the phone is in recovery and i noticed the following:
I have the folder /data, but it is empty, besides a 'media' folder (which is empty).Do you have any idea what is wrong here?
-
RE: sepolicy conflicts
I had recovery booting without errors, but ubuntu just stopped on the vendor logo as already said.
After hours of trial and error i got frustraded and deleted everything.
Am im now giving it a second try -
RE: sepolicy conflicts
Thanks for your fast answer
Setting selinux=permissive in kernel cmdline will not stop the checks at compile time from failing, so i deleted the folders and the errors were gone.
Sadly the boot got stuck on the vendor logo and the phone didnt even show up in lsusb....
And now my question is, why is it not booting? I want to be sure, that this selinux stuff is not needed for the boot, thats why i am asking here -
sepolicy conflicts
Hi, i am trying to port UT to the ZUK Z1.
One major problem i am facing is that there are a lot of errors because of the *.te files in some sepolicy folders.
But before digging into all this selinux stuff i want the phone to boot.
As a first approach, is it safe to just delete all of these policies (all sepolicy folders) or will this stop my port from booting?