ODEX를 DEODEX로 변환
script.7z
툴 설치후 2로 추출, 4로 DEODEX 변환
DEODEX를 ODEX로 변환
framework.jar파일을 DEODEX에서 ODEX로 변환할 경우
/system/framework 폴더에 framework.jar 랑 adb툴 내부에 있는 dexopt-wrapper 를 같이 넣어준다.
권한은 jar는 644 dexopt-wrapper는 777로 넣어주고
adb쉘에서 아래처럼 실행.
-----------------------------------------------------------------------------------------------------------------
adb shell
su
cd /system/framework
chmod 777 dexopt-wrapper
./dexopt-wrapper framework.jar a.odex $BOOTCLASSPATH
busybox dd if=/system/framework/framework.odex of=a.odex bs=1 count=20 skip=52 seek=52 conv=notrunc
mv a.odex framework.odex
chmod 644 framework.*
chown root.root framework.*
reboot
-----------------------------------------------------------------------------------------------------------------------
./dexopt-wrapper framework.jar a.odex $BOOTCLASSPATH
부분에서 중간에 fail하면 먼가 잘못된것 다시 ㄱㄱㅆ
출처 : http://cafe.naver.com/hoppinlife/7531
댓글을 달아 주세요
슬픔을 나누면 반으로 되지만, 기쁨을 나누면 배가된다.
느껴져요 그대 모습이 우우 언제부터
하지만 알면서도 너의 모든 것이 욕심이나
노동은 생활의 꽃이요, 삶의 보람이요, 마음의 기쁨이다.Topics related articles:
http://sportsenter.tistory.com/3080 新建文章 4
http://wjs1004.tistory.com/310 新建文章 3
http://omme.tistory.com/archive/20120124 新建文章 9
http://hansolblog.tistory.com/notice/13 新建文章 12
내가 성공을 했다면 오직 천사와 같은 어머니의 덕이다.Topics related articles:
http://webfactory.tistory.com/?page=17 新建文章 5
http://wjs1004.tistory.com/310 新建文章 2
http://deeplife.tistory.com/28 新建文章 9
http://t-tiptoe.tistory.com/1002 新建文章 1