No Permissions FastBoot

Source: Internet
Author: User

No Permissions FastBoot

Get FastBoot file

1. After compiling the Android source code will be in the directory:

andsource2/out/host/linux-x86/bin

Generate FastBoot File

Add to environment variable

1. Use VIM to enter the environment variable configuration file:. BASHRC

Vim ~/.BASHRC

2. Add fastboot environment variable

Path= $PATH: ~/andsource2/out/host/linux-x86/bin


3. After saving, source ~/.BASHRC

Modify Permissions

1.fastboot-l devices

No Permissions FastBoot usb:2-1.x (x is version, it doesn't matter, it doesn't have permission anyway)

2. Add permissions to change the owner attribute of the FastBoot to root:

A. which fastboot (command to find the directory where the FastBoot is located;)

Which FastBoot
/home/likewise-open/xxxxx/andsource2/out/host/linux-x86/bin/fastboot

B. then enter this directory;

C. Re-use the command chown to change its properties:

sudo chown root:root fastboot

sudo chown root:root fastboot


xxxxxubtpc:~/andsource2/out/host/linux-x86/bin$ ls-l FastBoot
-rwxrwxrwx 1 root root 599112 June 1 20:13 fastboot

3. Change its permissions:

sudo chmod +s fastboot

sudo chmod +s fastboot


xxxxubtpc:~/andsource2/out/host/linux-x86/bin$ ls-l FastBoot
-rwsrwsrwx 1 root root 599112 June 1 20:13 fastboot

At this point fastboot configuration is complete, can be burned into the corresponding IMG file.
--------------------------------------------------------------------------------------------------------------- ----------------

Burn in img


FastBoot Flash Cache Andsource2/out/target/product/xxxxxxxxxxxxxxx/cache.img
Sending ' cache ' (5348 KB) ...
OKAY [0.251s]
Writing ' Cache ' ...
OKAY [1.079s]
Finished. Total time:1.341s

Reprint http://m.blog.csdn.net/blog/shi_xin/28093705

No Permissions FastBoot

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.