Android-4.4_r1

Source: Internet
Author: User
Tags disk usage ssh secure shell

20160228

1.

From the New Year holiday began to download, until last night to really finish, lasted long enough ...

2.

A succession of downloads, so that the virtual machine ubuntu12.04_desktop_amd64 now occupy 112G of hard disk space ... Fortunately, it was assigned a 120G hard drive.

Spring Festival Holidays during the download of a variety of broken network (light cat connection, f/q software connection, and Google server connection) ...

ZC: I estimate that each time the network re-download, will make the temporary files become more, so occupy more and more space on the hard disk ...

ZC: Some downloaded modules will need to be downloaded from scratch after the network is disconnected. If downloaded to 99%, broken a few times, observed that seemingly not from the last place to continue to download, that is, for some modules it does not have a breakpoint continuation function. The last time it took 24 hours to change from 99% to 100% ...

3.

3.1. When the download is complete, it looks like this:

3.2, look at the hard disk occupancy, it looks like:

3.3.

After executing the command again "./repo sync", it looks like this:

4.

Problems: Although the source code is all downloaded, it seems that there is no problem, but the night is too late (20160227 to 12 o'clock midnight), there is no hurry to copy the source code (and the virtual machine "shared folder" is not set [this need to turn off the virtual machine settings]), The 2nd day to open the virtual machine again, not to go into the GUI ...

Can't get into the graphical interface--can't load the "shared folder" of the virtual machine--can't copy the packaged source ... Vmwaretool

ZC: Think of some methods, online search Some things also did some try not to effect. Ubuntu Card (1), Ubuntu icon (4 points below), or is stuck in (2), "Checking battery state---[OK]" (that is, after the show this, the back has been stuck there) ... So by switching to TTY in the jammed place? Delete the ". Repo" folder in Android_4.4_r1 and then feel the same, or not ...

It also tried to switch the default display manager from GDM to LIGHTDM (refer to "http://www.xitongzhijia.net/xtjc/20150402/43874.html"), and seemed to see no sign-in interface.

In an article referred to the command "StartX", so try to execute the command "sudo startx" in TTY, sure enough to have a background (or no login window ...) ) and a Disk Management program (it suggests that the hard drive is not enough, it is already 0 bytes left), through which I deleted "Android_4.4_r1/.repo" to the Recycle Bin and then deleted the ". Repo" from the Recycle Bin. So again restart See Login window, but do not go in, lose the password return, the screen flashed into the login window ... Find a way to solve that in TTY? The files in the user directory will be corresponding to the Xauthority "Delete, here I am" rm/home/zzz/. Xauthority ", and then cut back to the GUI login can go in, but only the background of other instructions are not ...

4.1.

In this state, some can and cannot function: (1), VMware Tool can not be installed, (2), ctrl+alt+t can call out terminal, (3), through the terminal can be connected to the network installation of SSH (some parameters of the Web is already configured before downloading the source code); (4), USB can connect

At this point, you want to copy the packaged source files out of several scenarios:

(A), Virtual machine "shared Folder"--VMware tool cannot be installed--no

(B), U-and Windows inside Open service "VMware USB Arbitration Service"-in virtual machine settings (virtual machine (M) ==> removable device (D) ==> Mass Storage Device --Connect (disconnect from the host)--so that the U-disk inserted on the host can be used in the virtual machine--and now that's the way

(C), Windows through the "SSH Secure Shell Client" and Ubuntu connection, download from the official website of the client software is English version, if Ubuntu is the Chinese version, the client software in the middle characters will be garbled--and chose the above way, Just try this way ...

ZC: Fortunately, I remember that the user name of this virtual machine is "zzz" (the Linux virtual machine's password is unified as "123456"), it seems that the user names of each virtual machine should be recorded later (although it can be seen at the login interface.) Even if you can't see it as above, you can unzip a virtual machine to see what the user name is.

ZC: Here, I just copied out the source file, called "android_4.4_r1.tar.gz" (redundant to get a backup called "android-4.4_r1.tar.gz")

5.

Delete the hard disk usage after "Android_4.4_r1/.repo", such as:

6.

Android-4.4_r1

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.