Android-x86 How to open serial debugging

Source: Internet
Author: User

Android-x86 Grub is a relatively old way of using Ubuntu, to grub Kernel's

How to open the Android-x86 serial debugging mode, using the following steps:

(1) Mount SDA1:

Mkdir/data/fs

Mount-t ext2/dev/block/sda1/data/fs

(2) Modify the Menu.lst file

This file saves the grub configuration and is modified as follows:

[Email protected]:/data/fs/grub # Cat Menu.lst default=0timeout=6splashimage  =/grub/android-x86.xpm.gzroot (hd0,0) title android-x86 4.4-r1 Kernel/android-4.4-r1/kernel console=ttyS0,115200,n8 Root=/dev/ram0 androidboot.hardware=android_x86 video=-16 src=/android-4.4-r1 initrd/android-4.4-r1/initrd.imgtit Le android-x86 4.4-r1 (Debug mode) Kernel/android-4.4-r1/kernel Root=/dev/ram0 androidboot.hardware=android_x86 VI        Deo=-16 debug=2 src=/android-4.4-r1 initrd/android-4.4-r1/initrd.imgtitle android-x86 4.4-r1 (DEBUG nomodeset) Kernel/android-4.4-r1/kernel nomodeset root=/dev/ram0 androidboot.hardware=android_x86 video=-16 DEBUG=2 SRC=/androi D-4.4-R1 initrd/android-4.4-r1/initrd.imgtitle android-x86 4.4-r1 (Debug video=lvds-1:d) kernel/android-4. 4-r1/kernel video=lvds-1:d root=/dev/ram0 androidboot.hardware=android_x86 video=-16 DEBUG=2 SRC=/android-4.4-r1 in Itrd/android-4.4-r1/initRd.img[email protected]:/data/fs/grub #  

Console=ttys0,115200,n8originally for quiet, now changed to CONSOLE=TTYS0,115200,N8, so that after restarting the Android device serial port to the PC, you can on the PC through the serial port to operate the Android backstage

This is also a method or means that must be used in debugging

Android-x86 How to open serial debugging

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.