Ubuntu 17.10 & AOSP 7.1 note

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}=="*"
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • **2014真题Directions:Read the following text. Choose the be...
    又是夜半惊坐起阅读 9,941评论 0 23
  • NAME dnsmasq - A lightweight DHCP and caching DNS server....
    ximitc阅读 2,936评论 0 0
  • 感恩爸妈对我的疼爱和关心! 感恩女儿越来越独立,很懂事的自己在小区里和小伙伴们玩耍了一天,还时不时的回店里来向我报...
    A曼均阅读 189评论 0 0
  • 1 小区住的人越来越多,车位越来越紧张。可是,桃树下一个绝佳的车位,却长期放着“禁止停车”的牌子。真的只是放一张牌...
    留栩言阅读 878评论 1 49
  • 伴着浓浓的雾霾,粗略翻完了凯文林奇的《城市意象》。 关于城市,每个人都有自己的理解和认识。同一个城市,对于生活在这...
    想弹琴的砂子阅读 1,386评论 0 1