크게 작게 인쇄

[팁/정보]Cygwin instructions for dsixda's Android Kitchen


Cygwin instructions for dsixda's Android Kitchen
-------------------------------------------------

1) Run the Cygwin setup.exe and select the defaults for the installation paths, such as:
- install from internet
- install to C:\cygwin

0008.png


2) At the 'Select Packages' screen, go to the 'Search' box to look for the following package:

* gcc4 (found under 'Devel')
  - Click on the '+' symbol at the section it's found under
  - Then find this single package (only the one with this exact name, not multiple similarly-named ones!) and click 'Skip' once so that it changes to show a version number

Go back to the Search box and repeat the above steps for the rest of the packages:

* libmpfr4 (found under 'Libs')
* perl (found under 'Interpreters')
* cpio (found under 'Utils')
* util-linux (found under 'Utils')
* ncurses (found under 'Utils')
* zip (found under 'Archive')
* unzip (found under 'Archive')
* wget (found under 'Web')


3) Press Next to proceed installing these packages.

4) When installation has been completed, click on your new Cygwin desktop shortcut. This will open a terminal session that will run some initialization.

5) With the Cygwin terminal still open, we need to configure the path to the Java application so that it can be executed within Cygwin.

In the terminal, type the command 'java' (without quotes).  If it says 'command not found', then read the below.  Otherwise, skip this section.


First, make a backup of your .bash_profile file in case you make a mistake later in this procedure.
Enter the following in the terminal:

  cp .bash_profile .bash_profile.backup



Next, find out where your java.exe file is and run the appropriate command to add it to your Cygwin path.  
For example, my java.exe is found under C:\Program Files\Java\jre7\bin, so I had to type:

  echo "PATH=/cygdrive/c/Program\ Files/Java/jre7/bin:\${PATH}" >> .bash_profile

Modify the command above so that it matches the actual path to your installed Java. 
Remember to add a "\" character before any spaces in your path, as shown above.



Type the following so that the file gets loaded (you only need to do this once):

  source .bash_profile

There should not be any errors displayed if successful.  

(Otherwise, if you made an error in the .bash_profile file, restore your backup by typing: cp .bash_profile.backup .bash_profile, and then try the procedure again)



If done correctly, then when you type 'java' it should display some help information.

6) Your Cygwin is now ready for the kitchen!


$ ./menu
===================================================================
 Android Kitchen - by dsixda (xda-developers.com)
===================================================================

Main Menu

 1. Set up working folder from ROM
 2. Add root permissions
 3. Add BusyBox
 4. Disable boot screen sounds
 5. Add wireless tethering
 6. Zipalign all *.apk files to optimize RAM usage
 7. Change wipe status of ROM
 8. Change name of ROM
 9. Check update-script for errors
10. Show working folder information

Advanced Options

 11 - Deodex files in your ROM
 12 - Add task killer tweak for speed (stock ROM only)
 13 - Add /data/app functionality
 14 - Add Nano text editor + sysro/sysrw
 15 - Add Bash (command shell)
 16 - Add Apps2SD
 17 - Add /etc/init.d scripts support (busybox run-parts)
 18 - Add custom boot animation functionality
 19 - Porting tools (experimental)
 20 - Tools for boot image (unpack/re-pack/etc.)
 21 - Unpack data.img
 22 - Sign APK or ZIP file(s)
 23 - Convert update-script or updater-script
 24 - Miscellaneous optins / Plugin scripts

99. Build ROM from working folder
00. About/Update kitchen
 0. Exit



※ 로그인 하시면 원본파일을 볼 수 있습니다. ※

0
코멘트 0
스마트폰팁 | 전체게시물 681
안내

포인트안내닫기

  • 글읽기0
  • 글쓰기100
  • 댓글쓰기50
  • 다운로드-500
스마트폰팁리스트
번호 제목 글쓴이 날짜 조회 추천
141 텍스트 새싹2단계 좆쒒넒벫퉸황 10-03 29 0
140 텍스트 새싹2단계 퍨뇹뙟캮썢뮊 10-03 31 0
139 텍스트 새싹2단계 엸릙팳뛄돛컧 10-03 25 0
138 텍스트 새싹2단계 즑징칛쒁쭃덓 10-03 27 0
137 텍스트 새싹2단계 컵쬗댜걈왐첆 10-03 29 0
136 텍스트 새싹2단계 넙훇륊궓펱븃 10-03 24 0
135 텍스트 새싹2단계 쪅벡첳돕섈선 10-03 27 0
134 텍스트 새싹2단계 꼪츝쨤턡좂묏 10-03 29 0
133 텍스트 새싹2단계 편핋맯긹뼵믛 10-03 24 0
132 텍스트 새싹2단계 뗏쟭댜폥횞헗 10-03 32 0
131 텍스트 새싹2단계 뼋숕걗퐌뜴녬 10-03 33 0
130 텍스트 새싹2단계 땜뗯젟뜨뒑푺 10-03 30 0
129 텍스트 새싹2단계 떬촚챽탼슦낧 10-03 30 0
128 텍스트 새싹2단계 닆뼳쉒쳵햺핞 10-03 29 0
127 텍스트 새싹2단계 뀾줇럚켩쁽착 10-03 36 0
126 텍스트 새싹2단계 뀘턮쪟섵쀨즰 10-02 30 0
125 텍스트 새싹2단계 겯핂훔천퉘쯀 10-02 33 0
124 텍스트 새싹2단계 랧웅퉣앋턂뱳 10-02 28 0
123 텍스트 새싹2단계 녬켨췘쫡덨췰 10-02 35 0
122 텍스트 새싹2단계 쵞퉥텧뉖벤맍 10-02 33 0