Hide the virtual keys under Android

Source: Internet
Author: User

To hide the virtual keys under Android, you can do this by

[CPP]View PlainCopy 
    1. ADB root
    2. ADB remount
    3. ADB shell ls-al/system/build.prop (view file permissions)
    4. -rw-r--r--root root 4237 2015-11-19 04:34 build.prop
    5. ADB shell Pull/system/build.prop./(Take the file out and modify it)
    6. Gedit Build.prop
    7. Qemu.hw.mainkeys=1 //Plus this definition, equivalent to turning off the virtual key
    8. ADB shell push Build.prop/system (Put the modified file back)

adb shell chmod 644/system/build.prop (retains the original attribute)

Restart the machine, the virtual button is hidden.

The reason to modify the file properties is because the property has changed during the transfer process, and if the property is not correct, it will cause the system not to boot.

Of course, this is only a temporary modification method, if you want to permanently modify the property, just write the source code in Qemu.hw.mainkeys=1,

The Build.prop in the out directory is generally defined in the Xxx.prop file.

Hide the virtual keys under Android

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.