dseo80
10.07.30
조회 수 2942
추천 수 1
댓글 0
여기서 퍼옴: http://forum.sdx-developers.com/android-2-1/creating-an-update-zip-list-of-commands/

물론 다른분들이 만든 (XDA developer나 Samdroid등) update.zip을 보고 분석하고, 사용하는 것도 좋습니다.

copy_dir
/* copy_dir []
*
* The contents of will become the contents of .
* The original contents of are preserved unless something
* in overwrote them.
*
* e.g., for "copy_dir PKG:system SYSTEM:", the file "PKG:system/a"
* would be copied to "SYSTEM:a".
*
* The specified timestamp (in decimal seconds since 1970) will be used,
* or a fixed default timestamp will be supplied otherwise.
*/


format
/* format
*/

delete and delete_recursive
/* delete [ ...]
* delete_recursive [ ...]
*
* Like "rm -f", will try to delete every named file/dir, even if
* earlier ones fail. Recursive deletes that fail halfway through
* give up early.
*/


run_program
/* run_program [ ...]
*
* Run an external program included in the update package.
*/


set_perm and set_perm_recursive
/* set_perm [... ]
* set_perm_recursive [... ]
*
* Like "chmod", "chown" and "chgrp" all in one, set ownership and permissions
* of single files or entire directory trees. Any error causes failure.
* User, group, and modes must all be integer values (hex or octal OK).
*/


show_progress
/* show_progress
*
* Use of the on-screen progress meter for the next operation,
* automatically advancing the meter over seconds (or more rapidly
* if the actual rate of progress can be determined).
*/


symlink
/* symlink
*
* Create a symlink, like "ln -s". The link path must not exist already.
* Note that is in root:path format, but is
* for the target filesystem (and may be relative).
*/

References configured for our phone:
SYSTEM:
DATA:
CACHE:
PACKAGE:
SDCARD:
Example:
to clear dalvik cache in an update.zip - add this line to the update-script file.
delete_recursive /data/dalvik-cache/
댓글 0
댓글 쓰기 권한이 없습니다.
List of Articles
제목 글쓴이 추천 조회 날짜
일상 고수님들~ 답변좀부탁드려요 3 뽕맨 539 2010.07.30
일상 아차.. 루팅및 sd패치 상태에서요... 6 훈놈 678 2010.07.30
일상 갤신 여러분 잉여에게 가르침을 주소서... 2 스마트초 575 2010.07.30
일상 루팅 후 kies를 통한 펌웨어 업데이트 2 처리 2372 2010.07.30
질문 아 미치겠네요;; 4 훈놈 554 2010.07.30
일상 갤s 미디어 스캔안되게 하는 법과 SNES에뮬 버츄얼 키보드문제 3 소라닌 1834 2010.07.30
질문 훔..질문드립니다..!! 미친kamui 1 540 2010.07.30
일상 펌엄 오류 혹시 phone롬 가지고 계신분.ㅠㅠ 2 예찬아빠 674 2010.07.30
일상 Msuper 루팅후 어플이 강종되네요... 4 메탈쭈니 715 2010.07.30
일상 갤럭시S 에서 핸드센트 이름;이름 나오고 발송 두번되는거요;; 1 뱅끄르 984 2010.07.30
일상 갤신 상단에 동기화 마크가 떠있는 이유가 뭘까요!? ㅠㅠ sirus01 2492 2010.07.30
일상 갤S 신규 펌업후 5 sky_lod 774 2010.07.30
질문 sd 패치에 대한 정의가 궁금합니다. 119키맨 654 2010.07.30
일상 루팅후 sd패치까지 했는데 순정으로 돌아갈려면 어떻게 해야 하나요? 1 아사 684 2010.07.30
일상 루팅 후 와이파이 문제 2 워잡워잡 1499 2010.07.30
롬쿠킹 [re] Optimize libdvm.so dseo80 3469 2010.07.30
일상 루팅후 펌업 가능한가요? 1 아크엔젤 613 2010.07.30
일상 리더기없이는 ext안되나요? 2 luckyekdo 586 2010.07.30
롬쿠킹 [re] 갤럭시S [M110S] 루팅하기 - 또 다른 방법 32 file Liliniser 1 27304 2010.07.30
일상 다른 기종들은 루팅이 되는데....겔럭시A는 안되는건가요?? 3 히동이 1038 2010.07.30
일상 루팅+SD패치 후 강제종료 현상 몇몇 발생이요,, 2 마샤르 1234 2010.07.30
일상 펌업 > 최근 루팅 및 SD 패치 > 티스토어 강제종료 ㅜㅜ 3 아쿠아마 2067 2010.07.30
일상 펌업하면 초기화되는거 아니었나요? 3 DA3B 790 2010.07.30
질문 마켓관련 질문좀 드리겠습니다..!! 12 훈놈 957 2010.07.30
일상 현재 내 화면 그대로 캡춰는 어떻게 하나용? 4 용팬티 629 2010.07.30
롬쿠킹 삽질기....... Raven 3253 2010.07.30
일상 /data/data의 역할 문의~ 2 용팬티 710 2010.07.30
롬쿠킹 update.zip 명령어 정리입니다. dseo80 1 2942 2010.07.30
일상 Root Explorer 사용시 system 폴더 Read Only 문제입니다. 2 롤스 1413 2010.07.30
질문 갤럭시S 새 펌웨어관련 루팅 질문입니다. 1 darkeast 1218 2010.07.30
1 - 5825 - 5850