Compiling Ubuntu Touch for Xiaomi Redmi 1s
alexforsale last edited by NeoTheThird
I'm compiling Ubuntu Touch for Redmi 1s, the build tree i'm using is from https://github.com/janimo/android/tree/phablet-cm-11.0 and with addition:
the problem I'm having right now is the BOARD_KERNEL_CMDLINE defined is not passed to the kernel (my last kmsg http://paste.ubuntu.com/13100099/)
I even try to change it from the kernel defconfig (CONFIG_CMDLINE) but it still didn't change
try this tool to check the header of your bootimage
wget https://dl.dropboxusercontent.com/u/56653875/ubuntu/boot_info && chmod +x boot_info ./boot_info boot.img
and look if "Command line:" is correct.
alexforsale last edited by
I sort of figured out what's wrong, I've unpacked the boot.img using the unpackbootimg from the build, the command line paramater was actually empty. https://github.com/alexforsale/android_device_xiaomi_armani/commit/883d3f8c1c7e5eef97d4e4b21b0c2f5976ded8ac and the command line from BoardConfig.mk is now picked up, http://paste.ubuntu.com/13141705/
now the device is detected from lsusb, but still no adb, i think the partitions are not mounted correctly
pil-q6v5-mss fc880000.qcom,mss: mba: Failed to locate mba.mdt, i did try symlink the firmware in https://github.com/alexforsale/android_device_xiaomi_armani/blob/phablet-4.4.2_r1/Android.mk, the thing is, in the actual CM 11 this device doesn't have the symlink-ed firmware files in the /system/etc/firmware or system/vendor/firmware
alexforsale last edited by alexforsale
I think it got past the mounting process, still no adb detected, but the /data/system-data/ starting to creating logs
- lightdm.log http://paste.ubuntu.com/13215438/
- unity-system-compositor.log http://paste.ubuntu.com/13215440/
also there's alot on /data/system-data/var/log/upstar, but I think this is troubling:
ykapoor last edited by
Anyone still working on this one?
advocatux last edited by
@ykapoor I don't think so. There are some work in progress on other Xiaomi models though, as you can see at https://github.com/Halium/projectmanagement/issues?utf8=✓&q=is%3Aissue+is%3Aopen+xiaomi
UniSuperBox last edited by
@ykapoor, please do not bring up very old threads. The last post here was over three years ago.