美文网首页
Ubuntu 17.10 & AOSP 7.1 note

Ubuntu 17.10 & AOSP 7.1 note

作者: 杜宇Nov | 来源:发表于2017-12-13 16:05 被阅读0次

Ubuntu 17.10 install in xps9560

  1. Freezes at boot time
  • it's because the nvidia card does not work well with the open-source driver in this ubuntu version
    solution:
    i. add 'nomodeset' to boot cmd line
    ii. after boot into ubuntu, install the proprietary driver for NVIDIA in 'Additional Drivers'
    iii. upgrade grub and reboot

AOSP 17.10 build

  1. Memory issue ninja: fatal: fork: Cannot allocate memory
  • quite weird as I have 16G RAM, and this only happens in ENG build.

MTK SP Flash tool

  1. install the libusb-dev
    sudo apt instatll libusb-dev
  2. In order to avoid running the flash_tool as root user, you need to add a standard user to the usergroup "dialout"
    sudo adduser username dialout
    newgrp - dialout
  3. the above 2 might be enough, but I added a persistent udev rule for the MTK Preloader also:
    sudo gedit /etc/udev/rules.d/80-persistent-usb.rules
    SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="0e8d", ATTR{idProduct}=="*"

相关文章

网友评论

      本文标题:Ubuntu 17.10 & AOSP 7.1 note

      本文链接:https://www.haomeiwen.com/subject/ahddixtx.html