-
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.
-
can u send me link to last_kmsg? I am getting them now. When your device bootloops reboot back to bootloader directly and then boot (not flash) recovery.img from ubuntu build. Then get the last_kmsg and dmesg with following command:
adb shell cat /proc/last_kmsg > last_kmsg
And then pastebin it and send me link. I'll see if i can help.
-
This post is deleted! -
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. -
@ChrisLuck Dont worry about lsusb. Even i am not getting that right now. Give me your github sources link. Let me look at that. I am getting recovery logs now. Thankfully. But unfortunately there's not much support out there so progress is very slow.
-
@ChrisLuck can you publish sources? i am porting CM to lenovo vibe z2 pro and i'd like to port ubuntu to it. thank you
-
@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
-
thanks, i have kernel sources for 4.4 nad 5.0 and already working CM12.1 here http://forum.xda-developers.com/t/k920
i'll just try to port cm11 first and then we'll see -
Hi, I'd really love to have Ubuntu touch on my zuk but I know barely anything.
Can someone help me? Thanks -
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 ....