Won't write very long, but through this article, you must know an artifact! 7z
u need quiet (your courier) (Autumn is really the season to receive goods AH)
(After writing the discovery, good wordy ah, but recorded a problem-solving process, hoping to give crossing inspiration)
After changing a powerful computer, the whole person's spirit is different:)
To Deng ordinary teacher blog Download a source code for Android 5.1, found that downloading and decompression is a difficult thing.
The window above the decompression ah? Oh, you try to know, a lot of files are so damaged.
Including push into the phone, and then pull to the window computer.
This is the link to that resource (the important part has been excerpted, Slash)
http://my.oschina.net/innost/blog/492826
3 Android 5.1 Source download
Http://pan.baidu.com/s/1bn4fvVT
12 files, first extracted with 7zip as a file
2 contains android-5.1.tar.gz (actually bzip compression) and a external-chromium_org-third_party-angle.git
3 Copy the External-chromium_org-third_party-angle.git to the External/chromium_org-third_party/angle.
Compile the time to use the
I downloaded it like this (on the Samba server)
[Email protected]:~/workshare/android5_1$ lltotal 5824448drwxrwxrwx 2 Nobody nogroup 4096 Sep 08:49./drwxrwxrwx 3 root root 4096 Sep 26 08:24.. /-rw-rw-rw-1 Nobody nogroup 4290772992 Sep-02:53 android-5.1.tar.bzip2-no-repo.7z.001-rw-rw-rw-1 nobody nogroup 16734 42061 Sep 00:54 android-5.1.tar.bzip2-no-repo.7z.002
Ah, is the two separate documents.
I'll drink a coffee first. The usual window, that call a simple ah, winrar or good pressure to help you do (in fact, if these tools error, say that some of the files are damaged, we are not able to take out those files that are not damaged, so you see, I am a yard, not an engineer)
Installation 7z
sudo apt-get install P7zip
Method of Use,7z--help
The general understanding of the Auxiliary command, the useful is x, the command parameters are useful-r-o-t
This can be used:
#讲papapa. 7z recursive sub-folder extracted to the current directory (-O directly after the path) 7z x papapa.7z-r-o./
7z x hahaha.7z-r-o/home/merlin/sharework
A simple explanation is as follows:
X unzip to retain the original compressed file path
-R means that all subfolders are recursively owned
-O is the specified directory to extract to, here you have to note-O after the direct access directory without spaces
-T (this is the magic of it) the type of formulation (in my experiment, not specified, it is to judge, how good AH)
experiment without the-t parameter , 7z how to do? (in order not to waste everyone's time, directly on the code)
The above preparation is OK, packing and compressing a ab.tar.gz compressed file
To 7z try decompression:
You see, 7z has given this compressed file, peel a layer of skin, to take off its clothes hehe.
Did I add-t? No, it's not.
Do you want to add-t when compressing?
Before we do my work try it on compression.
Compressed Files/directories: (Back to the above to see that compression is used to command a)
Compress the file first, I still don't add-t
It looks like we need to pack and compress first.
(Nor does it use the-t parameter, so it will still be recognized automatically) (but packaging and compression to two-step, rather than directly TAR-ZCVF it)
In summary, its usage is:-T followed by type
7z a-t7z-r ab.7z/home/merlin/*-o./
7z a ab.7z *.txt-o./
The explanations are as follows:
A for adding files/folders to a compressed package
-T is the specified compression type generally we set the 7z
-R means that all subfolders are recursive (used when compressing folders)
Start extracting the big file:
[email protected]:~/workshare/android5_1$ lltotal 5824448drwxrwxrwx 2 nobody Nogroup 4096 sep 26 08:49 ./drwxrwxrwx 3 root root 4096 sep  26 08:24&NBSP, .... /-rw-rw-rw- 1 nobody nogroup 4290772992 sep 26 02:53 android-5.1.tar.bzip2-no-repo.7z.001-rw-rw-rw- 1 nobody nogroup 1673442061 sep 26 00:54 android-5.1.tar.bzip2-no-repo.7z.002[email protected]:~/workshare/android5_1$ 7z x android-5.1.tar.bzip2-no-repo.7z.001 android-5.1.tar.bzip2-no-repo.7z.002 -r -o./7 -zip [64] 9.20 copyright (c) 1999-2010 Igor Pavlov 2010-11-18p7zip version 9.20 (Locale=en_us. Utf-8,utf16=on,hugefiles=on,4 cpus) Processing archive: android-5.1.tar.bzip2-no-repo.7z.001no files to processfiles: 0size: 0compressed: 4290772992[email protected]:~/workshare/android5_1$ lltotal 5824448drwxrwxrwx 2 nobody nogroup 4096 sep 26 08:49 ./drwxrwxrwx 3 root root      4096 SEP 26 08:24&NBSP, .... /-rw-rw-rw- 1 nobody nogroup 4290772992 sep 26 02:53 android-5.1.tar.bzip2-no-repo.7z.001-rw-rw-rw- 1 nobody nogroup 1673442061 sep 26 00:54 android-5.1.tar.bzip2-no-repo.7z.002
Two documents, it seems that can not do this, in another way:
[Email protected]:~/workshare/android5_1$ $ ls *.7z | XARGS-N1 7z x-o./$: Command not Found7-zip [] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18p7zip Version 9.20 (Locale=en_us. utf-8,utf16=on,hugefiles=on,4 CPUs) error:incorrect command line
Failed, and then changed:
[Email protected]:~/workshare/android5_1$ 7z x android-5.1.tar.bzip2-no-repo.7z.00*-r-o./7-zip [+] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18p7zip Version 9.20 (Locale=en_us. utf-8,utf16=on,hugefiles=on,4 CPUs) processing archive:android-5.1.tar.bzip2-no-repo.7z.001no files to ProcessFiles: 0size:0compressed:4290772992
Oh, really embarrassing, then change:
[email protected]:~/workshare/android5_1$ 7z x android-5.1.tar.bzip2-no-repo.7z.001 && android-5.1.tar.bzip2-no-repo.7z.00 -r -o./7-Zip [64] 9.20 copyright (c) 1999-2010 igor pavlov 2010-11-18p7zip version 9.20 (Locale=en_us. Utf-8,utf16=on,hugefiles=on,4 cpus) processing archive: Android-5.1.tar.bzip2-no-repo.7z.001extracting external-chromium_org-third_ party-angle.gitextracting external-chromium_org-third_party-angle.git/configextracting External-chromium_org-third_party-angle.git/descriptionextracting external-chromium_org-third_ party-angle.git/headextracting external-chromium_org-third_party-angle.git/hooksextracting external-chromium_org-third_party-angle.git/indexextracting external-chromium_org-third_ Party-angle.git/infoextracting external-chromium_org-third_party-angle.git/logsextracting external-chromium_org-third_party-angle.git/objectsextracting External-chromium_org-third_party-angle.git/packed-refsextracting external-chromium_org-third_ party-angle.git/refsextracting external-chromium_org-third_party-angle.git/rr-cacheextracting external-chromium_org-third_party-angle.git/shallowextracting external-chromium_org-third_ Party-angle.git/svnextracting android-5.1.tar.gzeverything is okfolders: 1files: 14size: 5972827149compressed: 4290772992
The success of the,&&. (The second compressed file, refused, I suddenly found a thing, multiple compressed package, you unzip the first one just fine )
(Conjecture: Compressed file decompression also exists in the portal, multiple compressed files are related to themselves, do not need you to worry about)
There's one android-5.1.tar.gz,7z left to play again.
Do not make a crash, should be put in the BG backstage to carry out, no way to open a shell, top a look, whether still in decompression:
Did not crash ah, or in the decompression, 7z is working .... Wait patiently, have a tea cake and come back. (My server CPU frequency 2.5GHz dual core)
Hehe below, the step is similar, unpack after unpacking, the same idea:
7z x android-5.1.tar-o./
To run:
Finally finished.
Amazing!!!
Ubuntu series, has been running.
Blogging is the sacrifice of the time to go out with her sister, it is not cost-effective, which is so important.
The writing is very wordy, I hope it is helpful to crossing. OK, I'm going to play the piano. Continue doing Linux at night.
Merlin
2015/9/26 3:25 pm
I choose Ubuntu12.04, not Mac (7/12)---7z artifact!