크게 작게 인쇄

[팁/정보]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
스마트폰팁 | 전체게시물 116
안내

포인트안내닫기

  • 글읽기0
  • 글쓰기100
  • 댓글쓰기50
  • 다운로드-500
스마트폰팁리스트
번호 제목 글쓴이 날짜 조회 추천
 공지  파일첨부 슈퍼맨 웹스터디 12-21 - -
 공지  파일첨부 링크 슈퍼맨 웹스터디 12-04 - -
 공지  파일첨부 링크 슈퍼맨 웹스터디 09-21 - -
 공지  텍스트 슈퍼맨 웹스터디 04-01 - -
116 텍스트 새싹2단계 벉죲료닟볬웠 09-12 37 0
115 텍스트 새싹2단계 쇓띀볶등꾓멖 09-12 36 0
114 텍스트 새싹2단계 넩켷퀘킉뉱킀 09-12 37 0
113 텍스트 새싹2단계 붭쀣예럒킬똋 09-12 39 0
112 텍스트 새싹2단계 텘드훉낅쮼뷦 09-11 39 0
111 텍스트 새싹2단계 뛊랴쵂콣댱뿃 09-11 38 0
110 텍스트 새싹2단계 뙑슯얘늊턳뺔 09-11 38 0
109 텍스트 새싹2단계 춇덁쐯앶호뵈 09-11 37 0
108 텍스트 새싹2단계 뚋벘뗓퉟뒋푒 09-11 39 0
107 텍스트 새싹2단계 댽븼둗퉁뵴쌔 09-11 34 0
106 텍스트 새싹2단계 훇찥줛붻퀧삸 09-11 32 0
105 텍스트 새싹2단계 흏펄푷툨쑖띩 09-11 32 0
104 텍스트 새싹2단계 뛲솲예뭢볈끷 09-11 29 0
103 텍스트 새싹2단계 삪쟕꼌쑐꿦추 09-11 32 0
102 텍스트 새싹2단계 럃툷쥸샓톢쿰 09-11 35 0
101 텍스트 새싹2단계 닉네임받겠습 09-11 37 0
100 파일첨부 링크 슈퍼맨 웹스터디 07-24 4348 1
99 파일첨부 +3 링크 슈퍼맨 웹스터디 01-21 4821 0
98 텍스트 +1 링크 슈퍼맨 웹스터디 01-20 5231 0
97 텍스트 +1 링크 슈퍼맨 웹스터디 01-20 5009 0